public class ConfigureSpaceLogoAction extends AbstractLogoAction implements SpaceAware, Spaced, BreadcrumbAware
Modifier and Type | Field and Description |
---|---|
protected ThemeManager |
themeManager |
attachmentManager, fileUploadManager, log
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
ConfigureSpaceLogoAction() |
Modifier and Type | Method and Description |
---|---|
String |
doDelete() |
String |
doDisableLogo() |
String |
doEnableLogo() |
String |
doUpload() |
String |
getActionDescriminator()
use this string to build the webwork action that forms in the view should submit to
|
protected String |
getAttachmentName() |
Breadcrumb |
getBreadcrumb()
Returns the breadcrumb to be shown when the action is accessed.
|
protected SpaceDescription |
getContentToAttachLogoTo() |
Space |
getSpace() |
ThemeManager |
getThemeManager() |
boolean |
isLogoDisabled() |
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 |
setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator) |
void |
setKey(String key) |
void |
setSpace(Space space)
IOC method for setting the space on the action.
|
void |
setSpaceManager(SpaceManager spaceManager) |
void |
setThemeManager(ThemeManager themeManager) |
getLogo, setAttachmentManager, setFileUploadManager
addActionError, 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, getPermissionTypes, 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, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, execute, 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
validate
protected ThemeManager themeManager
public String doDisableLogo()
doDisableLogo
in class AbstractLogoAction
public String doEnableLogo()
doEnableLogo
in class AbstractLogoAction
public String doDelete()
doDelete
in class AbstractLogoAction
public String doUpload()
doUpload
in class AbstractLogoAction
public boolean isLogoDisabled()
isLogoDisabled
in class AbstractLogoAction
public String getActionDescriminator()
AbstractLogoAction
getActionDescriminator
in class AbstractLogoAction
public void setSpace(Space space)
SpaceAware
setSpace
in interface SpaceAware
space
- the space that the action will be working on.public boolean isSpaceRequired()
SpaceAware
isSpaceRequired
in interface SpaceAware
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface SpaceAware
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
protected SpaceDescription getContentToAttachLogoTo()
getContentToAttachLogoTo
in class AbstractLogoAction
protected String getAttachmentName()
getAttachmentName
in class AbstractLogoAction
public void setKey(String key)
public void setSpaceManager(SpaceManager spaceManager)
public void setThemeManager(ThemeManager themeManager)
public void setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator)
public ThemeManager getThemeManager()
public Breadcrumb getBreadcrumb()
BreadcrumbAware
getBreadcrumb
in interface BreadcrumbAware
Copyright © 2003–2016 Atlassian. All rights reserved.