Class UserBulkImportResult

java.lang.Object
com.avoka.fc.core.bean.UserBulkImportResult

public class UserBulkImportResult extends Object
Provides a bean storing the outcome of a user bulk import operation.
  • Field Details

    • importedUsers

      public List<String> importedUsers
      The list of user names that were imported
    • skippedUsers

      public List<String> skippedUsers
      The list of user names that were skipped (generally because the user already exists)
    • failedUsers

      public List<Pair<String,String>> failedUsers
      The list of import failures, consisting of user names and failure reasons
    • error

      public ApplicationException error
      If the import itself fails with a fatal error, this value will be set to the error
  • Constructor Details

    • UserBulkImportResult

      public UserBulkImportResult()
  • Method Details

    • failImport

      public void failImport(ApplicationException ae)
      Marks the import as failed and stores the exception describing the failure
      Parameters:
      ae - the exception
    • wasSuccessful

      public boolean wasSuccessful()
      Return whether the import was successful
      Returns:
      true if the import was successful