|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.shared.CmsResourceTypeBean
public class CmsResourceTypeBean
Bean representing resource type information.
| Constructor Summary | |
|---|---|
CmsResourceTypeBean()
|
|
| Method Summary | |
|---|---|
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 |
getIconResource()
Returns the resource type icon. |
java.lang.String |
getPreviewProviderName()
Returns the preview provider name. |
java.lang.String |
getTitle()
Returns the title. |
java.lang.String |
getType()
Returns the resource type name. |
int |
getTypeId()
Returns the resource type id. |
boolean |
isCreatableType()
Returns if the current user may create a new resource of this type. |
void |
setCreatableType(boolean creatableType)
Sets flag to indicate if the current user may create a new resource of this type. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setGalleryTypeNames(java.util.ArrayList<java.lang.String> galleryNames)
Sets the list with the gallery types names associated with this resource type. |
void |
setPreviewProviderName(java.lang.String previewProviderName)
Sets the preview provider name. |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setType(java.lang.String type)
Sets the resource type name. |
void |
setTypeId(int typeId)
Sets the resource type id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsResourceTypeBean()
| Method Detail |
|---|
public java.lang.String getDescription()
public java.util.ArrayList<java.lang.String> getGalleryTypeNames()
public java.lang.String getIconResource()
public java.lang.String getPreviewProviderName()
public java.lang.String getTitle()
getTitle in interface I_CmsHasTitlepublic java.lang.String getType()
getType in interface I_CmsHasTypepublic int getTypeId()
public boolean isCreatableType()
true if the current user may create a new resource of this typepublic void setCreatableType(boolean creatableType)
creatableType - true if the current user may create a new resource of this typepublic void setDescription(java.lang.String description)
description - the description to setpublic void setGalleryTypeNames(java.util.ArrayList<java.lang.String> galleryNames)
galleryNames - the list with gallery type names to setpublic void setPreviewProviderName(java.lang.String previewProviderName)
previewProviderName - the preview provider name to setpublic void setTitle(java.lang.String title)
title - the title to setpublic void setType(java.lang.String type)
type - the resource type name to setpublic void setTypeId(int typeId)
typeId - the resource type id to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||