public class ContentImportManager.ImportResult extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
_importedContentIds
The list of imported content IDs.
|
protected boolean |
_importerFound
If an importer supporting the file has been found.
|
Constructor and Description |
---|
ImportResult(boolean importerFound)
Build an ImportResult.
|
ImportResult(Collection<String> importedContentIds)
Build an ImportResult.
|
Modifier and Type | Method and 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.
|
protected boolean _importerFound
protected Set<String> _importedContentIds
public ImportResult(boolean importerFound)
importerFound
- true if an importer was found, false otherwise.public ImportResult(Collection<String> importedContentIds)
importedContentIds
- the imported content IDs.public boolean isImporterFound()
public void setImporterFound(boolean importerFound)
importerFound
- the importerFound to setpublic Set<String> getImportedContentIds()
public void setImportedContentIds(Collection<String> importedContentIds)
importedContentIds
- the importedContentIds to set