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 Object
implements com.google.gwt.user.client.rpc.IsSerializable
Bean class which represents a resource which is related to another resource.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor for serialization.CmsResourceStatusRelationBean
(CmsListInfoBean infoBean, String link, CmsUUID structureId, CmsPermissionInfo permissionInfo) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the list info bean.getLink()
Gets the link to the resource.Returns the permission info.Gets the site path of the resource.Returns the siteRoot.Returns the structure id of the resource.boolean
Returns true if the resource is an XML content.void
setInfoBean
(CmsListInfoBean infoBean) Sets the list info bean.void
setIsXmlContent
(boolean isXmlContent) Marks this bean as belonging to an XML content resource.void
Sets the link for the resource.void
setSitePath
(String path) Sets the site path for the resource.void
setSiteRoot
(String siteRoot) Sets the siteRoot.void
setStructureId
(CmsUUID structureId) Sets the structure id for the resource.
-
Constructor Details
-
CmsResourceStatusRelationBean
protected CmsResourceStatusRelationBean()Default constructor for serialization.
-
Method Details
-
getInfoBean
Gets the list info bean.- Returns:
- the list info bean
-
getLink
Gets the link to the resource.- Returns:
- the link to the resource
-
getPermissionInfo
Returns the permission info.- Returns:
- the permission info
-
getSitePath
Gets the site path of the resource.- Returns:
- the site path of the resource
-
getSiteRoot
Returns the siteRoot.- Returns:
- the siteRoot
-
getStructureId
Returns the structure id of the resource.- Returns:
- the structure id of the resource
-
isXmlContent
Returns true if the resource is an XML content.- Returns:
- true if the resource is an XML content
-
setIsXmlContent
Marks this bean as belonging to an XML content resource.- Parameters:
isXmlContent
- if the resource is an XML content
-
setLink
Sets the link for the resource.- Parameters:
link
- the link for the resource
-
setSitePath
Sets the site path for the resource.- Parameters:
path
- the new site path
-
setSiteRoot
Sets the siteRoot.- Parameters:
siteRoot
- the siteRoot to set
-
setStructureId
Sets the structure id for the resource.- Parameters:
structureId
- the new structure id
-