com.atlassian.crowd.console.action.dataimport
Class ImportJive

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.dataimport.ImportType
              extended by com.atlassian.crowd.console.action.dataimport.ImportJive
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 ImportJive
extends ImportType

See Also:
Serialized Form

Field Summary
protected  long directoryID
           
protected  long groupImportCount
           
protected  long userImportCount
           
 
Fields inherited from class com.atlassian.crowd.console.action.dataimport.ImportType
logger
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, crowdLicenseManager, directoryManager, initialLoad, propertyManager, 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
ImportJive()
           
 
Method Summary
protected static void closeConnection(java.sql.Connection conn)
           
protected static void closePreparedStatment(java.sql.PreparedStatement stmt)
           
protected static void closeResultSet(java.sql.ResultSet rs)
           
 java.lang.String doDefault()
           
 java.lang.String doUpdate()
           
protected  void doValidation()
           
 java.sql.Connection getConnection()
           
 java.util.List getDirectories()
           
 long getDirectoryID()
           
 java.lang.String getDriver()
           
 long getGroupImportCount()
           
 java.lang.String getPassword()
           
 java.lang.String getUrl()
           
 long getUserImportCount()
           
 java.lang.String getUsername()
           
protected  java.util.Map importGroups(java.sql.ResultSet groupsRs)
           
protected  void importUsers(java.sql.ResultSet usersRs, java.sql.Connection conn, java.util.Map groupMemberships)
           
 void setDirectoryID(long directoryID)
           
 void setDriver(java.lang.String driver)
           
 void setPassword(java.lang.String password)
           
 void setUrl(java.lang.String url)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class com.atlassian.crowd.console.action.dataimport.ImportType
execute
 
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, setPropertyManager, setTab, setWebInterfaceManager, updateAuthenticationStatus
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, 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

groupImportCount

protected long groupImportCount

userImportCount

protected long userImportCount

directoryID

protected long directoryID
Constructor Detail

ImportJive

public ImportJive()
Method Detail

doDefault

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

doUpdate

public java.lang.String doUpdate()

importUsers

protected void importUsers(java.sql.ResultSet usersRs,
                           java.sql.Connection conn,
                           java.util.Map groupMemberships)
                    throws java.lang.Exception
Throws:
java.lang.Exception

importGroups

protected java.util.Map importGroups(java.sql.ResultSet groupsRs)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

getDriver

public java.lang.String getDriver()

setDriver

public void setDriver(java.lang.String driver)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String username)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

doValidation

protected void doValidation()

getDirectories

public java.util.List getDirectories()

getGroupImportCount

public long getGroupImportCount()

getUserImportCount

public long getUserImportCount()

closeResultSet

protected static void closeResultSet(java.sql.ResultSet rs)

closePreparedStatment

protected static void closePreparedStatment(java.sql.PreparedStatement stmt)

closeConnection

protected static void closeConnection(java.sql.Connection conn)

getDirectoryID

public long getDirectoryID()

setDirectoryID

public void setDirectoryID(long directoryID)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.