public class DocumentaryBaseExpServiceImpl extends Object implements DocumentaryBaseExporterServiceMBean, DocumentaryBaseExporterService, Runnable, StatusListener
DOC_PROCESS_SUCCESS, DONE, ERROR, OK, PROCESS_STOPPED, STARTED| Constructor and Description |
|---|
DocumentaryBaseExpServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(String domain,
Map<String,Serializable> parameter,
File path,
boolean resume,
boolean exportVersions,
boolean exportProxies)
Exports the documentary base.
|
void |
export(String domain,
String path,
boolean showLog) |
String |
getDomain() |
long |
getFileCount() |
File |
getPath() |
boolean |
isDone() |
void |
onUpdateStatus(Object... params) |
void |
run() |
void |
setDomain(String domain) |
void |
setDone(boolean done) |
void |
setFileCount(long fileCount) |
void |
setListener(StatusListener listener)
Sets a listener that receives misc events
|
void |
setPath(File path) |
void |
stop()
Stops the export
|
public void export(String domain, Map<String,Serializable> parameter, File path, boolean resume, boolean exportVersions, boolean exportProxies) throws ClientException
DocumentaryBaseExporterServiceexport in interface DocumentaryBaseExporterServiceClientExceptionpublic void setDomain(String domain)
public String getDomain()
public void stop()
DocumentaryBaseExporterServicestop in interface DocumentaryBaseExporterServicestop in interface DocumentaryBaseExporterServiceMBeanpublic void setListener(StatusListener listener)
DocumentaryBaseExporterServicesetListener in interface DocumentaryBaseExporterServicepublic void setPath(File path)
public File getPath()
public void export(String domain, String path, boolean showLog) throws ClientException
export in interface DocumentaryBaseExporterServiceMBeanClientExceptionpublic void onUpdateStatus(Object... params)
onUpdateStatus in interface StatusListenerpublic void setDone(boolean done)
public boolean isDone()
public long getFileCount()
public void setFileCount(long fileCount)
Copyright © 2012 Nuxeo SA. All Rights Reserved.