public interface DocumentaryBaseImporterService
Under “Documentary Base” the “Versions” folder contains the checked in versions. The versions are exported as the usual documents with single difference: without ACL and workflows.
Under “Documentary Base” the “Proxies” folder contains the proxies. They are exported as the usual documents with single difference: without workflows. The importer is reading the files and acts multi-threaded in 2 steps: first it "core imports" the documents and after it updates the properties.
Modifier and Type | Method and Description |
---|---|
void |
importDocuments(Map<String,Serializable> parameter,
File path,
boolean resume,
boolean exportVersions,
boolean exportProxies,
boolean useMultiThread,
boolean asynchronous)
Imports the documentary base.
|
void |
setListener(StatusListener listener)
Sets the listener that will informs about the import process status.
|
void |
setTypeSelector(DocumentTypeSelector typeSelector)
Sets the acceptor of the documents before import.
|
void |
setXmlTransformer(DocumentXmlTransformer xmlTransformer)
Sets the transformer for exported document.
|
void |
stop()
Stops the process of import.
|
void importDocuments(Map<String,Serializable> parameter, File path, boolean resume, boolean exportVersions, boolean exportProxies, boolean useMultiThread, boolean asynchronous) throws ClientException
parameter
- path
- the path to root directory of replicationresume
- exportVersions
- exportProxies
- useMultiThread
- asynchronous
- start the service asynchronousClientException
void stop()
void setListener(StatusListener listener)
listener
- void setXmlTransformer(DocumentXmlTransformer xmlTransformer)
xmlTransformer
- void setTypeSelector(DocumentTypeSelector typeSelector)
Copyright © 2011 Nuxeo SA. All Rights Reserved.