public interface DefaultImporterService
 Allows configuration of the a DocumentModelFactory and the document types it
 creates ( if no implementation is contributed,
 DefaultDocumentModelFactory is used;
 
 Also allows configuration of the SourceNode implementation; if none is
 provided the FileSourceNode> it's used by default
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends ImporterDocumentModelFactory> | getDocModelFactoryClass()Deprecated.  | 
| Class<? extends SourceNode> | getSourceNodeClass()Deprecated.  | 
| 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,
  DefaultDocumentModelFactoryit's used
 If no SourceNode implementation was contributed to the service,FileSourceNodeit's used | 
| 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,
  DefaultDocumentModelFactoryit's used
 If no SourceNode implementation was contributed to the service,FileSourceNodeit's used | 
| 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,
  DefaultDocumentModelFactoryit's used
 If no SourceNode implementation was contributed to the service,FileSourceNodeit's used | 
| void | setDocModelFactoryClass(Class<? extends ImporterDocumentModelFactory> docModelFactoryClass) | 
| void | setFolderishDocType(String folderishDocType) | 
| void | setImporterLogger(ImporterLogger importerLogger) | 
| void | setLeafDocType(String fileDocType) | 
| void | setSourceNodeClass(Class<? extends SourceNode> sourceNodeClass) | 
| void | setTransactionTimeout(int transactionTimeout) | 
void importDocuments(String destionationPath, String sourcePath, boolean skipRootContainerCreation, int batchSize, int noImportingThreads) throws ClientException
DefaultDocumentModelFactory it's used
 If no SourceNode implementation was contributed to the service,
 FileSourceNode it's useddestionationPath - sourcePath - skipRootContainerCreation - batchSize - noImportingThreads - ClientExceptionString importDocuments(AbstractImporterExecutor executor, String destinationPath, String sourcePath, boolean skipRootContainerCreation, int batchSize, int noImportingThreads, boolean interactive) throws ClientException
DefaultDocumentModelFactory it's used
 If no SourceNode implementation was contributed to the service,
 FileSourceNode it's usedexecutor - destinationPath - sourcePath - skipRootContainerCreation - batchSize - noImportingThreads - interactive - ClientExceptionString importDocuments(AbstractImporterExecutor executor, String leafType, String folderishType, String destinationPath, String sourcePath, boolean skipRootContainerCreation, int batchSize, int noImportingThreads, boolean interactive) throws ClientException
DefaultDocumentModelFactory it's used
 If no SourceNode implementation was contributed to the service,
 FileSourceNode it's usedexecutor - destinationPath - sourcePath - skipRootContainerCreation - batchSize - noImportingThreads - interactive - ClientExceptionvoid setSourceNodeClass(Class<? extends SourceNode> sourceNodeClass)
void setDocModelFactoryClass(Class<? extends ImporterDocumentModelFactory> docModelFactoryClass)
void setLeafDocType(String fileDocType)
void setFolderishDocType(String folderishDocType)
void setImporterLogger(ImporterLogger importerLogger)
void setTransactionTimeout(int transactionTimeout)
@Deprecated Class<? extends SourceNode> getSourceNodeClass()
@Deprecated Class<? extends ImporterDocumentModelFactory> getDocModelFactoryClass()
Copyright © 2014 Nuxeo SA. All rights reserved.