com.atlassian.confluence.core.actions
Class CombinedStylesheetAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.core.actions.CombinedStylesheetAction
All Implemented Interfaces:
WebInterface, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable

public class CombinedStylesheetAction
extends ConfluenceActionSupport

Action to display the space- or global-specific styles based on active colour scheme and theme on the relevant space or global scope.

Closely related to the associated Velocity template, combined-css.vm. Be sure to search for usages there before removing or renaming any methods.

See Also:
Serialized Form

Field Summary
static java.lang.String RESULT_SETUP
           
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, 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
CombinedStylesheetAction()
           
 
Method Summary
 java.lang.String execute()
           
 Editor getEditor()
           
 java.lang.String getSpaceKey()
           
 Theme getTheme()
           
 java.util.List<java.lang.String> getWysiwygResourceUrls()
           
 boolean isForWysiwyg()
           
 boolean isPermitted()
           
 void setEditorManager(EditorManager editorManager)
           
 void setForWysiwyg(boolean forWysiwyg)
           
 void setSpaceKey(java.lang.String spaceKey)
           
 void setThemeManager(ThemeManager themeManager)
           
 void setWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEventManager, getFriendlyDateFormatter, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSpaceHelper, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager
 
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, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT_SETUP

public static final java.lang.String RESULT_SETUP
See Also:
Constant Field Values
Constructor Detail

CombinedStylesheetAction

public CombinedStylesheetAction()
Method Detail

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class ConfluenceActionSupport

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport
Throws:
java.lang.Exception

getWysiwygResourceUrls

public java.util.List<java.lang.String> getWysiwygResourceUrls()

setSpaceKey

public void setSpaceKey(java.lang.String spaceKey)

getSpaceKey

public java.lang.String getSpaceKey()

setForWysiwyg

public void setForWysiwyg(boolean forWysiwyg)

isForWysiwyg

public boolean isForWysiwyg()

getEditor

public Editor getEditor()

setEditorManager

public void setEditorManager(EditorManager editorManager)

setThemeManager

public void setThemeManager(ThemeManager themeManager)

setWebResourceManager

public void setWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)

getTheme

public Theme getTheme()


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.