Class DocumentImportService


  • public class DocumentImportService
    extends Object
    The DocumentImportService provides definitions and methods to process a import source.
    Author:
    rsoika
    • Constructor Detail

      • DocumentImportService

        public DocumentImportService()
    • Method Detail

      • 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

        public void logMessage​(String message,
                               DocumentImportEvent event)
        Creates a new log entry and stores the message into an optional event
        Parameters:
        message -
        source -
      • logMessage

        public 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
        Parameters:
        message -
        source -
      • getOptionsProperties

        public Properties getOptionsProperties​(org.imixs.workflow.ItemCollection source)
        This helper method evaluates the options and returns a Properties object
        Throws:
        org.imixs.workflow.exceptions.PluginException