|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.spaces.actions.AbstractSpaceAction com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction com.atlassian.confluence.admin.actions.lookandfeel.AbstractThemeAction com.atlassian.confluence.spaces.actions.ChooseThemeAction
public class ChooseThemeAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.admin.actions.lookandfeel.AbstractThemeAction |
---|
themeKey |
Fields inherited from class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction |
---|
colourSchemeManager, layoutHelper |
Fields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction |
---|
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ChooseThemeAction()
|
Method Summary | |
---|---|
java.lang.String |
getConfigPath(ThemeModuleDescriptor descriptor)
returns the context path for the space configuration. |
protected java.lang.String |
getCurrentThemeKey()
|
boolean |
isSpaceRequired()
If the action requires that the space be set before being run, then it should return true to this method. |
boolean |
isViewPermissionRequired()
|
protected void |
setTheme(java.lang.String themeKey)
|
Methods inherited from class com.atlassian.confluence.admin.actions.lookandfeel.AbstractThemeAction |
---|
execute, getAvailableThemeDescriptors, getCurrentThemeDescriptor, getThemeKey, hasIcon, setThemeKey, validate |
Methods inherited from class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction |
---|
getColourSchemeManager, getLayoutHelper, isCustomeThemeSet, isPermitted, isThemeSet, setColourSchemeManager, setLayoutHelper |
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction |
---|
getKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.confluence.spaces.actions.SpaceAware |
---|
setSpace |
Methods inherited from interface com.atlassian.confluence.spaces.Spaced |
---|
getSpace |
Constructor Detail |
---|
public ChooseThemeAction()
Method Detail |
---|
protected void setTheme(java.lang.String themeKey)
setTheme
in class AbstractThemeAction
protected java.lang.String getCurrentThemeKey()
getCurrentThemeKey
in class AbstractThemeAction
public java.lang.String getConfigPath(ThemeModuleDescriptor descriptor)
getConfigPath
in class AbstractThemeAction
descriptor
- - space configuration
public boolean isSpaceRequired()
SpaceAware
isSpaceRequired
in interface SpaceAware
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface SpaceAware
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |