org.opencms.ade.containerpage.shared
Class CmsContainerElementData

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

public class CmsContainerElementData
extends CmsContainerElement

Bean holding all element information including it's formatted contents.

Since:
8.0.0

Field Summary
 
Fields inherited from class org.opencms.ade.containerpage.shared.CmsContainerElement
CLASS_CONTAINER_ELEMENT_END_MARKER, CLASS_CONTAINER_ELEMENT_START_MARKER, CLASS_ELEMENT_ERROR, CLASS_GROUP_CONTAINER_ELEMENT_MARKER, GROUP_CONTAINER_TYPE_NAME, INHERIT_CONTAINER_TYPE_NAME
 
Constructor Summary
CmsContainerElementData()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getContents()
          Returns the contents.
 java.util.Set<java.lang.String> getCssResources()
          Returns the required css resources.
 java.lang.String getDescription()
          Returns the description.
 java.util.List<CmsAdditionalInfoBean> getFormatedIndividualSettings()
          Returns the individual element settings formated with nice-names to be used as additional-info.
 java.util.List<CmsInheritanceInfo> getInheritanceInfos()
          Returns the inheritance infos off all sub-items.
 java.lang.String getInheritanceName()
          Returns the inheritance name.
 java.lang.String getLastModifiedByUser()
          Returns the last modifying user.
 long getLastModifiedDate()
          Returns the last modification date.
 java.lang.String getNavText()
          Returns the navText.
 java.util.Map<java.lang.String,CmsXmlContentProperty> getSettingConfig()
          Gets the setting configuration for this container element.
 java.util.Map<java.lang.String,java.lang.String> getSettings()
          Returns the settings for this container element.
 java.util.List<java.lang.String> getSubItems()
          Returns the sub-items.
 java.lang.String getTitle()
          Returns the title.
 java.util.Set<java.lang.String> getTypes()
          Returns the supported container types.
 boolean hasSettings()
          Returns if the element may have settings.
 void setContents(java.util.Map<java.lang.String,java.lang.String> contents)
          Sets the contents.
 void setCssResources(java.util.Set<java.lang.String> cssResources)
          Sets the required css resources.
 void setDescription(java.lang.String description)
          Sets the description.
 void setInheritanceInfos(java.util.List<CmsInheritanceInfo> inheritanceInfos)
          Sets the inheritance infos.
 void setInheritanceName(java.lang.String inheritanceName)
          Sets the inheritance name.
 void setLastModifiedByUser(java.lang.String lastModifiedByUser)
          Sets the modifying userdByUser.
 void setLastModifiedDate(long lastModifiedDate)
          Sets the last modification date.
 void setNavText(java.lang.String navText)
          Sets the navText.
 void setSettingConfig(java.util.Map<java.lang.String,CmsXmlContentProperty> settingConfig)
          Sets the setting configuration of this container element.
 void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
          Sets the settings for this container element.
 void setSubItems(java.util.List<java.lang.String> subItems)
          Sets the sub-items.
 void setTitle(java.lang.String title)
          Sets the title.
 void setTypes(java.util.Set<java.lang.String> types)
          Sets the supported container types.
 java.lang.String toString()
           
 
Methods inherited from class org.opencms.ade.containerpage.shared.CmsContainerElement
getClientId, getInheritanceInfo, getNoEditReason, getResourceType, getSitePath, hasViewPermission, hasWritePermission, isGroupContainer, isInheritContainer, isNew, isNewEditorDisabled, isReleasedAndNotExpired, setClientId, setHasSettings, setInheritanceInfo, setNew, setNewEditorDisabled, setNoEditReason, setReleasedAndNotExpired, setResourceType, setSitePath, setViewPermission, setWritePermission
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmsContainerElementData

public CmsContainerElementData()
Method Detail

getContents

public java.util.Map<java.lang.String,java.lang.String> getContents()
Returns the contents.

Returns:
the contents

getCssResources

public java.util.Set<java.lang.String> getCssResources()
Returns the required css resources.

Returns:
the required css resources

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
the description

getFormatedIndividualSettings

public java.util.List<CmsAdditionalInfoBean> getFormatedIndividualSettings()
Returns the individual element settings formated with nice-names to be used as additional-info.

Returns:
the settings list

getInheritanceInfos

public java.util.List<CmsInheritanceInfo> getInheritanceInfos()
Returns the inheritance infos off all sub-items.

Returns:
the inheritance infos off all sub-items.

getInheritanceName

public java.lang.String getInheritanceName()
Returns the inheritance name.

Returns:
the inheritance name

getLastModifiedByUser

public java.lang.String getLastModifiedByUser()
Returns the last modifying user.

Returns:
the last modifying user

getLastModifiedDate

public long getLastModifiedDate()
Returns the last modification date.

Returns:
the last modification date

getNavText

public java.lang.String getNavText()
Returns the navText.

Returns:
the navText

getSettingConfig

public java.util.Map<java.lang.String,CmsXmlContentProperty> getSettingConfig()
Gets the setting configuration for this container element.

Returns:
the setting configuration map

getSettings

public java.util.Map<java.lang.String,java.lang.String> getSettings()
Returns the settings for this container element.

Returns:
a map of settings

getSubItems

public java.util.List<java.lang.String> getSubItems()
Returns the sub-items.

Returns:
the sub-items

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
the title

getTypes

public java.util.Set<java.lang.String> getTypes()
Returns the supported container types.

Returns:
the supported container types

hasSettings

public boolean hasSettings()
Description copied from class: CmsContainerElement
Returns if the element may have settings.

Overrides:
hasSettings in class CmsContainerElement
Returns:
true if the element may have settings
See Also:
CmsContainerElement.hasSettings()

setContents

public void setContents(java.util.Map<java.lang.String,java.lang.String> contents)
Sets the contents.

Parameters:
contents - the contents to set

setCssResources

public void setCssResources(java.util.Set<java.lang.String> cssResources)
Sets the required css resources.

Parameters:
cssResources - the required css resources to set

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the description to set

setInheritanceInfos

public void setInheritanceInfos(java.util.List<CmsInheritanceInfo> inheritanceInfos)
Sets the inheritance infos.

Parameters:
inheritanceInfos - the inheritance infos to set

setInheritanceName

public void setInheritanceName(java.lang.String inheritanceName)
Sets the inheritance name.

Parameters:
inheritanceName - the inheritance name to set

setLastModifiedByUser

public void setLastModifiedByUser(java.lang.String lastModifiedByUser)
Sets the modifying userdByUser.

Parameters:
lastModifiedByUser - the last modifying user to set

setLastModifiedDate

public void setLastModifiedDate(long lastModifiedDate)
Sets the last modification date.

Parameters:
lastModifiedDate - the last modification date to set

setNavText

public void setNavText(java.lang.String navText)
Sets the navText.

Parameters:
navText - the navText to set

setSettingConfig

public void setSettingConfig(java.util.Map<java.lang.String,CmsXmlContentProperty> settingConfig)
Sets the setting configuration of this container element.

Parameters:
settingConfig - the new setting configuration

setSettings

public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
Sets the settings for this container element.

Parameters:
settings - the new settings

setSubItems

public void setSubItems(java.util.List<java.lang.String> subItems)
Sets the sub-items.

Parameters:
subItems - the sub-items to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - the title to set

setTypes

public void setTypes(java.util.Set<java.lang.String> types)
Sets the supported container types.

Parameters:
types - the supported container types to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()