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
DocumentaryBaseExporterService
export
in interface DocumentaryBaseExporterService
ClientException
public void setDomain(String domain)
public String getDomain()
public void stop()
DocumentaryBaseExporterService
stop
in interface DocumentaryBaseExporterService
stop
in interface DocumentaryBaseExporterServiceMBean
public void setListener(StatusListener listener)
DocumentaryBaseExporterService
setListener
in interface DocumentaryBaseExporterService
public void setPath(File path)
public File getPath()
public void export(String domain, String path, boolean showLog) throws ClientException
export
in interface DocumentaryBaseExporterServiceMBean
ClientException
public void onUpdateStatus(Object... params)
onUpdateStatus
in interface StatusListener
public void setDone(boolean done)
public boolean isDone()
public long getFileCount()
public void setFileCount(long fileCount)
Copyright © 2011 Nuxeo SA. All Rights Reserved.