Package org.opencms.ade.sitemap.shared
Class CmsSitemapData
java.lang.Object
org.opencms.ade.sitemap.shared.CmsSitemapData
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
Sitemap initialization data bean for prefetching.
- Since:
- 8.0
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor.CmsSitemapData(Map<String, CmsClientTemplateBean> templates, Map<String, CmsXmlContentProperty> properties, CmsSitemapClipboardData clipboardData, List<CmsContextMenuEntryBean> contextMenuEntries, Map<String, CmsClientProperty> parentProperties, List<String> allPropNames, String exportRfsPrefix, boolean isSecure, String noEditReason, boolean displayToolbar, CmsNewResourceInfo defaultNewElementInfo, List<CmsNewResourceInfo> newElementInfos, CmsNewResourceInfo newRedirectElementInfo, CmsNewResourceInfo newNavigationLevelElementInfo, CmsSitemapInfo sitemapInfo, String parentSitemap, CmsClientSitemapEntry root, String openPath, int maxDepth, CmsDetailPageTable detailPageTable, List<CmsNewResourceInfo> resourceTypeInfos, String returnCode, boolean canEditDetailPages, String aliasImportUrl, boolean canEditAliases, boolean createNewFoldersForSubsitemaps, boolean galleryManager, boolean categoryManager, List<CmsListInfoBean> subsitemapTypeInfos, CmsSitemapData.EditorMode editorMode, String defaultGalleryFolder, boolean showModelEditConfirm) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanChecks whether the current user can edit the aliases.booleanReturns true if the detail pages can be edited.Gets the URL of the JSP used to import aliases.Returns the names of all properties.Returns the clipboard data.Returns the sitemap context menu entries.Returns the default gallery parent folder.Returns the type of the container page resource.Gets the detail page table.Returns the editor mode.Returns the export RFS prefix.intReturns the maximum sitemap depth.Returns the new element information.Returns the new navigation level element info.Returns the new redirect element info.Gets the new resource info with a given structure id.Returns the reason why the current sitemap is not editable.Gets the path at which the sitemap should be opened (may be null).Returns the properties of the sitemap root's parent.Returns the path to the parent sitemap ornull.Returns the properties.Gets the resource type info beans for the detail pages.Returns the return page code.getRoot()Returns the sitemap root.Returns the sitemap info.Gets the structure id of the site root.Returns the list info beans for the available sitemap folder types.Returns the available templates.booleanChecks if creation of nested galleries is allowed.booleanReturns if the current user has the category manager role.booleanReturns true if new folders should be created for subsitemaps.booleanChecks if to display the toolbar.booleanReturns if the current user has the gallery manager role.booleanReturns true if the locale compare mode is enabled.booleanisSecure()Returns true if there is a secure server configured for the site which contains the sitemap.booleanReturns the show model edit confirm dialog flag.voidsetAllowCreateNestedGalleries(boolean allowCreateNestedGalleries) Enable or disable option for creating nested galleries.voidsetLocaleComparisonEnabled(boolean enabled) Sets the 'locale comparison mode enabled' flag.voidsetNewElementInfos(List<CmsNewResourceInfo> newElementInfos) Sets the new element infos.voidsetReturnCode(String returnCode) Sets the return page code.voidsetSiteRootId(CmsUUID id) Sets the site root structure id .
- 
Field Details- 
DICT_NAMEName of the used js variable.- See Also:
 
 
- 
- 
Constructor Details- 
CmsSitemapDatapublic CmsSitemapData()Constructor.
 
- 
- 
Method Details- 
canEditAliasesChecks whether the current user can edit the aliases.- Returns:
- true if the current user can edit the aliases
 
- 
canEditDetailPagesReturns true if the detail pages can be edited.- Returns:
- true if the detail pages can be edited
 
- 
getAliasImportUrlGets the URL of the JSP used to import aliases.- Returns:
- the alias import URL
 
- 
getAllPropertyNamesReturns the names of all properties.- Returns:
- the names of all properties
 
- 
getClipboardDataReturns the clipboard data.- Returns:
- the clipboard data
 
