public abstract class A_CmsWorkplaceAppConfiguration extends java.lang.Object implements I_CmsWorkplaceAppConfiguration
DEFAULT_PRIORIY| Constructor and Description |
|---|
A_CmsWorkplaceAppConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAppCategory()
Gets the id of the app category in which this app should be displayed (null for the root category).
|
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.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the display name of the app.
|
int |
getOrder()
Gets an integer used to sort items.
|
int |
getPriority()
Gets the priority of the app configuration.
|
CmsRole |
getRequiredRole()
Returns the user role required for this app.
|
CmsAppVisibilityStatus |
getVisibility(CmsObject cms)
Returns the visibility status of the app for the given user context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAppInstance, getIcon, getIdpublic A_CmsWorkplaceAppConfiguration()
public java.lang.String getAppCategory()
I_CmsWorkplaceAppConfigurationgetAppCategory in interface I_CmsWorkplaceAppConfigurationI_CmsWorkplaceAppConfiguration.getAppCategory()public java.lang.String getButtonStyle()
I_CmsWorkplaceAppConfigurationgetButtonStyle in interface I_CmsWorkplaceAppConfigurationI_CmsWorkplaceAppConfiguration.getButtonStyle()public java.lang.String getHelpText(java.util.Locale locale)
I_CmsWorkplaceAppConfigurationgetHelpText in interface I_CmsWorkplaceAppConfigurationlocale - the locale to useI_CmsWorkplaceAppConfiguration.getHelpText(java.util.Locale)public java.lang.String getName(java.util.Locale locale)
I_CmsWorkplaceAppConfigurationgetName in interface I_CmsWorkplaceAppConfigurationlocale - the user localeI_CmsWorkplaceAppConfiguration.getName(java.util.Locale)public int getOrder()
I_CmsHasOrdergetOrder in interface I_CmsHasOrderI_CmsHasOrder.getOrder()public int getPriority()
I_CmsWorkplaceAppConfigurationBetween two apps with the same id and different priorities, the one with the higher priority will override the one with the lower priority.
getPriority in interface I_CmsWorkplaceAppConfigurationI_CmsWorkplaceAppConfiguration.getPriority()public CmsRole getRequiredRole()
I_CmsWorkplaceAppConfigurationgetRequiredRole in interface I_CmsWorkplaceAppConfigurationI_CmsWorkplaceAppConfiguration.getRequiredRole()public CmsAppVisibilityStatus getVisibility(CmsObject cms)
I_CmsWorkplaceAppConfigurationgetVisibility in interface I_CmsWorkplaceAppConfigurationcms - the user contextI_CmsWorkplaceAppConfiguration.getVisibility(org.opencms.file.CmsObject)