public class CmsResourceTypeBean extends CmsListInfoBean
| Modifier and Type | Class and Description |
|---|---|
static class |
CmsResourceTypeBean.Origin
Enum for data source from which resource type bean was constructed.
|
static class |
CmsResourceTypeBean.TypeVisibility
Enum representing the visibility of a resource type in the bean.
|
CmsListInfoBean.LockIcon, CmsListInfoBean.StateIconCSS_CLASS_MULTI_LINE| Constructor and Description |
|---|
CmsResourceTypeBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCreatePath()
Gets the creation path.
|
java.lang.String |
getDescription()
Returns the description.
|
java.util.ArrayList<java.lang.String> |
getGalleryTypeNames()
Returns the list with the gallery types names associated with this resource type.
|
java.lang.String |
getNamePattern()
Returns the naming pattern for new resources.
|
CmsResourceTypeBean.Origin |
getOrigin()
Returns the origin.
|
java.lang.String |
getPreviewProviderName()
Returns the preview provider name.
|
int |
getTypeId()
Returns the resource type id.
|
CmsResourceTypeBean.TypeVisibility |
getVisibility()
Gets the visibility.
|
boolean |
isCreatableType()
Returns if the current user may create a new resource of this type.
|
boolean |
isDeactivated()
Returns if the type is deactivated.
|
void |
setCreatableType(boolean creatableType)
Sets flag to indicate if the current user may create a new resource of this type.
|
void |
setCreatePath(java.lang.String createPath)
Sets the creation path.
|
void |
setDeactivated(boolean deactivated)
Sets the type deactivated.
|
void |
setGalleryTypeNames(java.util.ArrayList<java.lang.String> galleryNames)
Sets the list with the gallery types names associated with this resource type.
|
void |
setNamePattern(java.lang.String pattern)
Sets the naming pattern for new resources.
|
void |
setOrigin(CmsResourceTypeBean.Origin origin)
Sets the origin.
|
void |
setPreviewProviderName(java.lang.String previewProviderName)
Sets the preview provider name.
|
void |
setTypeId(int typeId)
Sets the resource type id.
|
void |
setVisibility(CmsResourceTypeBean.TypeVisibility visibility)
Sets the visibility.
|
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 CmsResourceTypeBean()
public java.lang.String getCreatePath()
public java.lang.String getDescription()
public java.util.ArrayList<java.lang.String> getGalleryTypeNames()
public java.lang.String getNamePattern()
public CmsResourceTypeBean.Origin getOrigin()
public java.lang.String getPreviewProviderName()
public int getTypeId()
public CmsResourceTypeBean.TypeVisibility getVisibility()
public boolean isCreatableType()
true if the current user may create a new resource of this typepublic boolean isDeactivated()
public void setCreatableType(boolean creatableType)
creatableType - true if the current user may create a new resource of this typepublic void setCreatePath(java.lang.String createPath)
createPath - the creation pathpublic void setDeactivated(boolean deactivated)
deactivated - if the type is deactivatedpublic void setGalleryTypeNames(java.util.ArrayList<java.lang.String> galleryNames)
galleryNames - the list with gallery type names to setpublic void setNamePattern(java.lang.String pattern)
pattern - the naming pattern for new resourcespublic void setOrigin(CmsResourceTypeBean.Origin origin)
origin - the origin to setpublic void setPreviewProviderName(java.lang.String previewProviderName)
previewProviderName - the preview provider name to setpublic void setTypeId(int typeId)
typeId - the resource type id to setpublic void setVisibility(CmsResourceTypeBean.TypeVisibility visibility)
visibility - the new visibility