Package com.avoka.fc.core.bean
Class UserBulkImportResult
java.lang.Object
com.avoka.fc.core.bean.UserBulkImportResult
Provides a bean storing the outcome of a user bulk import operation.
-
Field Summary
Modifier and TypeFieldDescriptionIf the import itself fails with a fatal error, this value will be set to the errorThe list of import failures, consisting of user names and failure reasonsThe list of user names that were importedThe list of user names that were skipped (generally because the user already exists) -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Marks the import as failed and stores the exception describing the failureboolean
Return whether the import was successful
-
Field Details
-
importedUsers
The list of user names that were imported -
skippedUsers
The list of user names that were skipped (generally because the user already exists) -
failedUsers
The list of import failures, consisting of user names and failure reasons -
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
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
-