Package com.avoka.fc.core.bean
Class ImportResult
- java.lang.Object
-
- com.avoka.fc.core.bean.ImportResult
-
public class ImportResult extends Object
Provides an import bean containing information about a successfully completed import action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImportResult.ImportType
The import type
-
Constructor Summary
Constructors Constructor Description ImportResult(ImportResult.ImportType importType, String importMessage, List<String> warnings)
Creates an ImportResult object using the specified parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getImportMessage()
Return the import messageImportResult.ImportType
getImportType()
Return the import typeList<String>
getWarnings()
Return the list of warnings
-
-
-
Constructor Detail
-
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 Detail
-
getImportType
public ImportResult.ImportType getImportType()
Return the import type- Returns:
- the import type
-
getImportMessage
public String getImportMessage()
Return the import message- Returns:
- the import message
-
-