org.opencms.ade.containerpage.shared
Class CmsContainerElement

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

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

Bean holding basic container element information.

Since:
8.0.0

Constructor Summary
CmsContainerElement()
           
 
Method Summary
 java.lang.String getClientId()
          Returns the client id.
 java.lang.String getResourceType()
          Returns the resource type name for elements.
 java.lang.String getSitePath()
          Returns the site path.
 boolean isNew()
          Returns if the element is new and has not been created in the VFS yet.
 boolean isReleasedAndNotExpired()
          Returns if the given resource is released and not expired.
 void setClientId(java.lang.String clientId)
          Sets the client id.
 void setNew(boolean isNew)
          Sets the 'new' flag.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsContainerElement

public CmsContainerElement()
Method Detail

getClientId

public java.lang.String getClientId()
Returns the client id.

Returns:
the client id

getResourceType

public java.lang.String getResourceType()
Returns the resource type name for elements.

Returns:
the resource type name

getSitePath

public java.lang.String getSitePath()
Returns the site path.

Returns:
the site path

isNew

public boolean isNew()
Returns if the element is new and has not been created in the VFS yet.

Returns:
true if the element is not created in the VFS yet

isReleasedAndNotExpired

public boolean isReleasedAndNotExpired()
Returns if the given resource is released and not expired.

Returns:
true if the given resource is released and not expired

setClientId

public void setClientId(java.lang.String clientId)
Sets the client id.

Parameters:
clientId - the client id to set

setNew

public void setNew(boolean isNew)
Sets the 'new' flag.

Parameters:
isNew - true on a new element

setReleasedAndNotExpired

public void setReleasedAndNotExpired(boolean releasedAndNotExpired)
Sets if the given resource is released and not expired.

Parameters:
releasedAndNotExpired - true if the given resource is released and not expired

setResourceType

public void setResourceType(java.lang.String resourceType)
Sets the element resource type.

Parameters:
resourceType - the element resource type

setSitePath

public void setSitePath(java.lang.String sitePath)
Sets the site path.

Parameters:
sitePath - the site path to set