|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.containerpage.shared.CmsContainerElement
public class CmsContainerElement
Bean holding basic container element information.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_CONTAINER_ELEMENT_END_MARKER
HTML class used to identify container elements. |
static java.lang.String |
CLASS_CONTAINER_ELEMENT_START_MARKER
HTML class used to identify container elements. |
static java.lang.String |
CLASS_ELEMENT_ERROR
HTML class used to identify error message for elements where rendering failed to render. |
static java.lang.String |
CLASS_GROUP_CONTAINER_ELEMENT_MARKER
HTML class used to identify group container elements. |
static java.lang.String |
GROUP_CONTAINER_TYPE_NAME
The group container resource type name. |
static java.lang.String |
INHERIT_CONTAINER_TYPE_NAME
The resource type name for inherited container references. |
| Constructor Summary | |
|---|---|
CmsContainerElement()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getClientId()
Returns the client id. |
CmsInheritanceInfo |
getInheritanceInfo()
Returns the inheritance info for this element. |
java.lang.String |
getNoEditReason()
Returns the no edit reason. |
java.lang.String |
getResourceType()
Returns the resource type name for elements. |
java.lang.String |
getSitePath()
Returns the site path. |
boolean |
hasSettings()
Returns if the element may have settings. |
boolean |
hasViewPermission()
Returns if the current user has view permissions for the element resource. |
boolean |
hasWritePermission()
Returns if the user has write permission. |
boolean |
isGroupContainer()
Returns if the given element is of the type group container. |
boolean |
isInheritContainer()
Returns if the given element is of the type inherit container. |
boolean |
isNew()
Returns if the element is new and has not been created in the VFS yet. |
boolean |
isNewEditorDisabled()
Returns true if the new editor is disabled for this element. |
boolean |
isReleasedAndNotExpired()
Returns if the given resource is released and not expired. |
void |
setClientId(java.lang.String clientId)
Sets the client id. |
void |
setHasSettings(boolean hasSettings)
Sets if the element may have settings. |
void |
setInheritanceInfo(CmsInheritanceInfo inheritanceInfo)
Sets the inheritance info for this element. |
void |
setNew(boolean isNew)
Sets the 'new' flag. |
void |
setNewEditorDisabled(boolean disabled)
Disables the new editor for this element. |
void |
setNoEditReason(java.lang.String noEditReason)
Sets the no edit reason. |
void |
setReleasedAndNotExpired(boolean releasedAndNotExpired)
Sets if the given resource is released and not expired. |
void |
setResourceType(java.lang.String resourceType)
Sets the element resource type. |
void |
setSitePath(java.lang.String sitePath)
Sets the site path. |
void |
setViewPermission(boolean viewPermission)
Sets if the current user has view permissions for the element resource. |
void |
setWritePermission(boolean writePermission)
Sets the user write permission. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_CONTAINER_ELEMENT_END_MARKER
public static final java.lang.String CLASS_CONTAINER_ELEMENT_START_MARKER
public static final java.lang.String CLASS_ELEMENT_ERROR
public static final java.lang.String CLASS_GROUP_CONTAINER_ELEMENT_MARKER
public static final java.lang.String GROUP_CONTAINER_TYPE_NAME
public static final java.lang.String INHERIT_CONTAINER_TYPE_NAME
| Constructor Detail |
|---|
public CmsContainerElement()
| Method Detail |
|---|
public java.lang.String getClientId()
public CmsInheritanceInfo getInheritanceInfo()
public java.lang.String getNoEditReason()
public java.lang.String getResourceType()
public java.lang.String getSitePath()
public boolean hasSettings()
true if the element may have settingspublic boolean hasViewPermission()
true if the current user has view permissions for the element resourcepublic boolean hasWritePermission()
true if the user has write permissionpublic boolean isGroupContainer()
true if the given element is of the type group containerpublic boolean isInheritContainer()
true if the given element is of the type inherit containerpublic boolean isNew()
true if the element is not created in the VFS yetpublic boolean isNewEditorDisabled()
public boolean isReleasedAndNotExpired()
true if the given resource is released and not expiredpublic void setClientId(java.lang.String clientId)
clientId - the client id to setpublic void setHasSettings(boolean hasSettings)
hasSettings - true if the element may have settingspublic void setInheritanceInfo(CmsInheritanceInfo inheritanceInfo)
inheritanceInfo - the inheritance info for this element to setpublic void setNew(boolean isNew)
isNew - true on a new elementpublic void setNewEditorDisabled(boolean disabled)
disabled - if true, the new editor will be disabled for this elementpublic void setNoEditReason(java.lang.String noEditReason)
noEditReason - the no edit reason to setpublic void setReleasedAndNotExpired(boolean releasedAndNotExpired)
releasedAndNotExpired - true if the given resource is released and not expiredpublic void setResourceType(java.lang.String resourceType)
resourceType - the element resource typepublic void setSitePath(java.lang.String sitePath)
sitePath - the site path to setpublic void setViewPermission(boolean viewPermission)
viewPermission - the view permission to setpublic void setWritePermission(boolean writePermission)
writePermission - the user write permission to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||