Package org.opencms.gwt.shared
Class CmsResourceStatusRelationBean
- java.lang.Object
-
- org.opencms.gwt.shared.CmsResourceStatusRelationBean
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsResourceStatusRelationBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Bean class which represents a resource which is related to another resource.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCmsResourceStatusRelationBean()Default constructor for serialization.CmsResourceStatusRelationBean(CmsListInfoBean infoBean, java.lang.String link, CmsUUID structureId, CmsPermissionInfo permissionInfo)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsListInfoBeangetInfoBean()Gets the list info bean.java.lang.StringgetLink()Gets the link to the resource.CmsPermissionInfogetPermissionInfo()Returns the permission info.java.lang.StringgetSitePath()Gets the site path of the resource.java.lang.StringgetSiteRoot()Returns the siteRoot.CmsUUIDgetStructureId()Returns the structure id of the resource.booleanisXmlContent()Returns true if the resource is an XML content.voidsetInfoBean(CmsListInfoBean infoBean)Sets the list info bean.voidsetIsXmlContent(boolean isXmlContent)Marks this bean as belonging to an XML content resource.voidsetLink(java.lang.String link)Sets the link for the resource.voidsetSitePath(java.lang.String path)Sets the site path for the resource.voidsetSiteRoot(java.lang.String siteRoot)Sets the siteRoot.voidsetStructureId(CmsUUID structureId)Sets the structure id for the resource.
-
-
-
Constructor Detail
-
CmsResourceStatusRelationBean
public CmsResourceStatusRelationBean(CmsListInfoBean infoBean, java.lang.String link, CmsUUID structureId, CmsPermissionInfo permissionInfo)
Creates a new instance.- Parameters:
infoBean- the list info beanlink- the link to the resourcestructureId- the structure id of the resourcepermissionInfo- the permission info
-
CmsResourceStatusRelationBean
protected CmsResourceStatusRelationBean()
Default constructor for serialization.
-
-
Method Detail
-
getInfoBean
public CmsListInfoBean getInfoBean()
Gets the list info bean.- Returns:
- the list info bean
-
getLink
public java.lang.String getLink()
Gets the link to the resource.- Returns:
- the link to the resource
-
getPermissionInfo
public CmsPermissionInfo getPermissionInfo()
Returns the permission info.- Returns:
- the permission info
-
getSitePath
public java.lang.String getSitePath()
Gets the site path of the resource.- Returns:
- the site path of the resource
-
getSiteRoot
public java.lang.String getSiteRoot()
Returns the siteRoot.- Returns:
- the siteRoot
-
getStructureId
public CmsUUID getStructureId()
Returns the structure id of the resource.- Returns:
- the structure id of the resource
-
isXmlContent
public boolean isXmlContent()
Returns true if the resource is an XML content.- Returns:
- true if the resource is an XML content
-
setInfoBean
public void setInfoBean(CmsListInfoBean infoBean)
Sets the list info bean.- Parameters:
infoBean- the new list info bean
-
setIsXmlContent
public void setIsXmlContent(boolean isXmlContent)
Marks this bean as belonging to an XML content resource.- Parameters:
isXmlContent- if the resource is an XML content
-
setLink
public void setLink(java.lang.String link)
Sets the link for the resource.- Parameters:
link- the link for the resource
-
setSitePath
public void setSitePath(java.lang.String path)
Sets the site path for the resource.- Parameters:
path- the new site path
-
setSiteRoot
public void setSiteRoot(java.lang.String siteRoot)
Sets the siteRoot.- Parameters:
siteRoot- the siteRoot to set
-
setStructureId
public void setStructureId(CmsUUID structureId)
Sets the structure id for the resource.- Parameters:
structureId- the new structure id
-
-