Package org.opencms.ui.apps
Class A_CmsWorkplaceAppConfiguration
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceAppConfiguration
- All Implemented Interfaces:
I_CmsHasOrder,I_CmsWorkplaceAppConfiguration
- Direct Known Subclasses:
CmsAccountsAppConfiguration,CmsAppHierarchyConfiguration,CmsBroadCastConfigurtion,CmsCacheAdminConfiguration,CmsCacheViewFlexConfiguration,CmsCacheViewImageConfiguration,CmsDateSearchConfiguration,CmsDbExportConfiguration,CmsDbImportHTTPConfiguration,CmsDbImportServerConfiguration,CmsDbManagerConfiguration,CmsDbPropertiesAppConfiguration,CmsDbRemovePubLocksConfiguration,CmsDbStaticExportConfiguration,CmsDbSynchronizationConfiguration,CmsEditorConfiguration,CmsFileExplorerConfiguration,CmsFileHistoryConfiguration,CmsGitAppConfiguration,CmsLinkInFolderValidationConfiguration,CmsLinkValidationConfiguration,CmsLinkValidationExternalConfiguration,CmsListManagerConfiguration,CmsLogFileConfiguration,CmsModuleAppConfiguration,CmsPageEditorConfiguration,CmsProjectManagerConfiguration,CmsProjectOverviewConfiguration,CmsPublishQueueConfiguration,CmsQuickLaunchEditorConfiguration,CmsResourceTypeAppConfiguration,CmsScheduledJobsAppConfig,CmsSearchindexAppConfiguration,CmsShellAppConfiguration,CmsSiteManagerConfiguration,CmsSitemapEditorConfiguration,CmsSourceSearchAppConfiguration,CmsSqlConsoleAppConfiguration,CmsUnusedContentFinderConfiguration,CmsUserDataAppConfiguration
public abstract class A_CmsWorkplaceAppConfiguration
extends Object
implements I_CmsWorkplaceAppConfiguration
Abstract superclass for workplace apps.
-
Field Summary
Fields inherited from interface org.opencms.ui.apps.I_CmsWorkplaceAppConfiguration
DEFAULT_PRIORIY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the id of the app category in which this app should be displayed (null for the root category).Returns the button style.getHelpText(Locale locale) Gets the help text for the app in the given locale.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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.ui.apps.I_CmsWorkplaceAppConfiguration
getAppInstance, getIcon, getId
-
Constructor Details
-
A_CmsWorkplaceAppConfiguration
public A_CmsWorkplaceAppConfiguration()
-
-
Method Details
-
getAppCategory
Description 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 interfaceI_CmsWorkplaceAppConfiguration- Returns:
- the app category id
- See Also:
-
getButtonStyle
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the button style.- Specified by:
getButtonStylein interfaceI_CmsWorkplaceAppConfiguration- Returns:
- the button style
- See Also:
-
getHelpText
Description copied from interface:I_CmsWorkplaceAppConfigurationGets the help text for the app in the given locale.- Specified by:
getHelpTextin interfaceI_CmsWorkplaceAppConfiguration- Parameters:
locale- the locale to use- Returns:
- the help text
- See Also:
-
getName
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the display name of the app.- Specified by:
getNamein interfaceI_CmsWorkplaceAppConfiguration- Parameters:
locale- the user locale- Returns:
- the app 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:
-
getPriority
Description 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 interfaceI_CmsWorkplaceAppConfiguration- Returns:
- the priority
- See Also:
-
getRequiredRole
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the user role required for this app.- Specified by:
getRequiredRolein interfaceI_CmsWorkplaceAppConfiguration- Returns:
- the required user role
- See Also:
-
getVisibility
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the visibility status of the app for the given user context.- Specified by:
getVisibilityin interfaceI_CmsWorkplaceAppConfiguration- Parameters:
cms- the user context- Returns:
- the visibility status
- See Also:
-