Modifier and Type | Field and Description |
---|---|
static int |
TX_TIMEOUT |
Constructor and Description |
---|
GenericThreadedImportTask(String repositoryName,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy,
String jobName) |
Modifier and Type | Method and Description |
---|---|
void |
addImportingDocumentFilters(Collection<ImportingDocumentFilter> importingDocumentFilters) |
void |
addImportingDocumentFilters(ImportingDocumentFilter... importingDocumentFilters) |
void |
addListeners(Collection<ImporterListener> listeners) |
void |
addListeners(ImporterListener... listeners) |
int |
getBatchSize() |
boolean |
isRunning() |
void |
run() |
void |
setBatchSize(int batchSize) |
void |
setInputSource(SourceNode node) |
void |
setRootTask() |
void |
setSkipContainerCreation(Boolean skipContainerCreation) |
void |
setTargetFolder(DocumentModel rootDoc) |
void |
setTransactionTimeout(int transactionTimeout) |
public static final int TX_TIMEOUT
public GenericThreadedImportTask(String repositoryName, SourceNode rootSource, DocumentModel rootDoc, boolean skipContainerCreation, ImporterLogger rsLogger, int batchSize, ImporterDocumentModelFactory factory, ImporterThreadingPolicy threadPolicy, String jobName)
public void setInputSource(SourceNode node)
public void setTargetFolder(DocumentModel rootDoc)
public boolean isRunning()
public int getBatchSize()
public void setBatchSize(int batchSize)
public void setSkipContainerCreation(Boolean skipContainerCreation)
public void setRootTask()
public void addImportingDocumentFilters(ImportingDocumentFilter... importingDocumentFilters)
public void addImportingDocumentFilters(Collection<ImportingDocumentFilter> importingDocumentFilters)
public void addListeners(ImporterListener... listeners)
public void addListeners(Collection<ImporterListener> listeners)
public void setTransactionTimeout(int transactionTimeout)
Copyright © 2015 Nuxeo SA. All rights reserved.