com.atlassian.crowd.console.action.setup
Class LegacyDatabaseCheck

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.setup.BaseSetupAction
              extended by com.atlassian.crowd.console.action.setup.LegacyDatabaseCheck
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class LegacyDatabaseCheck
extends BaseSetupAction

Checks if the database contains legacy data (ie. data prior to Crowd 1.3). If it does not then halt and report an error.

See Also:
Serialized Form

Field Summary
static java.lang.String LEGACY_CHECK_STEP
           
 
Fields inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
SELECT_SETUP_STEP
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, crowdLicenseManager, directoryManager, initialLoad, tab
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
LegacyDatabaseCheck()
           
 
Method Summary
 java.lang.String doDefault()
           
 int getDataBuild()
           
 java.lang.String getStepName()
           
 void setPropertyManager(PropertyManager propertyManager)
           
 
Methods inherited from class com.atlassian.crowd.console.action.setup.BaseSetupAction
doUpdate, getSetupPersister, isApplicationHomeOk, isAtCorrectStep, isEverythingOk, isJdk15, isServlet24, setSetupPersister
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, assignDefaultApplicationPermissions, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPrincipalName, getRemotePrincipal, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, renderFreemarkerTemplate, setApplicationDirectoryPermissionDAO, setApplicationManager, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setTab, setWebInterfaceManager, updateAuthenticationStatus
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEGACY_CHECK_STEP

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

LegacyDatabaseCheck

public LegacyDatabaseCheck()
Method Detail

getStepName

public java.lang.String getStepName()
Specified by:
getStepName in class BaseSetupAction

doDefault

public java.lang.String doDefault()
Overrides:
doDefault in class BaseSetupAction

getDataBuild

public int getDataBuild()

setPropertyManager

public void setPropertyManager(PropertyManager propertyManager)
Overrides:
setPropertyManager in class BaseAction


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.