Class AutomationServiceImpl
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
- com.google.gwt.user.server.rpc.RemoteServiceServlet
-
- com.logicaldoc.enterprise.automation.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
-
-
Constructor Summary
Constructors Constructor Description AutomationServiceImpl()
-
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
-
-
-
-
Method Detail
-
deleteRoutines
public void deleteRoutines(long[] ids) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
deleteRoutines
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.AutomationService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-