public class ImportJive extends BaseImporter
Modifier and Type | Field and Description |
---|---|
protected long |
directoryID |
protected long |
groupImportCount |
protected long |
userImportCount |
HREF_BASE_PATH, IMPORTER_CONFIGURATION, logger, result
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
Constructor and Description |
---|
ImportJive() |
Modifier and Type | Method and Description |
---|---|
protected static void |
closeConnection(Connection conn) |
protected static void |
closePreparedStatment(PreparedStatement stmt) |
protected static void |
closeResultSet(ResultSet rs) |
protected void |
doValidation() |
String |
execute() |
Connection |
getConnection() |
long |
getDirectoryID() |
String |
getDriver() |
long |
getGroupImportCount() |
String |
getPassword() |
String |
getUrl() |
long |
getUserImportCount() |
String |
getUsername() |
protected Map |
importGroups(ResultSet groupsRs) |
protected void |
importUsers(ResultSet usersRs,
Connection conn,
Map groupMemberships) |
void |
setDirectoryID(long directoryID) |
void |
setDriver(String driver) |
void |
setPassword(String password) |
void |
setUrl(String url) |
void |
setUsername(String username) |
String |
update() |
getDirectories, getImportTypeStep, getOptionsStep, getProgressSteps, getProgressSteps, getResult, getResultsStep, setDirectories, setResult
getStep, getStep, getStep, getStep, getStep, getStep
addActionError, addActionMessage, applyFieldError, applyFieldErrors, 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, 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
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
protected long groupImportCount
protected long userImportCount
protected long directoryID
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class BaseAction
public String update()
protected void importUsers(ResultSet usersRs, Connection conn, Map groupMemberships) throws Exception
Exception
public Connection getConnection() throws SQLException
SQLException
public String getUrl()
public void setUrl(String url)
public String getDriver()
public void setDriver(String driver)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
protected void doValidation()
public long getGroupImportCount()
public long getUserImportCount()
protected static void closeResultSet(ResultSet rs)
protected static void closePreparedStatment(PreparedStatement stmt)
protected static void closeConnection(Connection conn)
public long getDirectoryID()
public void setDirectoryID(long directoryID)
Copyright © 2021 Atlassian. All rights reserved.