public class CmsResourceStatusRelationBean extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier | Constructor and Description |
---|---|
protected |
CmsResourceStatusRelationBean()
Default constructor for serialization.
|
|
CmsResourceStatusRelationBean(CmsListInfoBean infoBean,
java.lang.String link,
CmsUUID structureId,
CmsPermissionInfo permissionInfo)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
CmsListInfoBean |
getInfoBean()
Gets the list info bean.
|
java.lang.String |
getLink()
Gets the link to the resource.
|
CmsPermissionInfo |
getPermissionInfo()
Returns the permission info.
|
java.lang.String |
getSitePath()
Gets the site path of the resource.
|
java.lang.String |
getSiteRoot()
Returns the siteRoot.
|
CmsUUID |
getStructureId()
Returns the structure id of the resource.
|
boolean |
isXmlContent()
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 |
setLink(java.lang.String link)
Sets the link for the resource.
|
void |
setSitePath(java.lang.String path)
Sets the site path for the resource.
|
void |
setSiteRoot(java.lang.String siteRoot)
Sets the siteRoot.
|
void |
setStructureId(CmsUUID structureId)
Sets the structure id for the resource.
|
public CmsResourceStatusRelationBean(CmsListInfoBean infoBean, java.lang.String link, CmsUUID structureId, CmsPermissionInfo permissionInfo)
infoBean
- the list info beanlink
- the link to the resourcestructureId
- the structure id of the resourcepermissionInfo
- the permission infoprotected CmsResourceStatusRelationBean()
public CmsListInfoBean getInfoBean()
public java.lang.String getLink()
public CmsPermissionInfo getPermissionInfo()
public java.lang.String getSitePath()
public java.lang.String getSiteRoot()
public CmsUUID getStructureId()
public boolean isXmlContent()
public void setInfoBean(CmsListInfoBean infoBean)
infoBean
- the new list info beanpublic void setIsXmlContent(boolean isXmlContent)
isXmlContent
- if the resource is an XML contentpublic void setLink(java.lang.String link)
link
- the link for the resourcepublic void setSitePath(java.lang.String path)
path
- the new site pathpublic void setSiteRoot(java.lang.String siteRoot)
siteRoot
- the siteRoot to setpublic void setStructureId(CmsUUID structureId)
structureId
- the new structure id