public class DefaultImporterServiceImpl extends Object implements DefaultImporterService
Constructor and Description |
---|
DefaultImporterServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Class<? extends DefaultDocumentModelFactory> |
getDocModelFactoryClass()
Added waiting the importer refactoring.
|
String |
getFolderishDocType() |
ImporterLogger |
getImporterLogger() |
String |
getLeafDocType() |
Class<? extends SourceNode> |
getSourceNodeClass()
Added waiting the importer refactoring.
|
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 |
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 |
void |
importDocuments(String destinationPath,
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 |
void |
setDocModelFactoryClass(Class<? extends DefaultDocumentModelFactory> docModelFactoryClass) |
void |
setFolderishDocType(String folderishDocType) |
void |
setImporterLogger(ImporterLogger importerLogger) |
void |
setLeafDocType(String fileDocType) |
void |
setSourceNodeClass(Class<? extends SourceNode> sourceNodeClass) |
public void importDocuments(String destinationPath, String sourcePath, boolean skipRootContainerCreation, int batchSize, int noImportingThreads) throws ClientException
DefaultImporterService
DefaultDocumentModelFactory
it's used
If no SourceNode implementation was contributed to the service,
FileSourceNode
it's usedimportDocuments
in interface DefaultImporterService
ClientException
public String importDocuments(AbstractImporterExecutor executor, String destinationPath, String sourcePath, boolean skipRootContainerCreation, int batchSize, int noImportingThreads, boolean interactive) throws ClientException
DefaultImporterService
DefaultDocumentModelFactory
it's used
If no SourceNode implementation was contributed to the service,
FileSourceNode
it's usedimportDocuments
in interface DefaultImporterService
ClientException
public String importDocuments(AbstractImporterExecutor executor, String leafType, String folderishType, String destinationPath, String sourcePath, boolean skipRootContainerCreation, int batchSize, int noImportingThreads, boolean interactive) throws ClientException
DefaultImporterService
DefaultDocumentModelFactory
it's used
If no SourceNode implementation was contributed to the service,
FileSourceNode
it's usedimportDocuments
in interface DefaultImporterService
ClientException
public void setDocModelFactoryClass(Class<? extends DefaultDocumentModelFactory> docModelFactoryClass)
setDocModelFactoryClass
in interface DefaultImporterService
public void setSourceNodeClass(Class<? extends SourceNode> sourceNodeClass)
setSourceNodeClass
in interface DefaultImporterService
public String getFolderishDocType()
public void setFolderishDocType(String folderishDocType)
setFolderishDocType
in interface DefaultImporterService
public String getLeafDocType()
public void setLeafDocType(String fileDocType)
setLeafDocType
in interface DefaultImporterService
public ImporterLogger getImporterLogger()
public void setImporterLogger(ImporterLogger importerLogger)
setImporterLogger
in interface DefaultImporterService
public Class<? extends SourceNode> getSourceNodeClass()
DefaultImporterService
getSourceNodeClass
in interface DefaultImporterService
public Class<? extends DefaultDocumentModelFactory> getDocModelFactoryClass()
DefaultImporterService
getDocModelFactoryClass
in interface DefaultImporterService
Copyright © 2013 Nuxeo SA. All Rights Reserved.