Package org.silverpeas.mobile.shared.services.rest

## Interface ServiceTask

- All Superinterfaces:
    `org.fusesource.restygwt.client.RestService`

      @Path("/mobile/personalTask")
      public interface ServiceTask
      extends org.fusesource.restygwt.client.RestService

  Author:
    svu

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `createTask​(TaskDTO task, org.fusesource.restygwt.client.MethodCallback<TaskDTO> callback)` |
    `void` | `deleteTasks​(List<TaskDTO> tasks, org.fusesource.restygwt.client.MethodCallback<Void> callback)` |
    `void` | `loadTasks​(org.fusesource.restygwt.client.MethodCallback<List<TaskDTO>> callback)` |
    `void` | `updateTask​(TaskDTO task, org.fusesource.restygwt.client.MethodCallback<Void> callback)` |

- - ### Method Detail

    - #### loadTasks

          @GET
          @Produces("application/json")
          @Path("all")
          void loadTasks​(org.fusesource.restygwt.client.MethodCallback<List<TaskDTO>> callback)

    - #### updateTask

          @PUT
          @Produces("application/json")
          @Consumes("application/json")
          @Path("")
          void updateTask​(TaskDTO task,
                          org.fusesource.restygwt.client.MethodCallback<Void> callback)

    - #### deleteTasks

          @DELETE
          @Produces("application/json")
          @Consumes("application/json")
          @Path("")
          void deleteTasks​(List<TaskDTO> tasks,
                           org.fusesource.restygwt.client.MethodCallback<Void> callback)

    - #### createTask

          @POST
          @Produces("application/json")
          @Consumes("application/json")
          @Path("")
          void createTask​(TaskDTO task,
                          org.fusesource.restygwt.client.MethodCallback<TaskDTO> callback)