Package org.opencms.ui.apps.filehistory
Class CmsFileHistoryFolder
java.lang.Object
org.opencms.ui.apps.filehistory.CmsFileHistoryFolder
- All Implemented Interfaces:
I_CmsAppCategory,I_CmsFolderAppCategory,I_CmsHasOrder
Class for the folder with the file history apps.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CmsCssIconThe app icon resource (size 32x32).static final StringFolder id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the button style.getHelpText(Locale locale) Gets the help text for the app in the given locale.com.vaadin.server.ResourcegetIcon()Returns the app icon resource.getId()Returns the id.Gets the user readable name for the category for a given locale.intgetOrder()Gets an integer used to sort items.Returns the parentId.intReturns the priority.getVisibility(CmsObject cms) Returns the visibility status of the app for the given user context.
-
Field Details
-
ID
Folder id.- See Also:
-
ICON
The app icon resource (size 32x32).
-
-
Constructor Details
-
CmsFileHistoryFolder
public CmsFileHistoryFolder()
-
-
Method Details
-
getButtonStyle
Description copied from interface:I_CmsFolderAppCategoryReturns the button style.- Specified by:
getButtonStylein interfaceI_CmsFolderAppCategory- Returns:
- the button style
- See Also:
-
getHelpText
Description copied from interface:I_CmsFolderAppCategoryGets the help text for the app in the given locale.- Specified by:
getHelpTextin interfaceI_CmsFolderAppCategory- Parameters:
locale- the locale to use- Returns:
- the help text
- See Also:
-
getIcon
Description copied from interface:I_CmsFolderAppCategoryReturns the app icon resource.- Specified by:
getIconin interfaceI_CmsFolderAppCategory- Returns:
- the icon resource
- See Also:
-
getId
Description copied from interface:I_CmsAppCategoryReturns the id.- Specified by:
getIdin interfaceI_CmsAppCategory- Returns:
- the id
- See Also:
-
getName
Description copied from interface:I_CmsAppCategoryGets the user readable name for the category for a given locale.- Specified by:
getNamein interfaceI_CmsAppCategory- Parameters:
locale- the locale for which to get the name- Returns:
- the localized name
- See Also:
-
getOrder
Description copied from interface:I_CmsHasOrderGets an integer used to sort items.- Specified by:
getOrderin interfaceI_CmsHasOrder- Returns:
- the integer used as a sort key
- See Also:
-
getParentId
Description copied from interface:I_CmsAppCategoryReturns the parentId.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,
nullshould be returned.- Specified by:
getParentIdin interfaceI_CmsAppCategory- Returns:
- the parentId
- See Also:
-
getPriority
Description copied from interface:I_CmsAppCategoryReturns the priority.If 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.
- Specified by:
getPriorityin interfaceI_CmsAppCategory- Returns:
- the priority
- See Also:
-
getVisibility
Description copied from interface:I_CmsFolderAppCategoryReturns the visibility status of the app for the given user context.- Specified by:
getVisibilityin interfaceI_CmsFolderAppCategory- Parameters:
cms- the user context- Returns:
- the visibility status
- See Also:
-