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

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.lang.String getLastModifiedByUser()
          Returns the last modifying user.
 long getLastModifiedDate()
          Returns the last modification date.
 java.lang.String getNavText()
          Returns the navText.
 java.lang.String getNoEditReason()
          Returns the no edit reason.
 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.
 char getStatus()
          Returns the status.
 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 hasViewPermission()
          Returns if the current user has view permissions for the element resource.
 boolean isGroupContainer()
          Returns if the element is a group-container.
 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 setGroupContainer(boolean isGroupContainer)
          Sets whether the element is a group-container.
 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 setNoEditReason(java.lang.String noEditReason)
          Sets the no edit reason.
 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 setStatus(char status)
          Sets the status.
 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.
 void setViewPermission(boolean viewPermission)
          Sets if the current user has view permissions for the element resource.
 java.lang.String toString()
           
 
Methods inherited from class org.opencms.ade.containerpage.shared.CmsContainerElement
getClientId, getResourceType, getSitePath, isNew, isReleasedAndNotExpired, setClientId, setNew, setReleasedAndNotExpired, setResourceType, setSitePath
 
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

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

getNoEditReason

public java.lang.String getNoEditReason()
Returns the no edit reason. If empty editing is allowed.

Returns:
the no edit reason

getSettings

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

Returns:
a map of settings

getSettingConfig

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

Returns:
the setting configuration map

getStatus

public char getStatus()
Returns the status.

Returns:
the status

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

hasViewPermission

public boolean hasViewPermission()
Returns if the current user has view permissions for the element resource.

Returns:
true if the current user has view permissions for the element resource

isGroupContainer

public boolean isGroupContainer()
Returns if the element is a group-container.

Returns:
true if the element is a group-container

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

setGroupContainer

public void setGroupContainer(boolean isGroupContainer)
Sets whether the element is a group-container.

Parameters:
isGroupContainer - true if the element is a group-container

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

setNoEditReason

public void setNoEditReason(java.lang.String noEditReason)
Sets the no edit reason.

Parameters:
noEditReason - the no edit reason to set

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

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

setStatus

public void setStatus(char status)
Sets the status.

Parameters:
status - the status to set

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

setViewPermission

public void setViewPermission(boolean viewPermission)
Sets if the current user has view permissions for the element resource.

Parameters:
viewPermission - the view permission to set

toString

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