Package com.avoka.fc.core.bean
Class ImportResult
java.lang.Object
com.avoka.fc.core.bean.ImportResult
Provides an import bean containing information about a successfully completed import action.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionImportResult
(ImportResult.ImportType importType, String importMessage, List<String> warnings) Creates an ImportResult object using the specified parameters -
Method Summary
Modifier and TypeMethodDescriptionReturn the import messageReturn the import typeReturn the list of warnings
-
Constructor Details
-
ImportResult
public ImportResult(ImportResult.ImportType importType, String importMessage, List<String> warnings) Creates an ImportResult object using the specified parameters- Parameters:
importType
- the import typeimportMessage
- a message describing the outcome of the import entity (e.g. "Organization 'Test Import' was imported successfully.")warnings
- a list of warnings arising during the import process that may be of interest to the user
-
-
Method Details
-
getImportType
Return the import type- Returns:
- the import type
-
getImportMessage
Return the import message- Returns:
- the import message
-
getWarnings
Return the list of warnings- Returns:
- the list of warnings
-