Class ContentImportManager.ImportResult

java.lang.Object
org.ametys.plugins.contentio.in.ContentImportManager.ImportResult
Enclosing class:
ContentImportManager

Class representing a content import result.
  • Field Details

  • Constructor Details

    • 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 Details

    • 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

      Get the importedContentIds.
      Returns:
      the importedContentIds
    • setImportedContentIds

      public void setImportedContentIds(Collection<String> importedContentIds)
      Set the importedContentIds.
      Parameters:
      importedContentIds - the importedContentIds to set