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$ $Date$
-
-
Constructor Summary
Constructors Constructor Description InteractiveProcessResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
executeNextStep(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Executes the next step.java.lang.String
executeUntilTheEnd(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Executes steps until the end.java.lang.String
getPercentageExecuted(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Returns the percentage of executed steps.java.lang.String
ignoreNextStep(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Executes the next step.java.lang.String
stop(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Stops the process execution.
-
-
-
Method Detail
-
getPercentageExecuted
@POST @Path("/updateInformation") @Produces("application/json") public java.lang.String getPercentageExecuted(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.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 javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response)
Executes the next step.- Since:
- 7.1.0
-
executeUntilTheEnd
@POST @Path("/executeuntiltheend") @Produces("application/json") public java.lang.String executeUntilTheEnd(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response)
Executes steps until the end.- Since:
- 7.1.0
-
ignoreNextStep
@POST @Path("/ignorenextstep") @Produces("application/json") public java.lang.String ignoreNextStep(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response)
Executes the next step.- Since:
- 7.1.0
-
stop
@POST @Path("/stop") @Produces("application/json") public java.lang.String stop(@Context javax.servlet.http.HttpServletRequest request, @Context javax.servlet.http.HttpServletResponse response)
Stops the process execution.- Since:
- 7.1.0
-
-