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

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.BaseImporter
              extended by com.atlassian.crowd.console.action.dataimport.ImportCsv
All Implemented Interfaces:
com.opensymphony.webwork.interceptor.SessionAware, 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 ImportCsv
extends BaseImporter
implements com.opensymphony.webwork.interceptor.SessionAware

Where we build our Configuration for the CSV import

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.console.action.dataimport.BaseImporter
IMPORTER_CONFIGURATION, logger, result
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, propertyManager, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ImportCsv()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doExecute()
           
 CsvConfiguration getConfiguration()
           
 java.lang.Character getDelimiter()
           
 java.lang.Long getDirectoryID()
           
 java.lang.String getEncryptedPasswords()
           
 java.lang.String getGroupMemberships()
           
 java.util.List getPasswordsEncrypted()
           
 java.lang.String getUsers()
           
 void setDelimiter(java.lang.Character delimiter)
           
 void setDirectoryID(java.lang.Long directoryID)
           
 void setEncryptedPasswords(java.lang.String encryptedPasswords)
           
 void setGroupMemberships(java.lang.String groupMemberships)
           
 void setPasswordsEncrypted(java.util.List passwordsEncrypted)
           
 void setSession(java.util.Map session)
           
 void setUsers(java.lang.String users)
           
 
Methods inherited from class com.atlassian.crowd.console.action.dataimport.BaseImporter
getDirectories, getResult, setDirectories, setResult
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setApplicationManager, setApplicationService, setClientProperties, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager
 
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, 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
 

Constructor Detail

ImportCsv

public ImportCsv()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class BaseAction
Throws:
java.lang.Exception

doExecute

public java.lang.String doExecute()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getConfiguration

public CsvConfiguration getConfiguration()

setUsers

public void setUsers(java.lang.String users)

setGroupMemberships

public void setGroupMemberships(java.lang.String groupMemberships)

setSession

public void setSession(java.util.Map session)
Specified by:
setSession in interface com.opensymphony.webwork.interceptor.SessionAware

getUsers

public java.lang.String getUsers()

getGroupMemberships

public java.lang.String getGroupMemberships()

getDelimiter

public java.lang.Character getDelimiter()

getEncryptedPasswords

public java.lang.String getEncryptedPasswords()

getDirectoryID

public java.lang.Long getDirectoryID()

setDirectoryID

public void setDirectoryID(java.lang.Long directoryID)

setDelimiter

public void setDelimiter(java.lang.Character delimiter)

setEncryptedPasswords

public void setEncryptedPasswords(java.lang.String encryptedPasswords)

getPasswordsEncrypted

public java.util.List getPasswordsEncrypted()

setPasswordsEncrypted

public void setPasswordsEncrypted(java.util.List passwordsEncrypted)


Copyright © 2010 Atlassian. All Rights Reserved.