com.atlassian.confluence.spaces.actions
Class AbstractLogoAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.spaces.actions.AbstractLogoAction
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
Direct Known Subclasses:
ConfigureGlobalLogoAction, ConfigureSpaceLogoAction

public abstract class AbstractLogoAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
static java.lang.String CONFLUENCE_LOGO
           
protected static org.apache.log4j.Category log
           
static java.lang.String LOGO_KEY
           
protected  ResourceManager resourceManager
           
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, 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
AbstractLogoAction()
           
 
Method Summary
abstract  java.lang.String doDelete()
           
abstract  java.lang.String doDisableLogo()
           
abstract  java.lang.String doEnableLogo()
           
 java.lang.String doUpload()
           
abstract  java.lang.String getActionDescriminator()
          use this string to build the webwork action that forms in the view should submit to
 com.atlassian.core.util.bean.ImageInfo getImageInfo()
           
abstract  Resource getLogoResource()
           
 Space getSpace()
           
abstract  boolean isLogoDisabled()
           
 void setResourceManager(DefaultResourceManager defaultResourceManager)
           
 
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, isPermitted, isPermittedAsString, isPrintableVersion, 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, 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 java.lang.String LOGO_KEY
See Also:
Constant Field Values

resourceManager

protected ResourceManager resourceManager

space

protected Space space

CONFLUENCE_LOGO

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

AbstractLogoAction

public AbstractLogoAction()
Method Detail

doDelete

public abstract java.lang.String doDelete()

doDisableLogo

public abstract java.lang.String doDisableLogo()

doEnableLogo

public abstract java.lang.String doEnableLogo()

isLogoDisabled

public abstract boolean isLogoDisabled()

getLogoResource

public abstract Resource getLogoResource()

getActionDescriminator

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


doUpload

public java.lang.String doUpload()

getSpace

public Space getSpace()

setResourceManager

public void setResourceManager(DefaultResourceManager defaultResourceManager)

getImageInfo

public com.atlassian.core.util.bean.ImageInfo getImageInfo()


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