Class InteractiveProcessResource
- java.lang.Object
-
- lumis.service.portalmanagement.interactiveprocess.rest.InteractiveProcessResource
-
@Path("/lum-internal/portaladministration/interactiveprocess") public class InteractiveProcessResource extends java.lang.Object
Rest resource for meet the AJAX requests from interactive process.- Since:
- 7.1.0
- Version:
- $Revision: 21230 $ $Date: 2018-04-24 19:07:57 -0300 (Tue, 24 Apr 2018) $
-
-
Constructor Summary
Constructors Constructor Description InteractiveProcessResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
executeNextStep(HttpServletRequest request, HttpServletResponse response)
Executes the next step.java.lang.String
executeUntilTheEnd(HttpServletRequest request, HttpServletResponse response)
Executes steps until the end.java.lang.String
getPercentageExecuted(HttpServletRequest request, HttpServletResponse response)
Returns the percentage of executed steps.java.lang.String
ignoreNextStep(HttpServletRequest request, HttpServletResponse response)
Executes the next step.java.lang.String
stop(HttpServletRequest request, HttpServletResponse response)
Stops the process execution.
-
-
-
Method Detail
-
getPercentageExecuted
@POST @Path("/updateInformation") @Produces("application/json") public java.lang.String getPercentageExecuted(@Context HttpServletRequest request, @Context HttpServletResponse response)
Returns the percentage of executed steps.- Returns:
- a JSON object with the percentage of executed steps.
- Since:
- 7.1.0
-
executeNextStep
@POST @Path("/executenextstep") @Produces("application/json") public java.lang.String executeNextStep(@Context HttpServletRequest request, @Context HttpServletResponse response)
Executes the next step.- Since:
- 7.1.0
-
executeUntilTheEnd
@POST @Path("/executeuntiltheend") @Produces("application/json") public java.lang.String executeUntilTheEnd(@Context HttpServletRequest request, @Context HttpServletResponse response)
Executes steps until the end.- Since:
- 7.1.0
-
ignoreNextStep
@POST @Path("/ignorenextstep") @Produces("application/json") public java.lang.String ignoreNextStep(@Context HttpServletRequest request, @Context HttpServletResponse response)
Executes the next step.- Since:
- 7.1.0
-
stop
@POST @Path("/stop") @Produces("application/json") public java.lang.String stop(@Context HttpServletRequest request, @Context HttpServletResponse response)
Stops the process execution.- Since:
- 7.1.0
-
-