Package org.ametys.plugins.contentio.in
Class ContentImportManager.ImportResult
java.lang.Object
org.ametys.plugins.contentio.in.ContentImportManager.ImportResult
- Enclosing class:
- ContentImportManager
Class representing a content import result.
-
Field Summary
Modifier and TypeFieldDescriptionThe list of imported content IDs.protected boolean
If an importer supporting the file has been found. -
Constructor Summary
ConstructorDescriptionImportResult
(boolean importerFound) Build an ImportResult.ImportResult
(Collection<String> importedContentIds) Build an ImportResult. -
Method Summary
Modifier and TypeMethodDescriptionGet the importedContentIds.boolean
Get the importerFound.void
setImportedContentIds
(Collection<String> importedContentIds) Set the importedContentIds.void
setImporterFound
(boolean importerFound) Set the importerFound.
-
Field Details
-
_importerFound
If an importer supporting the file has been found. -
_importedContentIds
The list of imported content IDs.
-
-
Constructor Details
-
ImportResult
Build an ImportResult.- Parameters:
importerFound
- true if an importer was found, false otherwise.
-
ImportResult
Build an ImportResult.- Parameters:
importedContentIds
- the imported content IDs.
-
-
Method Details
-
isImporterFound
Get the importerFound.- Returns:
- the importerFound
-
setImporterFound
Set the importerFound.- Parameters:
importerFound
- the importerFound to set
-
getImportedContentIds
Get the importedContentIds.- Returns:
- the importedContentIds
-
setImportedContentIds
Set the importedContentIds.- Parameters:
importedContentIds
- the importedContentIds to set
-