org.opencms.ade.sitemap.shared
Class CmsSitemapData

java.lang.Object
  extended by org.opencms.ade.sitemap.shared.CmsSitemapData
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsSitemapData
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

Sitemap initialization data bean for prefetching.

Since:
8.0

Field Summary
static java.lang.String DICT_NAME
          Name of the used js variable.
 
Constructor Summary
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, java.util.List<CmsListInfoBean> subsitemapTypeInfos)
          Constructor.
 
Method Summary
 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.
 CmsNewResourceInfo getDefaultNewElementInfo()
          Returns the type of the container page resource.
 CmsDetailPageTable getDetailPageTable()
          Gets the detail page table.
 java.lang.String getExportName()
          Returns the export name from the sitemap configuration.
 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.
 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.
 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 isCreateNewFoldersForSubsitemaps()
          Returns true if new folders should be created for subsitemaps.
 boolean isDisplayToolbar()
          Checks if to display the toolbar.
 boolean isSecure()
          Returns true if there is a secure server configured for the site which contains the sitemap.
 void setReturnCode(java.lang.String returnCode)
          Sets the return page code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DICT_NAME

public static final java.lang.String DICT_NAME
Name of the used js variable.

See Also:
Constant Field Values
Constructor Detail

CmsSitemapData

public CmsSitemapData()
Constructor.


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,
                      java.util.List<CmsListInfoBean> subsitemapTypeInfos)
Constructor.

Parameters:
templates - the available templates
properties - the properties
clipboardData - the clipboard data
contextMenuEntries - the sitemap context menu entries
parentProperties - the root entry's parent's inherited properties
allPropNames - the names of all properties
exportRfsPrefix - the export RFS prefix
isSecure - true if there is a secure server configuration for the site which contains the sitemap
noEditReason - the reason why the current sitemap is not editable
displayToolbar - the flag to control the display of the toolbar
defaultNewElementInfo - the type of the container page resource
newElementInfos - the new element information
newRedirectElementInfo - the new redirect element info
newNavigationLevelElementInfo - the new navigation level element info
sitemapInfo - the sitemap info bean
parentSitemap - the path to the parent sitemap or null
root - the sitemap root
openPath - the path at which the sitemap should be opened
maxDepth - the maximum sitemap depth
detailPageTable - the detail page table
resourceTypeInfos - the resource type information for the detail pages
returnCode - return page code
canEditDetailPages - flag to indicate whether detail pages can be edited <<<<<<< OURS
aliasImportUrl - the URL of the JSP used to import aliases
canEditAliases - flag to indicate whether the current user can edit the alias table =======
createNewFoldersForSubsitemaps - flag to control whether new folders should be created for subsitemaps
subsitemapTypeInfos - the type information beans for the available subsitemap folder types >>>>>>> THEIRS
Method Detail

canEditAliases

public boolean canEditAliases()
Checks whether the current user can edit the aliases.

Returns:
true if the current user can edit the aliases

canEditDetailPages

public boolean canEditDetailPages()
Returns true if the detail pages can be edited.

Returns:
true if the detail pages can be edited

getAliasImportUrl

public java.lang.String getAliasImportUrl()
Gets the URL of the JSP used to import aliases.

Returns:
the alias import URL

getAllPropertyNames

public java.util.List<java.lang.String> getAllPropertyNames()
Returns the names of all properties.

Returns:
the names of all properties

getClipboardData

public CmsSitemapClipboardData getClipboardData()
Returns the clipboard data.

Returns:
the clipboard data

getContextMenuEntries

public java.util.List<CmsContextMenuEntryBean> getContextMenuEntries()
Returns the sitemap context menu entries.

Returns:
the sitemap context menu entries

getDefaultNewElementInfo

public CmsNewResourceInfo getDefaultNewElementInfo()
Returns the type of the container page resource.

Returns:
the type of the container page resource

getDetailPageTable

public CmsDetailPageTable getDetailPageTable()
Gets the detail page table.

Returns:
the detail page table

getExportName

public java.lang.String getExportName()
Returns the export name from the sitemap configuration.

Returns:
the export name

getExportRfsPrefix

public java.lang.String getExportRfsPrefix()
Returns the export RFS prefix.

Returns:
the export RFS prefix

getMaxDepth

public int getMaxDepth()
Returns the maximum sitemap depth.

Returns:
the maximum sitemap depth

getNewElementInfos

public java.util.List<CmsNewResourceInfo> getNewElementInfos()
Returns the new element information.

Returns:
the new element information

getNewNavigationLevelElementInfo

public CmsNewResourceInfo getNewNavigationLevelElementInfo()
Returns the new navigation level element info.

Returns:
the new navigation level element info

getNewRedirectElementInfo

public CmsNewResourceInfo getNewRedirectElementInfo()
Returns the new redirect element info.

Returns:
the new redirect element info

getNoEditReason

public java.lang.String getNoEditReason()
Returns the reason why the current sitemap is not editable.

Returns:
the reason why the current sitemap is not editable

getOpenPath

public java.lang.String getOpenPath()
Gets the path at which the sitemap should be opened (may be null).

Returns:
the path at which the sitemap should be opened

getParentProperties

public java.util.Map<java.lang.String,CmsClientProperty> getParentProperties()
Returns the properties of the sitemap root's parent.

Returns:
the properties of the sitemap root'S parent

getParentSitemap

public java.lang.String getParentSitemap()
Returns the path to the parent sitemap or null.

Returns:
the path to the parent sitemap or null

getProperties

public java.util.Map<java.lang.String,CmsXmlContentProperty> getProperties()
Returns the properties.

Returns:
the properties

getResourceTypeInfos

public java.util.List<CmsNewResourceInfo> getResourceTypeInfos()
Gets the resource type info beans for the detail pages.

Returns:
the resource type info beans for the detail pages

getReturnCode

public java.lang.String getReturnCode()
Returns the return page code.

Returns:
the return page code

getRoot

public CmsClientSitemapEntry getRoot()
Returns the sitemap root.

Returns:
the sitemap root

getSitemapInfo

public CmsSitemapInfo getSitemapInfo()
Returns the sitemap info.

Returns:
the sitemap info

getSubsitemapFolderTypeInfos

public java.util.List<CmsListInfoBean> getSubsitemapFolderTypeInfos()
Returns the list info beans for the available sitemap folder types.

Returns:
the list info beans for the available sitemap folder types

getTemplates

public java.util.Map<java.lang.String,CmsClientTemplateBean> getTemplates()
Returns the available templates.

Returns:
the available templates

isCreateNewFoldersForSubsitemaps

public boolean isCreateNewFoldersForSubsitemaps()
Returns true if new folders should be created for subsitemaps.

Returns:
true if new folders should be created for subsitemaps

isDisplayToolbar

public boolean isDisplayToolbar()
Checks if to display the toolbar.

Returns:
true if to display the toolbar

isSecure

public boolean isSecure()
Returns 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

setReturnCode

public void setReturnCode(java.lang.String returnCode)
Sets the return page code.

Parameters:
returnCode - the return page code to set