public class CmsCoreData
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
限定符和类型 | 类和说明 |
---|---|
static class |
CmsCoreData.AdeContext
A enumeration for the ADE context.
|
static class |
CmsCoreData.UserInfo
Bean class containing info about the current user.
|
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DICT_NAME
Name of the used js variable.
|
static java.lang.String |
KEY_GWT_BUILDID
The key for the GWT build id property.
|
protected long |
m_serverTime
The time sent from the server when loading the data.
|
protected CmsCoreData.UserInfo |
m_userInfo
A bean with information about the current user.
|
static java.lang.String |
PARAM_PATH
The parameter name for path.
|
static java.lang.String |
PARAM_RETURNCODE
The parameter name for the return code.
|
构造器和说明 |
---|
CmsCoreData()
Constructor.
|
CmsCoreData(CmsCoreData clone)
Clone constructor.
|
CmsCoreData(java.lang.String contentEditorUrl,
java.lang.String contentEditorBacklinkUrl,
java.lang.String contentEditorDeleteLinkUrl,
java.lang.String loginUrl,
java.lang.String vfsPrefix,
java.lang.String siteRoot,
java.lang.String locale,
java.lang.String wpLocale,
java.lang.String uri,
java.lang.String navigationUri,
CmsUUID structureId,
java.util.Map<java.lang.String,java.lang.String> extensionMapping,
long serverTime,
boolean isShowEditorHelp,
boolean toolbarVisible,
java.lang.String defaultWorkplaceLink,
CmsCoreData.UserInfo userInfo,
long uploadFileSizeLimit,
boolean isKeepAlive,
java.util.Map<java.lang.String,java.lang.String> adeParameters)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAdeParameters()
Gets the map of ADE configuration parameters.
|
java.lang.String |
getContentEditorBacklinkUrl()
Returns the XML content editor back-link URL.
|
java.lang.String |
getContentEditorDeleteLinkUrl()
Returns the XML content editor delete-link URL.
|
java.lang.String |
getContentEditorUrl()
Returns the XML content editor URL.
|
java.lang.String |
getDefaultWorkplaceLink()
Gets the default link to use for opening the workplace.
|
java.util.Map<java.lang.String,java.lang.String> |
getExtensionMapping()
Returns the extensionMapping.
|
java.lang.String |
getLocale()
Returns the current request locale.
|
java.lang.String |
getLoginURL()
Returns the login URL.
|
java.lang.String |
getNavigationUri()
Returns the current navigation (sitemap) URI.
|
long |
getServerTime()
Returns the time of the server when the data was loaded.
|
java.lang.String |
getSiteRoot()
Returns the current site root.
|
CmsUUID |
getStructureId()
Gets the structure id of the current resource.
|
long |
getUploadFileSizeLimit()
Returns the file upload size limit.
|
java.lang.String |
getUri()
Returns the current uri.
|
CmsCoreData.UserInfo |
getUserInfo()
Gets the information about the current user.
|
java.lang.String |
getVfsPrefix()
Returns the OpenCms VFS prefix.
|
java.lang.String |
getWpLocale()
Returns the current workplace locale.
|
boolean |
isKeepAlive()
Returns true if the session should be kept alive even without user actions.
|
boolean |
isShowEditorHelp()
Returns the show editor help flag.
|
boolean |
isToolbarVisible()
Returns true if the toolbar should be visible initially.
|
public static final java.lang.String DICT_NAME
public static final java.lang.String KEY_GWT_BUILDID
public static final java.lang.String PARAM_PATH
public static final java.lang.String PARAM_RETURNCODE
protected long m_serverTime
protected CmsCoreData.UserInfo m_userInfo
public CmsCoreData()
public CmsCoreData(CmsCoreData clone)
clone
- the instance to clonepublic CmsCoreData(java.lang.String contentEditorUrl, java.lang.String contentEditorBacklinkUrl, java.lang.String contentEditorDeleteLinkUrl, java.lang.String loginUrl, java.lang.String vfsPrefix, java.lang.String siteRoot, java.lang.String locale, java.lang.String wpLocale, java.lang.String uri, java.lang.String navigationUri, CmsUUID structureId, java.util.Map<java.lang.String,java.lang.String> extensionMapping, long serverTime, boolean isShowEditorHelp, boolean toolbarVisible, java.lang.String defaultWorkplaceLink, CmsCoreData.UserInfo userInfo, long uploadFileSizeLimit, boolean isKeepAlive, java.util.Map<java.lang.String,java.lang.String> adeParameters)
contentEditorUrl
- the XML content editor URLcontentEditorBacklinkUrl
- the XML content editor back-link URLcontentEditorDeleteLinkUrl
- the XML content editor delete-link URLloginUrl
- the login JSP URLvfsPrefix
- the OpenCms VFS prefixsiteRoot
- the current site rootlocale
- the current request localewpLocale
- the workplace localeuri
- the current uristructureId
- the structure id of tbe resourcenavigationUri
- the current navigation URIextensionMapping
- the mappings of file extensions to resource typesserverTime
- the current timeisShowEditorHelp
- the show editor help flagtoolbarVisible
- a flag to indicate whether the toolbar should be visible initiallydefaultWorkplaceLink
- the default link to use for opening the workplaceuserInfo
- information about the current useruploadFileSizeLimit
- the file upload size limitisKeepAlive
- the keep-alive modeadeParameters
- the map of ADE configuration parameterspublic java.util.Map<java.lang.String,java.lang.String> getAdeParameters()
public java.lang.String getContentEditorBacklinkUrl()
public java.lang.String getContentEditorDeleteLinkUrl()
public java.lang.String getContentEditorUrl()
public java.lang.String getDefaultWorkplaceLink()
public java.util.Map<java.lang.String,java.lang.String> getExtensionMapping()
public java.lang.String getLocale()
public java.lang.String getLoginURL()
public java.lang.String getNavigationUri()
public long getServerTime()
public java.lang.String getSiteRoot()
public CmsUUID getStructureId()
public long getUploadFileSizeLimit()
public java.lang.String getUri()
public CmsCoreData.UserInfo getUserInfo()
public java.lang.String getVfsPrefix()
public java.lang.String getWpLocale()
public boolean isKeepAlive()
public boolean isShowEditorHelp()
public boolean isToolbarVisible()