Package org.opencms.gwt.shared
Class CmsResourceStatusBean
- java.lang.Object
-
- org.opencms.gwt.shared.CmsResourceStatusBean
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsResourceStatusBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Information used to display the resource info dialog.
-
-
Constructor Summary
Constructors Constructor Description CmsResourceStatusBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getAdditionalAttributes()Returns the additional resource attributes to display.java.lang.StringgetDateCreated()Gets the date created.java.lang.StringgetDateExpired()Gets the date expired.java.lang.StringgetDateLastModified()Gets the date last modified.java.lang.StringgetDateReleased()Gets the date released.java.lang.StringgetLastProject()Gets the last project.CmsListInfoBeangetListInfo()Gets the list info.java.util.List<java.lang.String>getLocales()Gets the locales.java.lang.StringgetLockState()Gets the lock state.java.lang.StringgetNavText()Gets the nav text.java.util.ArrayList<CmsResourceStatusRelationBean>getOtherSiteRelationSources()Gets relation sources for other sites.java.lang.StringgetPermissions()Gets the permissions.java.util.ArrayList<CmsResourceStatusRelationBean>getRelationSources()Gets the list info beans for the source resources of relations pointing to this resource.java.util.ArrayList<CmsResourceStatusRelationBean>getRelationTargets()Gets the list info beans for the targets of relations pointing away from this resource.java.lang.StringgetResourceType()Gets the resource type.java.util.ArrayList<CmsResourceStatusRelationBean>getSiblings()Gets the sibling information.intgetSize()Gets the size.java.lang.StringgetSourcesError()Gets the custom error message for the relation sources tab.CmsResourceStatusTabIdgetStartTab()Gets the start tab.CmsResourceStategetStateBean()Gets the resource state object.CmsUUIDgetStructureId()Gets the structure id of the resource.java.util.LinkedHashMap<CmsResourceStatusTabId,java.lang.String>getTabs()Gets the tab configuration, which is an ordered map defining the tabs to display and their order, with the tab labels as values.java.lang.StringgetTargetsError()Gets the custom error message for the relation targets tab.java.lang.StringgetTitle()Gets the title.java.lang.StringgetUserCreated()Gets the user created.java.lang.StringgetUserLastModified()Gets the user last modified.voidsetAdditionalAttributes(java.util.Map<java.lang.String,java.lang.String> additionalAttributes)Sets the additional resource attributes.voidsetDateCreated(java.lang.String dateCreated)Sets the date created.voidsetDateExpired(java.lang.String dateExpired)Sets the date expired.voidsetDateLastModified(java.lang.String dateLastModified)Sets the date last modified.voidsetDateReleased(java.lang.String dateReleased)Sets the date released.voidsetLastProject(java.lang.String lastProject)Sets the last project.voidsetListInfo(CmsListInfoBean listInfo)Sets the list info.voidsetLocales(java.util.List<java.lang.String> locales)Sets the locales.voidsetLockState(java.lang.String lockState)Sets the lock state.voidsetNavText(java.lang.String navText)Sets the nav text.voidsetPermissions(java.lang.String permissions)Sets the permissions.voidsetResourceType(java.lang.String resourceType)Sets the resource type.voidsetSize(int size)Sets the size.voidsetSourcesError(java.lang.String sourcesError)Sets the custom error message for the relation sources tab.voidsetStartTab(CmsResourceStatusTabId startTab)Sets the start tab.voidsetStateBean(CmsResourceState stateBean)Sets the resource state object.voidsetStructureId(CmsUUID structureId)Sets the structure id of the resource.voidsetTabs(java.util.LinkedHashMap<CmsResourceStatusTabId,java.lang.String> tabs)Sets the tab configuration.voidsetTargetsError(java.lang.String targetsError)Sets the custom error message for the relation target tab.voidsetTitle(java.lang.String title)Sets the title.voidsetUserCreated(java.lang.String userCreated)Sets the user created.voidsetUserLastModified(java.lang.String userLastModified)Sets the user last modified.
-
-
-
Constructor Detail
-
CmsResourceStatusBean
public CmsResourceStatusBean()
-
-
Method Detail
-
getAdditionalAttributes
public java.util.Map<java.lang.String,java.lang.String> getAdditionalAttributes()
Returns the additional resource attributes to display.- Returns:
- the additional resource attributes
-
getDateCreated
public java.lang.String getDateCreated()
Gets the date created.- Returns:
- the date created
-
getDateExpired
public java.lang.String getDateExpired()
Gets the date expired.- Returns:
- the date expired
-
getDateLastModified
public java.lang.String getDateLastModified()
Gets the date last modified.- Returns:
- the date last modified
-
getDateReleased
public java.lang.String getDateReleased()
Gets the date released.- Returns:
- the date released
-
getLastProject
public java.lang.String getLastProject()
Gets the last project.- Returns:
- the last project
-
getListInfo
public CmsListInfoBean getListInfo()
Gets the list info.- Returns:
- the list info
-
getLocales
public java.util.List<java.lang.String> getLocales()
Gets the locales.- Returns:
- the locales
-
getLockState
public java.lang.String getLockState()
Gets the lock state.- Returns:
- the lock state
-
getNavText
public java.lang.String getNavText()
Gets the nav text.- Returns:
- the nav text
-
getOtherSiteRelationSources
public java.util.ArrayList<CmsResourceStatusRelationBean> getOtherSiteRelationSources()
Gets relation sources for other sites.- Returns:
- relation sources for other sites
-
getPermissions
public java.lang.String getPermissions()
Gets the permissions.- Returns:
- the permissions
-
getRelationSources
public java.util.ArrayList<CmsResourceStatusRelationBean> getRelationSources()
Gets the list info beans for the source resources of relations pointing to this resource.- Returns:
- the relation source beans
-
getRelationTargets
public java.util.ArrayList<CmsResourceStatusRelationBean> getRelationTargets()
Gets the list info beans for the targets of relations pointing away from this resource.- Returns:
- the relation target beans
-
getResourceType
public java.lang.String getResourceType()
Gets the resource type.- Returns:
- the resource type
-
getSiblings
public java.util.ArrayList<CmsResourceStatusRelationBean> getSiblings()
Gets the sibling information.- Returns:
- the sibling information
-
getSize
public int getSize()
Gets the size.- Returns:
- the size
-
getSourcesError
public java.lang.String getSourcesError()
Gets the custom error message for the relation sources tab.- Returns:
- the custom error message for the relation sources tab
-
getStartTab
public CmsResourceStatusTabId getStartTab()
Gets the start tab.- Returns:
- the start tab
-
getStateBean
public CmsResourceState getStateBean()
Gets the resource state object.- Returns:
- the resource state object
-
getStructureId
public CmsUUID getStructureId()
Gets the structure id of the resource.- Returns:
- the structure id of the resource
-
getTabs
public java.util.LinkedHashMap<CmsResourceStatusTabId,java.lang.String> getTabs()
Gets the tab configuration, which is an ordered map defining the tabs to display and their order, with the tab labels as values.- Returns:
- the tab configuration
-
getTargetsError
public java.lang.String getTargetsError()
Gets the custom error message for the relation targets tab.- Returns:
- the custom error message for the relation target tab
-
getTitle
public java.lang.String getTitle()
Gets the title.- Returns:
- the title
-
getUserCreated
public java.lang.String getUserCreated()
Gets the user created.- Returns:
- the user created
-
getUserLastModified
public java.lang.String getUserLastModified()
Gets the user last modified.- Returns:
- the user last modified
-
setAdditionalAttributes
public void setAdditionalAttributes(java.util.Map<java.lang.String,java.lang.String> additionalAttributes)
Sets the additional resource attributes.- Parameters:
additionalAttributes- the additional resource attributes
-
setDateCreated
public void setDateCreated(java.lang.String dateCreated)
Sets the date created.- Parameters:
dateCreated- the new date created
-
setDateExpired
public void setDateExpired(java.lang.String dateExpired)
Sets the date expired.- Parameters:
dateExpired- the new date expired
-
setDateLastModified
public void setDateLastModified(java.lang.String dateLastModified)
Sets the date last modified.- Parameters:
dateLastModified- the new date last modified
-
setDateReleased
public void setDateReleased(java.lang.String dateReleased)
Sets the date released.- Parameters:
dateReleased- the new date released
-
setLastProject
public void setLastProject(java.lang.String lastProject)
Sets the last project.- Parameters:
lastProject- the new last project
-
setListInfo
public void setListInfo(CmsListInfoBean listInfo)
Sets the list info.- Parameters:
listInfo- the new list info
-
setLocales
public void setLocales(java.util.List<java.lang.String> locales)
Sets the locales.- Parameters:
locales- the new locales
-
setLockState
public void setLockState(java.lang.String lockState)
Sets the lock state.- Parameters:
lockState- the new lock state
-
setNavText
public void setNavText(java.lang.String navText)
Sets the nav text.- Parameters:
navText- the new nav text
-
setPermissions
public void setPermissions(java.lang.String permissions)
Sets the permissions.- Parameters:
permissions- the new permissions
-
setResourceType
public void setResourceType(java.lang.String resourceType)
Sets the resource type.- Parameters:
resourceType- the new resource type
-
setSize
public void setSize(int size)
Sets the size.- Parameters:
size- the new size
-
setSourcesError
public void setSourcesError(java.lang.String sourcesError)
Sets the custom error message for the relation sources tab.- Parameters:
sourcesError- the custom error message
-
setStartTab
public void setStartTab(CmsResourceStatusTabId startTab)
Sets the start tab.- Parameters:
startTab- the start tab id
-
setStateBean
public void setStateBean(CmsResourceState stateBean)
Sets the resource state object.- Parameters:
stateBean- the new resource state object
-
setStructureId
public void setStructureId(CmsUUID structureId)
Sets the structure id of the resource.- Parameters:
structureId- the structure id of the resource
-
setTabs
public void setTabs(java.util.LinkedHashMap<CmsResourceStatusTabId,java.lang.String> tabs)
Sets the tab configuration.- Parameters:
tabs- the tab configuration
-
setTargetsError
public void setTargetsError(java.lang.String targetsError)
Sets the custom error message for the relation target tab.- Parameters:
targetsError- the custom error message
-
setTitle
public void setTitle(java.lang.String title)
Sets the title.- Parameters:
title- the new title
-
setUserCreated
public void setUserCreated(java.lang.String userCreated)
Sets the user created.- Parameters:
userCreated- the new user created
-
setUserLastModified
public void setUserLastModified(java.lang.String userLastModified)
Sets the user last modified.- Parameters:
userLastModified- the new user last modified
-
-