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.String
getDateCreated()
Gets the date created.java.lang.String
getDateExpired()
Gets the date expired.java.lang.String
getDateLastModified()
Gets the date last modified.java.lang.String
getDateReleased()
Gets the date released.java.lang.String
getLastProject()
Gets the last project.CmsListInfoBean
getListInfo()
Gets the list info.java.util.List<java.lang.String>
getLocales()
Gets the locales.java.lang.String
getLockState()
Gets the lock state.java.lang.String
getNavText()
Gets the nav text.java.util.ArrayList<CmsResourceStatusRelationBean>
getOtherSiteRelationSources()
Gets relation sources for other sites.java.lang.String
getPermissions()
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.String
getResourceType()
Gets the resource type.java.util.ArrayList<CmsResourceStatusRelationBean>
getSiblings()
Gets the sibling information.int
getSize()
Gets the size.java.lang.String
getSourcesError()
Gets the custom error message for the relation sources tab.CmsResourceStatusTabId
getStartTab()
Gets the start tab.CmsResourceState
getStateBean()
Gets the resource state object.CmsUUID
getStructureId()
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.String
getTargetsError()
Gets the custom error message for the relation targets tab.java.lang.String
getTitle()
Gets the title.java.lang.String
getUserCreated()
Gets the user created.java.lang.String
getUserLastModified()
Gets the user last modified.void
setAdditionalAttributes(java.util.Map<java.lang.String,java.lang.String> additionalAttributes)
Sets the additional resource attributes.void
setDateCreated(java.lang.String dateCreated)
Sets the date created.void
setDateExpired(java.lang.String dateExpired)
Sets the date expired.void
setDateLastModified(java.lang.String dateLastModified)
Sets the date last modified.void
setDateReleased(java.lang.String dateReleased)
Sets the date released.void
setLastProject(java.lang.String lastProject)
Sets the last project.void
setListInfo(CmsListInfoBean listInfo)
Sets the list info.void
setLocales(java.util.List<java.lang.String> locales)
Sets the locales.void
setLockState(java.lang.String lockState)
Sets the lock state.void
setNavText(java.lang.String navText)
Sets the nav text.void
setPermissions(java.lang.String permissions)
Sets the permissions.void
setResourceType(java.lang.String resourceType)
Sets the resource type.void
setSize(int size)
Sets the size.void
setSourcesError(java.lang.String sourcesError)
Sets the custom error message for the relation sources tab.void
setStartTab(CmsResourceStatusTabId startTab)
Sets the start tab.void
setStateBean(CmsResourceState stateBean)
Sets the resource state object.void
setStructureId(CmsUUID structureId)
Sets the structure id of the resource.void
setTabs(java.util.LinkedHashMap<CmsResourceStatusTabId,java.lang.String> tabs)
Sets the tab configuration.void
setTargetsError(java.lang.String targetsError)
Sets the custom error message for the relation target tab.void
setTitle(java.lang.String title)
Sets the title.void
setUserCreated(java.lang.String userCreated)
Sets the user created.void
setUserLastModified(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
-
-