public abstract class AbstractThemeAction extends AbstractLookAndFeelAction
| Modifier and Type | Field and Description |
|---|---|
protected String |
themeKey |
colourSchemeManager, layoutHelperkey, notificationManager, space, spaceManager, themeManager, wikiStyleRendererCANCEL, contentUiSupport, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager| Constructor and Description |
|---|
AbstractThemeAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
List |
getAvailableThemeDescriptors() |
protected abstract String |
getConfigPath(ThemeModuleDescriptor descriptor)
returns the Config Path for the theme defined in the theme plugin.xml
|
ThemeModuleDescriptor |
getCurrentThemeDescriptor() |
protected abstract String |
getCurrentThemeKey() |
String |
getThemeKey() |
boolean |
hasIcon(ThemeModuleDescriptor descriptor) |
protected abstract void |
setTheme(String themeKey) |
void |
setThemeKey(String themeKey) |
void |
validate() |
getColourSchemeManager, getLayoutHelper, isCustomeThemeSet, isPermitted, isThemeSet, setColourSchemeManager, setLayoutHelpergetKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRendereraddActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManageraddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrorsprotected String themeKey
public void setThemeKey(String themeKey)
public String getThemeKey()
public List getAvailableThemeDescriptors()
public void validate()
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupportpublic String execute()
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportprotected abstract void setTheme(String themeKey)
public ThemeModuleDescriptor getCurrentThemeDescriptor()
public boolean hasIcon(ThemeModuleDescriptor descriptor)
protected abstract String getCurrentThemeKey()
protected abstract String getConfigPath(ThemeModuleDescriptor descriptor)
Copyright © 2003–2016 Atlassian. All rights reserved.