Package org.opencms.ui.apps.scheduler
Class CmsScheduledJobsAppConfig
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceAppConfiguration
org.opencms.ui.apps.scheduler.CmsScheduledJobsAppConfig
- All Implemented Interfaces:
I_CmsHasOrder
,I_CmsWorkplaceAppConfiguration
App configuration for the job scheduler.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The app id.static final CmsCssIcon
The app icon resource (size 32x32).Fields inherited from interface org.opencms.ui.apps.I_CmsWorkplaceAppConfiguration
DEFAULT_PRIORIY
-
Constructor Summary
-
Method Summary
Modifier 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.getHelpText
(Locale locale) Gets the help text for the app in the given locale.com.vaadin.server.Resource
getIcon()
Returns the app icon resource.getId()
Returns the unique app id.Returns the display name of the app.int
getOrder()
Gets an integer used to sort items.int
Gets the priority of the app configuration.Returns the user role required for this app.Methods inherited from class org.opencms.ui.apps.A_CmsWorkplaceAppConfiguration
getButtonStyle, getVisibility
-
Field Details
-
APP_ID
The app id.- See Also:
-
ICON
The app icon resource (size 32x32).
-
-
Constructor Details
-
CmsScheduledJobsAppConfig
public CmsScheduledJobsAppConfig()
-
-
Method Details
-
getAppCategory
Description copied from interface:I_CmsWorkplaceAppConfiguration
Gets the id of the app category in which this app should be displayed (null for the root category).- Specified by:
getAppCategory
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getAppCategory
in classA_CmsWorkplaceAppConfiguration
- Returns:
- the app category id
- See Also:
-
getAppInstance
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns a new app instance.- Returns:
- a new app instance
- See Also:
-
getHelpText
Description copied from interface:I_CmsWorkplaceAppConfiguration
Gets the help text for the app in the given locale.- Specified by:
getHelpText
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getHelpText
in classA_CmsWorkplaceAppConfiguration
- Parameters:
locale
- the locale to use- Returns:
- the help text
- See Also:
-
getIcon
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the app icon resource.- Returns:
- the icon resource
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the unique app id.- Returns:
- the app id
- See Also:
-
getName
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the display name of the app.- Specified by:
getName
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getName
in classA_CmsWorkplaceAppConfiguration
- Parameters:
locale
- the user locale- Returns:
- the app name
- See Also:
-
getOrder
Description copied from interface:I_CmsHasOrder
Gets an integer used to sort items.- Specified by:
getOrder
in interfaceI_CmsHasOrder
- Overrides:
getOrder
in classA_CmsWorkplaceAppConfiguration
- Returns:
- the integer used as a sort key
- See Also:
-
getPriority
Description copied from interface:I_CmsWorkplaceAppConfiguration
Gets 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:
getPriority
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getPriority
in classA_CmsWorkplaceAppConfiguration
- Returns:
- the priority
- See Also:
-
getRequiredRole
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the user role required for this app.- Specified by:
getRequiredRole
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getRequiredRole
in classA_CmsWorkplaceAppConfiguration
- Returns:
- the required user role
- See Also:
-