public class SpaceEditStylesheetAction extends AbstractSpaceAdminAction implements LookAndFeel, SpaceAware
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SpaceEditStylesheetAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDefault()
Default webwork action execution method.
|
String |
doReset() |
String |
execute() |
String |
getStyle() |
boolean |
isPermitted() |
boolean |
isSpaceRequired()
If the action requires that the space be set before being run, then it should
return true to this method.
|
boolean |
isViewPermissionRequired() |
void |
setPermissionManager(PermissionManager permissionManager) |
void |
setStyle(String style) |
void |
setStylesheetManager(StylesheetManager stylesheetManager) |
getPermissionTypes
getKey, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, 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, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setSpace
validate
public boolean isPermitted()
isPermitted
in class AbstractSpaceAction
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class AbstractSpaceAdminAction
Exception
- if something goes wrongpublic String doReset()
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public String getStyle()
public void setStyle(String style)
public void setPermissionManager(PermissionManager permissionManager)
setPermissionManager
in class ConfluenceActionSupport
public boolean isSpaceRequired()
SpaceAware
isSpaceRequired
in interface SpaceAware
isSpaceRequired
in class AbstractSpaceAdminAction
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface SpaceAware
isViewPermissionRequired
in class AbstractSpaceAdminAction
public void setStylesheetManager(StylesheetManager stylesheetManager)
Copyright © 2003–2018 Atlassian. All rights reserved.