Class ServiceWorkflow

java.lang.Object
org.silverpeas.core.web.rs.RESTWebService
org.silverpeas.mobile.server.services.AbstractRestWebService
org.silverpeas.mobile.server.services.ServiceWorkflow
All Implemented Interfaces:
org.silverpeas.core.web.rs.ProtectedWebResource, org.silverpeas.core.web.rs.WebAuthenticationValidation, org.silverpeas.core.web.rs.WebAuthorizationValidation, org.silverpeas.core.web.SilverpeasWebResource

@WebService @Authorized @Path("mobile/workflow/{appId}") public class ServiceWorkflow extends AbstractRestWebService
Service de gestion des workflows.
Author:
svuillet
  • Constructor Details

    • ServiceWorkflow

      public ServiceWorkflow()
  • Method Details

    • getUserField

      @GET @Produces("application/json") @Path("userField/{instanceId}/{actionName}/{fieldName}/{role}") public List<BaseDTO> getUserField(@PathParam("instanceId") String instanceId, @PathParam("actionName") String actionName, @PathParam("fieldName") String fieldName, @PathParam("role") String role) throws Exception
      Throws:
      Exception
    • getWorkflowInstances

      @GET @Produces("application/json") @Path("instances/{role}/{callNumber}") public StreamingList<WorkflowInstanceDTO> getWorkflowInstances(@PathParam("role") String userRole, @PathParam("callNumber") int callNumber) throws Exception
      Throws:
      Exception
    • getDataInstances

      @GET @Produces("application/json") @Path("datainstances/{role}") public WorkflowDataDTO getDataInstances(@PathParam("role") String userRole) throws Exception
      Throws:
      Exception
    • getPresentationForm

      @GET @Produces("application/json") @Path("presentationForm/{instanceId}/{role}") public WorkflowInstancePresentationFormDTO getPresentationForm(@PathParam("instanceId") String instanceId, @PathParam("role") String role) throws Exception
      Throws:
      Exception
    • getActionForm

      @GET @Produces("application/json") @Path("actionForm/{instanceId}/{role}/{action}") public WorkflowFormActionDTO getActionForm(@PathParam("instanceId") String instanceId, @PathParam("role") String role, @PathParam("action") String action) throws Exception
      Throws:
      Exception
    • getResourceBasePath

      protected String getResourceBasePath()
      Specified by:
      getResourceBasePath in class org.silverpeas.core.web.rs.RESTWebService
    • getComponentId

      public String getComponentId()