Class DirectoryConfirmation
java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.BaseProgressStepAction
com.atlassian.crowd.console.action.dataimport.BaseImporter
com.atlassian.crowd.console.action.dataimport.BaseDirectoryImporter
com.atlassian.crowd.console.action.dataimport.DirectoryConfirmation
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
,org.apache.struts2.interceptor.SessionAware
public class DirectoryConfirmation
extends BaseDirectoryImporter
implements org.apache.struts2.interceptor.SessionAware
Action class to handle the confirmation of the Directory mappingsm
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.crowd.console.action.dataimport.BaseImporter
HREF_BASE_PATH, IMPORTER_CONFIGURATION, logger, result
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, clusterService, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
boolean
void
setConfiguration
(DirectoryConfiguration configuration) void
setImporterManager
(ImporterManager importerManager) void
setSession
(Map session) update()
Methods inherited from class com.atlassian.crowd.console.action.dataimport.BaseDirectoryImporter
getProgressSteps
Methods inherited from class com.atlassian.crowd.console.action.dataimport.BaseImporter
getDirectories, getImportTypeStep, getOptionsStep, getProgressSteps, getResult, getResultsStep, setDirectories, setResult
Methods inherited from class com.atlassian.crowd.console.action.BaseProgressStepAction
getStep, getStep, getStep, getStep, getStep, getStep
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionError, addActionMessage, applyFieldError, applyFieldErrors, applyValidationErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, bindInformationAboutLicense, containsActionMessages, containsErrorMessages, directory, findAvatarUrl, getActionMessageAlertColor, getBootstrapManager, getCrowdApplication, getCurrentLicenseResourceTotal, getDisplayableLink, getHttpRequest, getImageLocation, getImageTitle, getLabel, getLicense, getLink, getLocaleProvider, getPasswordComplexityMessage, getRemoteUser, getSession, getSitemeshPageProperties, getSmallAvatarUrl, getTab, getText, getText, getTextProvider, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAtResourceLimit, isAuthenticated, isDataCenterLicense, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isLicenseForged, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
Constructor Details
-
DirectoryConfirmation
public DirectoryConfirmation()
-
-
Method Details
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classBaseAction
- Throws:
Exception
-
update
-
getSourceDirectoryName
- Throws:
DirectoryNotFoundException
-
getTargetDirectoryName
- Throws:
DirectoryNotFoundException
-
getDoNestedGroupImport
public boolean getDoNestedGroupImport() throws DirectoryInstantiationException, DirectoryNotFoundException -
getOverwriteDirectory
-
performImport
-
setSession
- Specified by:
setSession
in interfaceorg.apache.struts2.interceptor.SessionAware
-
getConfiguration
-
setConfiguration
-
setImporterManager
-