Class TaskStackIdentityRest


  • @Path("/rest/taskstack/v1")
    public class TaskStackIdentityRest
    extends Object
    TaskStackIdentityRest
    • Constructor Detail

      • TaskStackIdentityRest

        public TaskStackIdentityRest()
    • Method Detail

      • createTask

        @POST
        @Path("/task")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createTask​(CreateTaskRequest taskCreateRequest,
                                                    @HeaderParam("client_code")
                                                    String strHeaderClientCode,
                                                    @HeaderParam("author_name")
                                                    String authorName,
                                                    @HeaderParam("author_type")
                                                    String authorType,
                                                    @HeaderParam("application_code") @DefaultValue("")
                                                    String strHeaderAppCode)
                                             throws TaskStackException
        Throws:
        TaskStackException
      • updateTaskStatus

        @PUT
        @Path("/task/status/{task_code}")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response updateTaskStatus​(@PathParam("task_code")
                                                          String taskCode,
                                                          UpdateTaskStatusRequest taskUpdateStatusRequest,
                                                          @HeaderParam("client_code")
                                                          String strHeaderClientCode,
                                                          @HeaderParam("author_name")
                                                          String authorName,
                                                          @HeaderParam("author_type")
                                                          String authorType,
                                                          @HeaderParam("application_code") @DefaultValue("")
                                                          String strHeaderAppCode)
                                                   throws TaskStackException
        Throws:
        TaskStackException
      • getTaskStatus

        @GET
        @Path("/task/status/{task_code}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getTaskStatus​(@PathParam("task_code")
                                                       String taskCode,
                                                       @HeaderParam("client_code")
                                                       String strHeaderClientCode,
                                                       @HeaderParam("author_name")
                                                       String authorName,
                                                       @HeaderParam("author_type")
                                                       String authorType,
                                                       @HeaderParam("application_code") @DefaultValue("")
                                                       String strHeaderAppCode)
                                                throws TaskStackException
        Throws:
        TaskStackException
      • getTask

        @GET
        @Path("/task/{task_code}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getTask​(@PathParam("task_code")
                                                 String taskCode,
                                                 @HeaderParam("client_code")
                                                 String strHeaderClientCode,
                                                 @HeaderParam("author_name")
                                                 String authorName,
                                                 @HeaderParam("author_type")
                                                 String authorType,
                                                 @HeaderParam("application_code") @DefaultValue("")
                                                 String strHeaderAppCode)
                                          throws TaskStackException
        Throws:
        TaskStackException
      • getTaskByResourceIdAndType

        @GET
        @Path("/task")
        @Produces("application/json")
        public javax.ws.rs.core.Response getTaskByResourceIdAndType​(@QueryParam("resource_id")
                                                                    String taskResourceId,
                                                                    @QueryParam("resource_type")
                                                                    String taskResourceType,
                                                                    @HeaderParam("client_code")
                                                                    String strHeaderClientCode,
                                                                    @HeaderParam("author_name")
                                                                    String authorName,
                                                                    @HeaderParam("author_type")
                                                                    String authorType,
                                                                    @HeaderParam("application_code") @DefaultValue("")
                                                                    String strHeaderAppCode)
                                                             throws TaskStackException
        Throws:
        TaskStackException
      • search

        @POST
        @Path("/task/search")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response search​(SearchTaskRequest taskSearchRequest,
                                                @HeaderParam("client_code")
                                                String strHeaderClientCode,
                                                @HeaderParam("author_name")
                                                String authorName,
                                                @HeaderParam("author_type")
                                                String authorType,
                                                @HeaderParam("application_code") @DefaultValue("")
                                                String strHeaderAppCode)
                                         throws TaskStackException
        Throws:
        TaskStackException