public class FTPImportService extends Object
The implementation is based on org.apache.commons.net.ftp
| Constructor and Description |
|---|
FTPImportService() |
| Modifier and Type | Method and Description |
|---|---|
org.imixs.workflow.ItemCollection |
createWorkitem(org.imixs.workflow.ItemCollection source,
String fileName,
byte[] rawData)
Creates and processes a new workitem with a given filedata
|
void |
onEvent(DocumentImportEvent event)
This method reacts on a CDI ImportEvent and reads documents form a ftp
server.
|
public void onEvent(@Observes
DocumentImportEvent event)
public org.imixs.workflow.ItemCollection createWorkitem(org.imixs.workflow.ItemCollection source,
String fileName,
byte[] rawData)
throws org.imixs.workflow.exceptions.AccessDeniedException,
org.imixs.workflow.exceptions.ProcessingErrorException,
org.imixs.workflow.exceptions.PluginException,
org.imixs.workflow.exceptions.ModelException
org.imixs.workflow.exceptions.ModelExceptionorg.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.ProcessingErrorExceptionorg.imixs.workflow.exceptions.AccessDeniedExceptionCopyright © 2016–2022 Imixs Software Solutions GmbH. All rights reserved.