com.atlassian.confluence.setup.actions
Class AbstractSetupAction

java.lang.Object
  extended bycom.opensymphony.xwork.ActionSupport
      extended bycom.atlassian.confluence.core.ConfluenceActionSupport
          extended bycom.atlassian.confluence.setup.actions.AbstractSetupAction
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:
AbstractSetupDatabaseAction, ChecklistAction, FinishSetupAction, SelectGlobalLocaleAction, SelectSetupStepAction, SetupAdministrator, SetupClusterAction, SetupDataAction, SetupDemoContentAction, SetupLicenseAction, SetupPathsAction, WebDAVSetupAction

public class AbstractSetupAction
extends ConfluenceActionSupport

This action communicates with BootstrapManager. BootstrapManager remembers state persistence for the setup cycle.

All control for setup sequences is, funnily enough, seated in xwork.xml (the Controller).

See Also:
Serialized Form

Field Summary
static String DEMO_CONTENT_ZIP_FILE
           
protected static String SETUP_CLUSTER
           
protected static String SETUP_CONTENT_BLANK
           
protected static String SETUP_CONTENT_DEMO
           
protected static String SETUP_CONTENT_IMPORT
           
protected static String SETUP_CUSTOM
           
protected static String SETUP_DB_CONN_TYPE
           
protected static String SETUP_DB_DATASOURCE
           
protected static String SETUP_DB_EMBEDDED
           
protected static String SETUP_DB_OTHER
           
protected static String SETUP_DB_STANDARD
           
protected static String SETUP_DB_TYPE_DATASOURCE
           
protected static String SETUP_DB_TYPE_EMBEDDED
           
protected static String SETUP_DB_TYPE_STANDARD
           
protected static String SETUP_QUICK
           
 
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, 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
AbstractSetupAction()
           
 
Method Summary
 BootstrapManager getBootstrapManager()
           
 LanguageManager getLanguageManager()
           
 Locale getLocale()
           
 PluginManager getPluginManager()
           
 SetupPersister getSetupPersister()
           
 boolean isPermitted()
          override the parent's implementation - everyone is allowed to perform a setup action.
 void setPluginManager(PluginManager pluginManager)
           
 void setSetupPersister(SetupPersister setupPersister)
           
 
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addPermissionTypeTo, addToHistory, doDefault, getActionName, getCancelResult, getDateFormatter, getDefaultResourceBundle, getEditorLanguage, getEventManager, getGlobalHelper, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageUserFriendly, 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, isPermittedAsString, isPrintableVersion, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, 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

DEMO_CONTENT_ZIP_FILE

public static final String DEMO_CONTENT_ZIP_FILE
See Also:
Constant Field Values

SETUP_QUICK

protected static final String SETUP_QUICK
See Also:
Constant Field Values

SETUP_CLUSTER

protected static final String SETUP_CLUSTER
See Also:
Constant Field Values

SETUP_CUSTOM

protected static final String SETUP_CUSTOM
See Also:
Constant Field Values

SETUP_DB_EMBEDDED

protected static final String SETUP_DB_EMBEDDED
See Also:
Constant Field Values

SETUP_DB_STANDARD

protected static final String SETUP_DB_STANDARD
See Also:
Constant Field Values

SETUP_DB_DATASOURCE

protected static final String SETUP_DB_DATASOURCE
See Also:
Constant Field Values

SETUP_DB_OTHER

protected static final String SETUP_DB_OTHER
See Also:
Constant Field Values

SETUP_DB_CONN_TYPE

protected static final String SETUP_DB_CONN_TYPE
See Also:
Constant Field Values

SETUP_DB_TYPE_STANDARD

protected static final String SETUP_DB_TYPE_STANDARD
See Also:
Constant Field Values

SETUP_DB_TYPE_DATASOURCE

protected static final String SETUP_DB_TYPE_DATASOURCE
See Also:
Constant Field Values

SETUP_DB_TYPE_EMBEDDED

protected static final String SETUP_DB_TYPE_EMBEDDED
See Also:
Constant Field Values

SETUP_CONTENT_BLANK

protected static final String SETUP_CONTENT_BLANK
See Also:
Constant Field Values

SETUP_CONTENT_DEMO

protected static final String SETUP_CONTENT_DEMO
See Also:
Constant Field Values

SETUP_CONTENT_IMPORT

protected static final String SETUP_CONTENT_IMPORT
See Also:
Constant Field Values
Constructor Detail

AbstractSetupAction

public AbstractSetupAction()
Method Detail

setSetupPersister

public void setSetupPersister(SetupPersister setupPersister)

getSetupPersister

public SetupPersister getSetupPersister()

isPermitted

public boolean isPermitted()
override the parent's implementation - everyone is allowed to perform a setup action.

Overrides:
isPermitted in class ConfluenceActionSupport
Returns:
true always

getBootstrapManager

public BootstrapManager getBootstrapManager()
Overrides:
getBootstrapManager in class ConfluenceActionSupport

getLocale

public Locale getLocale()
Specified by:
getLocale in interface com.opensymphony.xwork.LocaleProvider
Overrides:
getLocale in class ConfluenceActionSupport

setPluginManager

public void setPluginManager(PluginManager pluginManager)

getPluginManager

public PluginManager getPluginManager()

getLanguageManager

public LanguageManager getLanguageManager()
Overrides:
getLanguageManager in class ConfluenceActionSupport


Confluence is developed by Atlassian.