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 ImportCsv extends BaseCsvImporter implements org.apache.struts2.interceptor.SessionAware
Where we build our Configuration for the CSV import
See Also:
  • Constructor Details

    • ImportCsv

      public ImportCsv()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
      Throws:
      Exception
    • performImport

      public String performImport() throws Exception
      Throws:
      Exception
    • getImportsDirectory

      public File getImportsDirectory() throws IOException
      Throws:
      IOException
    • getConfiguration

      public CsvConfiguration getConfiguration()
    • setUsers

      public void setUsers(String users)
    • setGroupMemberships

      public void setGroupMemberships(String groupMemberships)
    • setSession

      public void setSession(Map session)
      Specified by:
      setSession in interface org.apache.struts2.interceptor.SessionAware
    • getUsers

      public String getUsers()
    • getGroupMemberships

      public String getGroupMemberships()
    • getDelimiter

      public Character getDelimiter()
    • getEncryptedPasswords

      public String getEncryptedPasswords()
    • getDirectoryID

      public Long getDirectoryID()
    • setDirectoryID

      public void setDirectoryID(Long directoryID)
    • setDelimiter

      public void setDelimiter(Character delimiter)
    • setEncryptedPasswords

      public void setEncryptedPasswords(String encryptedPasswords)
    • getUserStatusMappingType

      public String getUserStatusMappingType()
    • setUserStatusMappingType

      public void setUserStatusMappingType(String userStatusMappingType)
    • getPasswordsEncrypted

      public List getPasswordsEncrypted()
    • setPasswordsEncrypted

      public void setPasswordsEncrypted(List passwordsEncrypted)
    • getUserStatusSettings

      public List getUserStatusSettings()
    • setDirectoryInstanceLoader

      public void setDirectoryInstanceLoader(DirectoryInstanceLoader directoryInstanceLoader)
    • setHomeDirectoryService

      public void setHomeDirectoryService(HomeDirectoryService homeDirectoryService)