com.atlassian.confluence.admin.actions
Class AttachmentStorageSetupAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.confluence.core.ConfluenceActionSupport
          extended by com.atlassian.confluence.admin.actions.AttachmentStorageSetupAction
All Implemented Interfaces:
WebInterface, MessageHolderAware, 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:
AttachmentMigrationAction

public class AttachmentStorageSetupAction
extends ConfluenceActionSupport

See Also:
Serialized Form

Field Summary
protected  java.lang.String attachmentStorageType
           
protected  java.util.List attachmentStorageTypes
           
protected  java.lang.String originalAttachmentStorageType
           
protected  java.lang.String webdavPassword
           
protected  java.lang.String webdavServerUrl
           
protected  java.lang.String webdavUsername
           
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, 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
AttachmentStorageSetupAction()
           
 
Method Summary
 java.lang.String doDefault()
          Default webwork action execution method.
 java.lang.String execute()
           
 java.lang.String getAttachmentStorageType()
           
 java.util.List getAttachmentStorageTypes()
           
 java.lang.String getLocalAttachmentDirectory()
           
 java.lang.String getOriginalAttachmentStorageType()
           
 java.lang.String getWebdavPassword()
           
 java.lang.String getWebdavServerUrl()
           
 java.lang.String getWebdavUsername()
           
 boolean isDatabaseConfigured()
           
 boolean isFileSystemConfigured()
           
 boolean isPermitted()
           
 boolean isWebDavConfigured()
           
 void setAttachmentStorageType(java.lang.String attachmentStorageType)
           
 void setAttachmentStorageTypes(java.util.List attachmentStorageTypes)
           
 void setWebdavPassword(java.lang.String webdavPassword)
           
 void setWebdavServerUrl(java.lang.String webdavServerUrl)
           
 void setWebdavUsername(java.lang.String webdavUsername)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, 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
 
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
 

Field Detail

attachmentStorageTypes

protected java.util.List attachmentStorageTypes

attachmentStorageType

protected java.lang.String attachmentStorageType

originalAttachmentStorageType

protected java.lang.String originalAttachmentStorageType

webdavServerUrl

protected java.lang.String webdavServerUrl

webdavUsername

protected java.lang.String webdavUsername

webdavPassword

protected java.lang.String webdavPassword
Constructor Detail

AttachmentStorageSetupAction

public AttachmentStorageSetupAction()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Description copied from class: ConfluenceActionSupport
Default webwork action execution method.

Overrides:
doDefault in class ConfluenceActionSupport
Returns:
the action result
Throws:
java.lang.Exception - if something goes wrong

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

getLocalAttachmentDirectory

public java.lang.String getLocalAttachmentDirectory()

isWebDavConfigured

public boolean isWebDavConfigured()

isFileSystemConfigured

public boolean isFileSystemConfigured()

isDatabaseConfigured

public boolean isDatabaseConfigured()

getAttachmentStorageTypes

public java.util.List getAttachmentStorageTypes()

setAttachmentStorageTypes

public void setAttachmentStorageTypes(java.util.List attachmentStorageTypes)

getAttachmentStorageType

public java.lang.String getAttachmentStorageType()

setAttachmentStorageType

public void setAttachmentStorageType(java.lang.String attachmentStorageType)

getOriginalAttachmentStorageType

public java.lang.String getOriginalAttachmentStorageType()

getWebdavServerUrl

public java.lang.String getWebdavServerUrl()

setWebdavServerUrl

public void setWebdavServerUrl(java.lang.String webdavServerUrl)

getWebdavUsername

public java.lang.String getWebdavUsername()

setWebdavUsername

public void setWebdavUsername(java.lang.String webdavUsername)

getWebdavPassword

public java.lang.String getWebdavPassword()

setWebdavPassword

public void setWebdavPassword(java.lang.String webdavPassword)

isPermitted

public boolean isPermitted()
Overrides:
isPermitted in class ConfluenceActionSupport


Copyright © 2003-2014 Atlassian. All Rights Reserved.