com.atlassian.confluence.spaces.actions
Class AbstractLogoAction

java.lang.Object
  extended bycom.opensymphony.xwork.ActionSupport
      extended bycom.atlassian.confluence.core.ConfluenceActionSupport
          extended bycom.atlassian.confluence.spaces.actions.AbstractLogoAction
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, Serializable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware
Direct Known Subclasses:
ConfigureGlobalLogoAction, ConfigureSpaceLogoAction

public abstract class AbstractLogoAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
static String CONFLUENCE_LOGO
           
protected static org.apache.log4j.Category log
           
static String LOGO_KEY
           
protected  ResourceManager resourceManager
           
protected  SettingsManager settingsManager
           
protected  Space space
           
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, PREVIEW, 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
AbstractLogoAction()
           
 
Method Summary
abstract  String doDelete()
           
abstract  String doDisableLogo()
           
abstract  String doEnableLogo()
           
 String doUpload()
           
abstract  String getActionDescriminator()
          use this string to build the webwork action that forms in the view should submit to
 ImageInfo getImageInfo()
           
abstract  Resource getLogoResource()
           
 Space getSpace()
           
abstract  boolean isLogoDisabled()
           
 void setResourceManager(DefaultResourceManager defaultResourceManager)
           
 void setSettingsManager(SettingsManager settingsManager)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addPermissionTypeTo, addToHistory, doDefault, getActionName, getBootstrapManager, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEditorLanguage, getEventManager, 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, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermitted, isPermittedAsString, isPrintableVersion, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPreviousLoginDate, setSpacePermissionManager, setUserAccessor, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, execute, 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

log

protected static final org.apache.log4j.Category log

LOGO_KEY

public static final String LOGO_KEY
See Also:
Constant Field Values

resourceManager

protected ResourceManager resourceManager

settingsManager

protected SettingsManager settingsManager

space

protected Space space

CONFLUENCE_LOGO

public static final String CONFLUENCE_LOGO
See Also:
Constant Field Values
Constructor Detail

AbstractLogoAction

public AbstractLogoAction()
Method Detail

doDelete

public abstract String doDelete()

doDisableLogo

public abstract String doDisableLogo()

doEnableLogo

public abstract String doEnableLogo()

isLogoDisabled

public abstract boolean isLogoDisabled()

getLogoResource

public abstract Resource getLogoResource()

getActionDescriminator

public abstract String getActionDescriminator()
use this string to build the webwork action that forms in the view should submit to


doUpload

public String doUpload()

getSpace

public Space getSpace()

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)
Overrides:
setSettingsManager in class ConfluenceActionSupport

setResourceManager

public void setResourceManager(DefaultResourceManager defaultResourceManager)

getImageInfo

public ImageInfo getImageInfo()


Confluence is developed by Atlassian.