public class DocumentImportService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ITEM_SOURCES |
static String |
SOURCE_ITEM_EVENT |
static String |
SOURCE_ITEM_MODELVERSION |
static String |
SOURCE_ITEM_OPTIONS |
static String |
SOURCE_ITEM_PASSWORD |
static String |
SOURCE_ITEM_PORT |
static String |
SOURCE_ITEM_SELECTOR |
static String |
SOURCE_ITEM_SERVER |
static String |
SOURCE_ITEM_TASK |
static String |
SOURCE_ITEM_USER |
static String |
SOURCE_ITEM_WORKFLOWGROUP |
| Constructor and Description |
|---|
DocumentImportService() |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getOptionsProperties(org.imixs.workflow.ItemCollection source)
This helper method evaluates the options and returns a Properties object
|
List<org.imixs.workflow.ItemCollection> |
loadSourcesFromConfiguration(org.imixs.workflow.ItemCollection configuration)
This method returns a list of ItemCollection objects representing the sources
defined in a Importer configuration.
|
void |
logMessage(String message,
DocumentImportEvent event)
Creates a new log entry and stores the message into an optional event
|
void |
logMessage(String message,
org.imixs.workflow.ItemCollection config)
Creates a new log entry and stores the message into the item
'_scheduler_logmessage' of an optional scheduler document
|
public static final String ITEM_SOURCES
public static final String SOURCE_ITEM_SERVER
public static final String SOURCE_ITEM_PORT
public static final String SOURCE_ITEM_USER
public static final String SOURCE_ITEM_PASSWORD
public static final String SOURCE_ITEM_TASK
public static final String SOURCE_ITEM_EVENT
public static final String SOURCE_ITEM_WORKFLOWGROUP
public static final String SOURCE_ITEM_MODELVERSION
public static final String SOURCE_ITEM_SELECTOR
public static final String SOURCE_ITEM_OPTIONS
public List<org.imixs.workflow.ItemCollection> loadSourcesFromConfiguration(org.imixs.workflow.ItemCollection configuration)
public void logMessage(String message, DocumentImportEvent event)
message - source - public void logMessage(String message, org.imixs.workflow.ItemCollection config)
message - source - public Properties getOptionsProperties(org.imixs.workflow.ItemCollection source)
org.imixs.workflow.exceptions.PluginExceptionCopyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.