- 
getContextMenuEntriesReturns the sitemap context menu entries.- Returns:
- the sitemap context menu entries
 
- 
getDefaultGalleryFolderReturns the default gallery parent folder.- Returns:
- the default gallery parent folder
 
- 
getDefaultNewElementInfoReturns the type of the container page resource.- Returns:
- the type of the container page resource
 
- 
getDetailPageTableGets the detail page table.- Returns:
- the detail page table
 
- 
getEditorModeReturns the editor mode.- Returns:
- the editor mode
 
- 
getExportRfsPrefixReturns the export RFS prefix.- Returns:
- the export RFS prefix
 
- 
getMaxDepthReturns the maximum sitemap depth.- Returns:
- the maximum sitemap depth
 
- 
getNewElementInfosReturns the new element information.- Returns:
- the new element information
 
- 
getNewRedirectElementInfoReturns the new redirect element info.- Returns:
- the new redirect element info
 
- 
getNewResourceInfoByIdGets the new resource info with a given structure id.- Parameters:
- id- the structure id
- Returns:
- the new resource info with the given id
 
- 
getNoEditReasonReturns the reason why the current sitemap is not editable.- Returns:
- the reason why the current sitemap is not editable
 
- 
getOpenPathGets the path at which the sitemap should be opened (may be null).- Returns:
- the path at which the sitemap should be opened
 
- 
getParentPropertiesReturns the properties of the sitemap root's parent.- Returns:
- the properties of the sitemap root'S parent
 
- 
getParentSitemapReturns the path to the parent sitemap ornull.- Returns:
- the path to the parent sitemap or null
 
- 
getPropertiesReturns the properties.- Returns:
- the properties
 
- 
getResourceTypeInfosGets the resource type info beans for the detail pages.- Returns:
- the resource type info beans for the detail pages
 
- 
getReturnCodeReturns the return page code.- Returns:
- the return page code
 
- 
getRootReturns the sitemap root.- Returns:
- the sitemap root
 
- 
getSitemapInfoReturns the sitemap info.- Returns:
- the sitemap info
 
- 
getSiteRootIdGets the structure id of the site root.- Returns:
- the structure id of the site root
 
- 
getSubsitemapFolderTypeInfosReturns the list info beans for the available sitemap folder types.- Returns:
- the list info beans for the available sitemap folder types
 
- 
getTemplatesReturns the available templates.- Returns:
- the available templates
 
- 
isAllowCreateNestedGalleriesChecks if creation of nested galleries is allowed.- Returns:
- true if creation of nested galleries is allowed
 
- 
isCategoryManagerReturns if the current user has the category manager role.- Returns:
- if the current user has the category manager role
 
- 
isCreateNewFoldersForSubsitemapsReturns true if new folders should be created for subsitemaps.- Returns:
- true if new folders should be created for subsitemaps
 
- 
isDisplayToolbarChecks if to display the toolbar.- Returns:
- trueif to display the toolbar
 
- 
isGalleryManagerReturns if the current user has the gallery manager role.- Returns:
- if the current user has the gallery manager role
 
- 
isLocaleComparisonEnabledReturns true if the locale compare mode is enabled.- Returns:
- true if the locale compare mode is enabled
 
- 
isSecureReturns true if there is a secure server configured for the site which contains the sitemap.- Returns:
- true if there is a secure server configured for the site which contains the sitemap
 
- 
isShowModelEditConfirmReturns the show model edit confirm dialog flag.- Returns:
- the show model edit confirm dialog flag
 
- 
setAllowCreateNestedGalleriesEnable or disable option for creating nested galleries.- Parameters:
- allowCreateNestedGalleries- true if nested galleries are allowed
 
- 
setLocaleComparisonEnabledSets the 'locale comparison mode enabled' flag.- Parameters:
- enabled- the new flag value
 
- 
setNewElementInfosSets the new element infos.- Parameters:
- newElementInfos- the new element infos
 
- 
setReturnCodeSets the return page code.- Parameters:
- returnCode- the return page code to set
 
- 
setSiteRootIdSets the site root structure id .- Parameters:
- id- the site root id
 
 
-