Class ImportAdminUserService

    • Constructor Detail

      • ImportAdminUserService

        public ImportAdminUserService()
    • Method Detail

      • getAttributesSeparator

        public java.lang.Character getAttributesSeparator()
        Get the separator used for attributes of admin users.
        Returns:
        The separator
      • getUpdateExistingUsers

        public boolean getUpdateExistingUsers()
        Get the update users flag
        Returns:
        True if existing users should be updated, false if they should be ignored.
      • setUpdateExistingUsers

        public void setUpdateExistingUsers​(boolean bUpdateExistingUsers)
        Set the update users flag
        Parameters:
        bUpdateExistingUsers - True if existing users should be updated, false if they should be ignored.
      • getImportFromFileTemplate

        public abstract java.lang.String getImportFromFileTemplate()
        Get the HTML template for importing users from file
        Returns:
        the template path
      • getNbMinColumns

        public abstract int getNbMinColumns()
        Get the number min of CSV columns
        Returns:
        the min number of columns
      • getAccessCode

        public abstract java.lang.String getAccessCode​(java.lang.String[] strLineDataArray)
        Get the access code from data array
        Parameters:
        strLineDataArray - the data array
        Returns:
        the access code
      • getEmail

        public abstract java.lang.String getEmail​(java.lang.String[] strLineDataArray)
        Get the email from CSV columns
        Parameters:
        strLineDataArray - the data array
        Returns:
        the email