public class CmsNewResourceInfo extends CmsListInfoBean
CmsListInfoBean.LockIcon, CmsListInfoBean.StateIcon| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAVIGATION_LEVEL_PARAMETER
The navigation level create parameter.
|
CSS_CLASS_MULTI_LINE| Modifier | Constructor and Description |
|---|---|
protected |
CmsNewResourceInfo()
Empty default constructor for serialization.
|
|
CmsNewResourceInfo(int id,
java.lang.String typeName,
java.lang.String title,
java.lang.String description,
CmsUUID copyResourceId,
boolean editable,
java.lang.String subTitle)
Instantiates a new resource type information bean.
|
| Modifier and Type | Method and Description |
|---|---|
CmsUUID |
getCopyResourceId()
Returns the structure id of the copy resource.
|
java.lang.String |
getCreateParameter()
Gets the additional parameter for creating new resources.
|
java.lang.String |
getDate()
Returns the date to display.
|
java.lang.String |
getDescription()
Returns the description.
|
int |
getId()
Gets the id.
|
java.lang.Float |
getNavPos()
Gets the navigation position (used for ordering).
|
java.lang.String |
getVfsPath()
Gets the VFS path.
|
boolean |
isDefault()
Returns the default flag.
|
boolean |
isEditable()
Returns true if the model resource is editable.
|
boolean |
isFunction()
Returns true if this is a resource info bean for a function page.
|
void |
setCreateParameter(java.lang.String createParameter)
Sets the create parameter used for new pages.
|
void |
setDate(java.lang.String date)
Sets the modification date string.
|
void |
setDefault(boolean isDefault)
Sets the default flag.
|
void |
setIsFunction(boolean isFunction)
Sets the "function page" flag.
|
void |
setNavPos(java.lang.Float navPos)
Sets the navigation position.
|
void |
setVfsPath(java.lang.String vfsPath)
Sets the VFS path.
|
addAdditionalInfo, addAdditionalInfo, getAdditionalInfo, getIsFolder, getLockIcon, getLockIconTitle, getResourceState, getResourceType, getStateIcon, getSubTitle, getTitle, getType, hasAdditionalInfo, isMarkChangedState, setAdditionalInfo, setIsFolder, setLockIcon, setLockIconTitle, setMarkChangedState, setResourceState, setResourceType, setStateIcon, setSubTitle, setTitlegetBigIconClasses, getSmallIconClasses, setBigIconClasses, setSmallIconClassespublic static final java.lang.String NAVIGATION_LEVEL_PARAMETER
public CmsNewResourceInfo(int id, java.lang.String typeName, java.lang.String title, java.lang.String description, CmsUUID copyResourceId, boolean editable, java.lang.String subTitle)
id - the idtypeName - the type nametitle - the titledescription - the descriptioncopyResourceId - the structure id of the copy resourceeditable - true if the model resource is editablesubTitle - the subtitle to displayprotected CmsNewResourceInfo()
public CmsUUID getCopyResourceId()
public java.lang.String getCreateParameter()
public java.lang.String getDate()
public java.lang.String getDescription()
public int getId()
public java.lang.Float getNavPos()
public java.lang.String getVfsPath()
public boolean isDefault()
public boolean isEditable()
public boolean isFunction()
public void setCreateParameter(java.lang.String createParameter)
createParameter - the create parameter used for new pagespublic void setDate(java.lang.String date)
date - the modification date stringpublic void setDefault(boolean isDefault)
isDefault - the default flag to setpublic void setIsFunction(boolean isFunction)
isFunction - the new value for the function page flagpublic void setNavPos(java.lang.Float navPos)
navPos - the navigation positionpublic void setVfsPath(java.lang.String vfsPath)
vfsPath - the VFS path