Class 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$
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InteractiveProcessResource

        public InteractiveProcessResource()
    • 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