public class CmsPropertiesBean
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable
构造器和说明 |
---|
CmsPropertiesBean()
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
getAllProperties()
Returns a list of all property names.
|
java.util.Map<java.lang.String,CmsClientProperty> |
getInheritedProperties()
Returns a map of the inherited properties.
|
java.util.Map<java.lang.String,CmsClientProperty> |
getOwnProperties()
Gets a map of the resource's own properties.
|
CmsListInfoBean |
getPageInfo()
Gets the list info bean for the resource.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
getPropertyDefinitions()
Gets a map of the configured properties.
|
java.lang.String |
getSitePath()
Gets the site path of the resource.
|
CmsUUID |
getStructureId()
Gets the structure id of the resource.
|
java.util.Map<java.lang.String,CmsClientTemplateBean> |
getTemplates()
Gets a map of the available templates.
|
boolean |
isContainerPage()
Returns the if the resource is a container page.
|
boolean |
isFolder()
Returns the if the resource is a folder.
|
boolean |
isReadOnly()
If true, the properties can't be modified.
|
void |
setAllProperties(java.util.List<java.lang.String> allProperties)
Sets the list of property names.
|
void |
setContainerPage(boolean isContainerPage)
Sets if the resource is a container page.
|
void |
setFolder(boolean isFolder)
Sets if the resource is a folder.
|
void |
setInheritedProperties(java.util.Map<java.lang.String,CmsClientProperty> inheritedProperties)
Sets the inherited properties.
|
void |
setOwnProperties(java.util.Map<java.lang.String,CmsClientProperty> ownProperties)
Sets the resource's own properties.
|
void |
setPageInfo(CmsListInfoBean pageInfo)
Sets the page info.
|
void |
setPropertyDefinitions(java.util.Map<java.lang.String,CmsXmlContentProperty> propertyDefinitions)
Sets the property configuration.
|
void |
setReadOnly(boolean isReadOnly)
Sets "readonly mode".
|
void |
setSitePath(java.lang.String sitePath)
Sets the site path.
|
void |
setStructureId(CmsUUID structureId)
Sets the structure id.
|
void |
setTemplates(java.util.Map<java.lang.String,CmsClientTemplateBean> templates)
Sets the available templates.
|
public java.util.List<java.lang.String> getAllProperties()
public java.util.Map<java.lang.String,CmsClientProperty> getInheritedProperties()
public java.util.Map<java.lang.String,CmsClientProperty> getOwnProperties()
public CmsListInfoBean getPageInfo()
public java.util.Map<java.lang.String,CmsXmlContentProperty> getPropertyDefinitions()
public java.lang.String getSitePath()
public CmsUUID getStructureId()
public java.util.Map<java.lang.String,CmsClientTemplateBean> getTemplates()
public boolean isContainerPage()
public boolean isFolder()
public boolean isReadOnly()
public void setAllProperties(java.util.List<java.lang.String> allProperties)
allProperties
- the list of property namespublic void setContainerPage(boolean isContainerPage)
isContainerPage
- true
if the resource is a container pagepublic void setFolder(boolean isFolder)
isFolder
- true
if the resource is a folderpublic void setInheritedProperties(java.util.Map<java.lang.String,CmsClientProperty> inheritedProperties)
inheritedProperties
- the inherited propertiespublic void setOwnProperties(java.util.Map<java.lang.String,CmsClientProperty> ownProperties)
ownProperties
- the resource's own propertiespublic void setPageInfo(CmsListInfoBean pageInfo)
pageInfo
- the page infopublic void setPropertyDefinitions(java.util.Map<java.lang.String,CmsXmlContentProperty> propertyDefinitions)
propertyDefinitions
- the property configurationpublic void setReadOnly(boolean isReadOnly)
isReadOnly
- true if "readonly mode" should be enabledpublic void setSitePath(java.lang.String sitePath)
sitePath
- public void setStructureId(CmsUUID structureId)
structureId
- the structure idpublic void setTemplates(java.util.Map<java.lang.String,CmsClientTemplateBean> templates)
templates
- the available templates