Class AutomationServiceImpl

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.AutomationService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class AutomationServiceImpl
    extends com.google.gwt.user.server.rpc.RemoteServiceServlet
    implements com.logicaldoc.gui.frontend.client.services.AutomationService
    Implementation of the service for handling automations.
    Since:
    8.1
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.AutomationService

        com.logicaldoc.gui.frontend.client.services.AutomationService.Instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyTriggersToTree​(long rootId)  
      void deleteRoutines​(long[] ids)  
      void deleteTriggers​(long[] ids)  
      void execute​(com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine guiRoutine, Long[] docIds, Long folderId)  
      com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine getRoutine​(long id)  
      com.logicaldoc.gui.common.client.beans.GUIAutomationTrigger getTrigger​(long id)  
      com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine saveRoutine​(com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine guiRoutine)  
      com.logicaldoc.gui.common.client.beans.GUIAutomationTrigger saveTrigger​(com.logicaldoc.gui.common.client.beans.GUIAutomationTrigger trigger)  
      • Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

        getSerializationPolicy, init, processCall, processCall, processPost
      • Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        doPost
      • Methods inherited from class javax.servlet.http.HttpServlet

        service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • AutomationServiceImpl

        public AutomationServiceImpl()
    • Method Detail

      • deleteRoutines

        public void deleteRoutines​(long[] ids)
                            throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        deleteRoutines in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • deleteTriggers

        public void deleteTriggers​(long[] ids)
                            throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        deleteTriggers in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • saveTrigger

        public com.logicaldoc.gui.common.client.beans.GUIAutomationTrigger saveTrigger​(com.logicaldoc.gui.common.client.beans.GUIAutomationTrigger trigger)
                                                                                throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        saveTrigger in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • getTrigger

        public com.logicaldoc.gui.common.client.beans.GUIAutomationTrigger getTrigger​(long id)
                                                                               throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        getTrigger in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • saveRoutine

        public com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine saveRoutine​(com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine guiRoutine)
                                                                                throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        saveRoutine in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • getRoutine

        public com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine getRoutine​(long id)
                                                                               throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        getRoutine in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • applyTriggersToTree

        public void applyTriggersToTree​(long rootId)
                                 throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        applyTriggersToTree in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • execute

        public void execute​(com.logicaldoc.gui.common.client.beans.GUIAutomationRoutine guiRoutine,
                            Long[] docIds,
                            Long folderId)
                     throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        execute in interface com.logicaldoc.gui.frontend.client.services.AutomationService
        Throws:
        com.logicaldoc.gui.common.client.ServerException