Skip navigation links
org.nuxeo.ecm.platform.importer.service

Interface DefaultImporterService

    • Method Detail

      • importDocuments

        void importDocuments(String destionationPath,
                             String sourcePath,
                             boolean skipRootContainerCreation,
                             int batchSize,
                             int noImportingThreads)
        Imports documents using a DefaultImporterExecutor and the contributed documentModelFactory and SourceNode implementations; If no documentModelFactory implementation was contributed to the service, DefaultDocumentModelFactory it's used If no SourceNode implementation was contributed to the service, FileSourceNode it's used
        Parameters:
        destionationPath -
        sourcePath -
        skipRootContainerCreation -
        batchSize -
        noImportingThreads -
      • importDocuments

        String importDocuments(AbstractImporterExecutor executor,
                               String destinationPath,
                               String sourcePath,
                               boolean skipRootContainerCreation,
                               int batchSize,
                               int noImportingThreads,
                               boolean interactive)
        Imports documents using a the given executor and the contributed documentModelFactory and SourceNode implementations; If no documentModelFactory implementation was contributed to the service, DefaultDocumentModelFactory it's used If no SourceNode implementation was contributed to the service, FileSourceNode it's used
        Parameters:
        executor -
        destinationPath -
        sourcePath -
        skipRootContainerCreation -
        batchSize -
        noImportingThreads -
        interactive -
      • importDocuments

        String importDocuments(AbstractImporterExecutor executor,
                               String leafType,
                               String folderishType,
                               String destinationPath,
                               String sourcePath,
                               boolean skipRootContainerCreation,
                               int batchSize,
                               int noImportingThreads,
                               boolean interactive)
        Imports documents using a the given executor and the contributed documentModelFactory and SourceNode implementations; Allows to overwrite the leaf and folderish types used by the documentModelFactory when importing; if one of them is not specified then the contributed one is used If no documentModelFactory implementation was contributed to the service, DefaultDocumentModelFactory it's used If no SourceNode implementation was contributed to the service, FileSourceNode it's used
        Parameters:
        executor -
        destinationPath -
        sourcePath -
        skipRootContainerCreation -
        batchSize -
        noImportingThreads -
        interactive -
      • setRepository

        void setRepository(String repositoryName)
        Parameters:
        repositoryName -
        Since:
        7.1
      • setBulkMode

        void setBulkMode(boolean bulkMode)
        Sets the bulk mode for the importer.
        Parameters:
        bulkMode - true to enable bulk mode (default), or false to disable it
        Since:
        8.3

Copyright © 2016 Nuxeo SA. All rights reserved.