Package org.imixs.workflow.importer
Class DocumentImportService
java.lang.Object
org.imixs.workflow.importer.DocumentImportService
The DocumentImportService provides definitions and methods to process a
import source.
- Author:
- rsoika
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOptionsProperties(org.imixs.workflow.ItemCollection source) This helper method evaluates the options and returns a Properties objectList<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.voidlogMessage(String message, DocumentImportEvent event) Creates a new log entry and stores the message into an optional eventvoidlogMessage(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
-
Field Details
-
ITEM_SOURCES
- See Also:
-
SOURCE_ITEM_SERVER
- See Also:
-
SOURCE_ITEM_PORT
- See Also:
-
SOURCE_ITEM_USER
- See Also:
-
SOURCE_ITEM_PASSWORD
- See Also:
-
SOURCE_ITEM_TASK
- See Also:
-
SOURCE_ITEM_EVENT
- See Also:
-
SOURCE_ITEM_WORKFLOWGROUP
- See Also:
-
SOURCE_ITEM_MODELVERSION
- See Also:
-
SOURCE_ITEM_SELECTOR
- See Also:
-
SOURCE_ITEM_OPTIONS
- See Also:
-
-
Constructor Details
-
DocumentImportService
public DocumentImportService()
-
-
Method Details
-
loadSourcesFromConfiguration
public 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. -
logMessage
Creates a new log entry and stores the message into an optional event- Parameters:
message-source-
-
logMessage
Creates a new log entry and stores the message into the item '_scheduler_logmessage' of an optional scheduler document- Parameters:
message-source-
-
getOptionsProperties
This helper method evaluates the options and returns a Properties object- Throws:
org.imixs.workflow.exceptions.PluginException
-