Class AutomationEventListener

  • All Implemented Interfaces:
    com.logicaldoc.core.communication.EventListener

    public class AutomationEventListener
    extends Object
    implements com.logicaldoc.core.communication.EventListener
    Listener used to launch automation triggers when events occur.
    Since:
    8.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • AutomationEventListener

        public AutomationEventListener()
    • Method Detail

      • newEvent

        public void newEvent​(com.logicaldoc.core.History event)
        Specified by:
        newEvent in interface com.logicaldoc.core.communication.EventListener
      • execute

        public void execute​(AutomationRoutine routine,
                            Map<String,​Object> dictionary)
        Executes the given automation routine
        Parameters:
        routine - the routine to execute
        dictionary - the dictionary to pass to the script
      • setEventCollector

        public void setEventCollector​(com.logicaldoc.core.communication.EventCollector eventCollector)
      • setFolderDao

        public void setFolderDao​(com.logicaldoc.core.folder.FolderDAO folderDao)
      • setDocumentDao

        public void setDocumentDao​(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
      • setUserDao

        public void setUserDao​(com.logicaldoc.core.security.dao.UserDAO userDao)
      • setAutomationTriggerDao

        public void setAutomationTriggerDao​(AutomationTriggerDAO automationTriggerDao)