public class DirectoryImporter extends BaseDirectoryImporter implements org.apache.struts2.interceptor.SessionAware
HREF_BASE_PATH, IMPORTER_CONFIGURATION, logger, result
actionHelper, actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, rememberMeService, SMALL_AVATAR_SIZE, smallAvatarUrl, tab, tokenAuthenticationManager
Constructor and Description |
---|
DirectoryImporter() |
Modifier and Type | Method and Description |
---|---|
boolean |
determineIfNestedGroupImport() |
String |
execute() |
DirectoryConfiguration |
getConfiguration() |
boolean |
getOverwriteTarget() |
Long |
getSourceDirectoryID() |
Long |
getTargetDirectoryID() |
String |
performImport() |
void |
setOverwriteTarget(boolean overwriteTarget) |
void |
setSession(Map session) |
void |
setSourceDirectoryID(Long sourceDirectoryID) |
void |
setTargetDirectoryID(Long targetDirectoryID) |
getProgressSteps
getDirectories, getImportTypeStep, getOptionsStep, getProgressSteps, getResult, getResultsStep, setDirectories, setResult
getStep, getStep, getStep, getStep, getStep, getStep
addActionError, addActionMessage, applyFieldError, applyFieldErrors, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, 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, isEvaluation, isGroupAdmin, isInitialLoad, isLicenseExpired, isRestartRequiredToEnableClustering, isSubscription, isSysAdmin, isWithinGracePeriod, renderFreemarkerTemplate, resolveAvatarUri, setActionHelper, setApplicationManager, setApplicationService, setClientProperties, setClusterService, setCrowdApplication, setCrowdLicenseManager, setDirectoryManager, setPropertyManager, setRememberMeService, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
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
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
Exception
public String performImport() throws DirectoryInstantiationException, DirectoryNotFoundException
public boolean determineIfNestedGroupImport() throws DirectoryInstantiationException, DirectoryNotFoundException
public DirectoryConfiguration getConfiguration()
public Long getSourceDirectoryID()
public void setSourceDirectoryID(Long sourceDirectoryID)
public boolean getOverwriteTarget()
public void setOverwriteTarget(boolean overwriteTarget)
public Long getTargetDirectoryID()
public void setTargetDirectoryID(Long targetDirectoryID)
public void setSession(Map session)
setSession
in interface org.apache.struts2.interceptor.SessionAware
Copyright © 2020 Atlassian. All rights reserved.