public interface I_CmsWorkplaceAppConfiguration extends I_CmsHasOrder
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PRIORIY
Default priority.
|
| 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).
|
I_CmsWorkplaceApp |
getAppInstance()
Returns a new app instance.
|
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.
|
com.vaadin.server.Resource |
getIcon()
Returns the app icon resource.
|
java.lang.String |
getId()
Returns the unique app id.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the display name of the app.
|
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.
|
getOrderstatic final int DEFAULT_PRIORIY
java.lang.String getAppCategory()
I_CmsWorkplaceApp getAppInstance()
java.lang.String getButtonStyle()
java.lang.String getHelpText(java.util.Locale locale)
locale - the locale to usecom.vaadin.server.Resource getIcon()
java.lang.String getId()
java.lang.String getName(java.util.Locale locale)
locale - the user localeint getPriority()
Between two apps with the same id and different priorities, the one with the higher priority will override the one with the lower priority.
CmsRole getRequiredRole()
CmsAppVisibilityStatus getVisibility(CmsObject cms)
cms - the user context