public class CmsFileHistoryFolder extends java.lang.Object implements I_CmsFolderAppCategory
| Modifier and Type | Field and Description |
|---|---|
static CmsCssIcon |
ICON
The app icon resource (size 32x32).
|
static java.lang.String |
ID
Folder id.
|
| Constructor and Description |
|---|
CmsFileHistoryFolder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getButtonStyle()
Returns the button style.
|
java.lang.String |
getHelpText(java.util.Locale locale)
Gets the help text for the app in the given locale.
|
com.vaadin.server.Resource |
getIcon()
Returns the app icon resource.
|
java.lang.String |
getId()
Returns the id.
|
java.lang.String |
getName(java.util.Locale locale)
Gets the user readable name for the category for a given locale.
|
int |
getOrder()
Gets an integer used to sort items.
|
java.lang.String |
getParentId()
Returns the parentId.
|
int |
getPriority()
Returns the priority.
|
CmsAppVisibilityStatus |
getVisibility(CmsObject cms)
Returns the visibility status of the app for the given user context.
|
public static final java.lang.String ID
public static final CmsCssIcon ICON
public CmsFileHistoryFolder()
public java.lang.String getButtonStyle()
I_CmsFolderAppCategorygetButtonStyle in interface I_CmsFolderAppCategoryI_CmsFolderAppCategory.getButtonStyle()public java.lang.String getHelpText(java.util.Locale locale)
I_CmsFolderAppCategorygetHelpText in interface I_CmsFolderAppCategorylocale - the locale to useI_CmsFolderAppCategory.getHelpText(java.util.Locale)public com.vaadin.server.Resource getIcon()
I_CmsFolderAppCategorygetIcon in interface I_CmsFolderAppCategoryI_CmsFolderAppCategory.getIcon()public java.lang.String getId()
I_CmsAppCategorygetId in interface I_CmsAppCategoryI_CmsAppCategory.getId()public java.lang.String getName(java.util.Locale locale)
I_CmsAppCategorygetName in interface I_CmsAppCategorylocale - the locale for which to get the nameI_CmsAppCategory.getName(java.util.Locale)public int getOrder()
I_CmsHasOrdergetOrder in interface I_CmsHasOrderI_CmsHasOrder.getOrder()public java.lang.String getParentId()
I_CmsAppCategory
App categories can be nested. The method must return the id of the parent category
if the category is nested. If it is on top level, null should be
returned.
getParentId in interface I_CmsAppCategoryI_CmsAppCategory.getParentId()public int getPriority()
I_CmsAppCategoryIf more than one category with the same id is present, the one with higher priority is shown. The other categories with this id are discarded.
getPriority in interface I_CmsAppCategoryI_CmsAppCategory.getPriority()public CmsAppVisibilityStatus getVisibility(CmsObject cms)
I_CmsFolderAppCategorygetVisibility in interface I_CmsFolderAppCategorycms - the user contextI_CmsFolderAppCategory.getVisibility(org.opencms.file.CmsObject)