public class CmsSitemapData extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
CmsSitemapData.EditorMode
The sitemap editor modes.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DICT_NAME
Name of the used js variable.
|
| Constructor and Description |
|---|
CmsSitemapData()
Constructor.
|
CmsSitemapData(java.util.Map<java.lang.String,CmsClientTemplateBean> templates,
java.util.Map<java.lang.String,CmsXmlContentProperty> properties,
CmsSitemapClipboardData clipboardData,
java.util.List<CmsContextMenuEntryBean> contextMenuEntries,
java.util.Map<java.lang.String,CmsClientProperty> parentProperties,
java.util.List<java.lang.String> allPropNames,
java.lang.String exportRfsPrefix,
boolean isSecure,
java.lang.String noEditReason,
boolean displayToolbar,
CmsNewResourceInfo defaultNewElementInfo,
java.util.List<CmsNewResourceInfo> newElementInfos,
CmsNewResourceInfo newRedirectElementInfo,
CmsNewResourceInfo newNavigationLevelElementInfo,
CmsSitemapInfo sitemapInfo,
java.lang.String parentSitemap,
CmsClientSitemapEntry root,
java.lang.String openPath,
int maxDepth,
CmsDetailPageTable detailPageTable,
java.util.List<CmsNewResourceInfo> resourceTypeInfos,
java.lang.String returnCode,
boolean canEditDetailPages,
java.lang.String aliasImportUrl,
boolean canEditAliases,
boolean createNewFoldersForSubsitemaps,
boolean galleryManager,
boolean categoryManager,
java.util.List<CmsListInfoBean> subsitemapTypeInfos,
CmsSitemapData.EditorMode editorMode,
java.lang.String defaultGalleryFolder,
boolean showModelEditConfirm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEditAliases()
Checks whether the current user can edit the aliases.
|
boolean |
canEditDetailPages()
Returns true if the detail pages can be edited.
|
java.lang.String |
getAliasImportUrl()
Gets the URL of the JSP used to import aliases.
|
java.util.List<java.lang.String> |
getAllPropertyNames()
Returns the names of all properties.
|
CmsSitemapClipboardData |
getClipboardData()
Returns the clipboard data.
|
java.util.List<CmsContextMenuEntryBean> |
getContextMenuEntries()
Returns the sitemap context menu entries.
|
java.lang.String |
getDefaultGalleryFolder()
Returns the default gallery parent folder.
|
CmsNewResourceInfo |
getDefaultNewElementInfo()
Returns the type of the container page resource.
|
CmsDetailPageTable |
getDetailPageTable()
Gets the detail page table.
|
CmsSitemapData.EditorMode |
getEditorMode()
Returns the editor mode.
|
java.lang.String |
getExportRfsPrefix()
Returns the export RFS prefix.
|
int |
getMaxDepth()
Returns the maximum sitemap depth.
|
java.util.List<CmsNewResourceInfo> |
getNewElementInfos()
Returns the new element information.
|
CmsNewResourceInfo |
getNewNavigationLevelElementInfo()
Returns the new navigation level element info.
|
CmsNewResourceInfo |
getNewRedirectElementInfo()
Returns the new redirect element info.
|
CmsNewResourceInfo |
getNewResourceInfoById(CmsUUID id)
Gets the new resource info with a given structure id.
|
java.lang.String |
getNoEditReason()
Returns the reason why the current sitemap is not editable.
|
java.lang.String |
getOpenPath()
Gets the path at which the sitemap should be opened (may be null).
|
java.util.Map<java.lang.String,CmsClientProperty> |
getParentProperties()
Returns the properties of the sitemap root's parent.
|
java.lang.String |
getParentSitemap()
Returns the path to the parent sitemap or
null. |
java.util.Map<java.lang.String,CmsXmlContentProperty> |
getProperties()
Returns the properties.
|
java.util.List<CmsNewResourceInfo> |
getResourceTypeInfos()
Gets the resource type info beans for the detail pages.
|
java.lang.String |
getReturnCode()
Returns the return page code.
|
CmsClientSitemapEntry |
getRoot()
Returns the sitemap root.
|
CmsSitemapInfo |
getSitemapInfo()
Returns the sitemap info.
|
CmsUUID |
getSiteRootId()
Gets the structure id of the site root.
|
java.util.List<CmsListInfoBean> |
getSubsitemapFolderTypeInfos()
Returns the list info beans for the available sitemap folder types.
|
java.util.Map<java.lang.String,CmsClientTemplateBean> |
getTemplates()
Returns the available templates.
|
boolean |
isCategoryManager()
Returns if the current user has the category manager role.
|
boolean |
isCreateNewFoldersForSubsitemaps()
Returns true if new folders should be created for subsitemaps.
|
boolean |
isDisplayToolbar()
Checks if to display the toolbar.
|
boolean |
isGalleryManager()
Returns if the current user has the gallery manager role.
|
boolean |
isLocaleComparisonEnabled()
Returns true if the locale compare mode is enabled.
|
boolean |
isSecure()
Returns true if there is a secure server configured for the site which contains the sitemap.
|
boolean |
isShowModelEditConfirm()
Returns the show model edit confirm dialog flag.
|
void |
setLocaleComparisonEnabled(boolean enabled)
Sets the 'locale comparison mode enabled' flag.
|
void |
setNewElementInfos(java.util.List<CmsNewResourceInfo> newElementInfos)
Sets the new element infos.
|
void |
setReturnCode(java.lang.String returnCode)
Sets the return page code.
|
void |
setSiteRootId(CmsUUID id)
Sets the site root structure id .
|
public static final java.lang.String DICT_NAME
public CmsSitemapData()
public CmsSitemapData(java.util.Map<java.lang.String,CmsClientTemplateBean> templates, java.util.Map<java.lang.String,CmsXmlContentProperty> properties, CmsSitemapClipboardData clipboardData, java.util.List<CmsContextMenuEntryBean> contextMenuEntries, java.util.Map<java.lang.String,CmsClientProperty> parentProperties, java.util.List<java.lang.String> allPropNames, java.lang.String exportRfsPrefix, boolean isSecure, java.lang.String noEditReason, boolean displayToolbar, CmsNewResourceInfo defaultNewElementInfo, java.util.List<CmsNewResourceInfo> newElementInfos, CmsNewResourceInfo newRedirectElementInfo, CmsNewResourceInfo newNavigationLevelElementInfo, CmsSitemapInfo sitemapInfo, java.lang.String parentSitemap, CmsClientSitemapEntry root, java.lang.String openPath, int maxDepth, CmsDetailPageTable detailPageTable, java.util.List<CmsNewResourceInfo> resourceTypeInfos, java.lang.String returnCode, boolean canEditDetailPages, java.lang.String aliasImportUrl, boolean canEditAliases, boolean createNewFoldersForSubsitemaps, boolean galleryManager, boolean categoryManager, java.util.List<CmsListInfoBean> subsitemapTypeInfos, CmsSitemapData.EditorMode editorMode, java.lang.String defaultGalleryFolder, boolean showModelEditConfirm)
templates - the available templatesproperties - the propertiesclipboardData - the clipboard datacontextMenuEntries - the sitemap context menu entriesparentProperties - the root entry's parent's inherited propertiesallPropNames - the names of all propertiesexportRfsPrefix - the export RFS prefixisSecure - true if there is a secure server configuration for the site which contains the sitemapnoEditReason - the reason why the current sitemap is not editabledisplayToolbar - the flag to control the display of the toolbardefaultNewElementInfo - the type of the container page resourcenewElementInfos - the new element informationnewRedirectElementInfo - the new redirect element infonewNavigationLevelElementInfo - the new navigation level element infositemapInfo - the sitemap info beanparentSitemap - the path to the parent sitemap or nullroot - the sitemap rootopenPath - the path at which the sitemap should be openedmaxDepth - the maximum sitemap depthdetailPageTable - the detail page tableresourceTypeInfos - the resource type information for the detail pagesreturnCode - return page codecanEditDetailPages - flag to indicate whether detail pages can be editedaliasImportUrl - the URL of the JSP used to import aliasescanEditAliases - flag to indicate whether the current user can edit the alias tablecreateNewFoldersForSubsitemaps - flag to control whether new folders should be created for subsitemapsgalleryManager - true if the user is a gallery managercategoryManager - true if the user is a category managersubsitemapTypeInfos - the type information beans for the available subsitemap folder typeseditorMode - the editor modedefaultGalleryFolder - default gallery parent foldershowModelEditConfirm - the show model edit confirm dialog flagpublic boolean canEditAliases()
public boolean canEditDetailPages()
public java.lang.String getAliasImportUrl()
public java.util.List<java.lang.String> getAllPropertyNames()
public CmsSitemapClipboardData getClipboardData()
public java.util.List<CmsContextMenuEntryBean> getContextMenuEntries()
public java.lang.String getDefaultGalleryFolder()
public CmsNewResourceInfo getDefaultNewElementInfo()
public CmsDetailPageTable getDetailPageTable()
public CmsSitemapData.EditorMode getEditorMode()
public java.lang.String getExportRfsPrefix()
public int getMaxDepth()
public java.util.List<CmsNewResourceInfo> getNewElementInfos()
public CmsNewResourceInfo getNewNavigationLevelElementInfo()
public CmsNewResourceInfo getNewRedirectElementInfo()
public CmsNewResourceInfo getNewResourceInfoById(CmsUUID id)
id - the structure idpublic java.lang.String getNoEditReason()
public java.lang.String getOpenPath()
public java.util.Map<java.lang.String,CmsClientProperty> getParentProperties()
public java.lang.String getParentSitemap()
null.nullpublic java.util.Map<java.lang.String,CmsXmlContentProperty> getProperties()
public java.util.List<CmsNewResourceInfo> getResourceTypeInfos()
public java.lang.String getReturnCode()
public CmsClientSitemapEntry getRoot()
public CmsSitemapInfo getSitemapInfo()
public CmsUUID getSiteRootId()
public java.util.List<CmsListInfoBean> getSubsitemapFolderTypeInfos()
public java.util.Map<java.lang.String,CmsClientTemplateBean> getTemplates()
public boolean isCategoryManager()
public boolean isCreateNewFoldersForSubsitemaps()
public boolean isDisplayToolbar()
true if to display the toolbarpublic boolean isGalleryManager()
public boolean isLocaleComparisonEnabled()
public boolean isSecure()
public boolean isShowModelEditConfirm()
public void setLocaleComparisonEnabled(boolean enabled)
enabled - the new flag valuepublic void setNewElementInfos(java.util.List<CmsNewResourceInfo> newElementInfos)
newElementInfos - the new element infospublic void setReturnCode(java.lang.String returnCode)
returnCode - the return page code to setpublic void setSiteRootId(CmsUUID id)
id - the site root id