Package org.opencms.ui.apps
Class CmsLegacyAppConfiguration
java.lang.Object
org.opencms.ui.apps.CmsLegacyAppConfiguration
- All Implemented Interfaces:
- I_CmsHasOrder,- I_CmsWorkplaceAppConfiguration
Holding configuration for legacy admin tools.
- 
Field SummaryFields inherited from interface org.opencms.ui.apps.I_CmsWorkplaceAppConfigurationDEFAULT_PRIORIY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the id of the app category in which this app should be displayed (null for the root category).Returns a new app instance.Returns 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 unique app id.Returns the display name of the app.intgetOrder()Gets an integer used to sort items.intGets the priority of the app configuration.Returns the user role required for this app.getVisibility(CmsObject cms) Returns the visibility status of the app for the given user context.
- 
Constructor Details- 
CmsLegacyAppConfigurationConstructor.- Parameters:
- toolHandler- the tool handler
 
 
- 
- 
Method Details- 
getAppCategoryDescription copied from interface:I_CmsWorkplaceAppConfigurationGets the id of the app category in which this app should be displayed (null for the root category).- Specified by:
- getAppCategoryin interface- I_CmsWorkplaceAppConfiguration
- Returns:
- the app category id
- See Also:
 
- 
getAppInstanceDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns a new app instance.- Specified by:
- getAppInstancein interface- I_CmsWorkplaceAppConfiguration
- Returns:
- a new app instance
- See Also:
 
- 
getButtonStyleDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns the button style.- Specified by:
- getButtonStylein interface- I_CmsWorkplaceAppConfiguration
- Returns:
- the button style
- See Also:
 
- 
getHelpTextDescription copied from interface:I_CmsWorkplaceAppConfigurationGets the help text for the app in the given locale.- Specified by:
- getHelpTextin interface- I_CmsWorkplaceAppConfiguration
- Parameters:
- locale- the locale to use
- Returns:
- the help text
- See Also:
 
- 
getIconDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns the app icon resource.- Specified by:
- getIconin interface- I_CmsWorkplaceAppConfiguration
- Returns:
- the icon resource
- See Also:
 
- 
getIdDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns the unique app id.- Specified by:
- getIdin interface- I_CmsWorkplaceAppConfiguration
- Returns:
- the app id
- See Also:
 
- 
getNameDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns the display name of the app.- Specified by:
- getNamein interface- I_CmsWorkplaceAppConfiguration
- Parameters:
- locale- the user locale
- Returns:
- the app name
- See Also:
 
- 
getOrderDescription copied from interface:I_CmsHasOrderGets an integer used to sort items.- Specified by:
- getOrderin interface- I_CmsHasOrder
- Returns:
- the integer used as a sort key
- See Also:
 
- 
getPriorityDescription copied from interface:I_CmsWorkplaceAppConfigurationGets the priority of the app configuration.Between two apps with the same id and different priorities, the one with the higher priority will override the one with the lower priority. - Specified by:
- getPriorityin interface- I_CmsWorkplaceAppConfiguration
- Returns:
- the priority
- See Also:
 
- 
getRequiredRoleDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns the user role required for this app.- Specified by:
- getRequiredRolein interface- I_CmsWorkplaceAppConfiguration
- Returns:
- the required user role
- See Also:
 
- 
getVisibilityDescription copied from interface:I_CmsWorkplaceAppConfigurationReturns the visibility status of the app for the given user context.- Specified by:
- getVisibilityin interface- I_CmsWorkplaceAppConfiguration
- Parameters:
- cms- the user context
- Returns:
- the visibility status
- See Also:
 
 
-