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