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

## Interface ServiceMyLinks

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

      @Path("/mylinks")
      public interface ServiceMyLinks
      extends org.fusesource.restygwt.client.RestService

  Author:
    svu

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addLink​(MyLinkDTO newLink, org.fusesource.restygwt.client.MethodCallback<MyLinkDTO> callback)` |
    `void` | `deleteLink​(String linkId, org.fusesource.restygwt.client.MethodCallback<Void> callback)` |
    `void` | `getMyCategories​(org.fusesource.restygwt.client.MethodCallback<List<MyLinkCategoryDTO>> callback)` |
    `void` | `getMyLinks​(org.fusesource.restygwt.client.MethodCallback<List<MyLinkDTO>> callback)` |

- - ### Method Detail

    - #### addLink

          @POST
          @Path("/")
          void addLink​(MyLinkDTO newLink,
                       org.fusesource.restygwt.client.MethodCallback<MyLinkDTO> callback)

    - #### getMyLinks

          @GET
          @Path("/")
          void getMyLinks​(org.fusesource.restygwt.client.MethodCallback<List<MyLinkDTO>> callback)

    - #### deleteLink

          @DELETE
          @Path("{linkId}")
          void deleteLink​(@PathParam("linkId")
                          String linkId,
                          org.fusesource.restygwt.client.MethodCallback<Void> callback)

    - #### getMyCategories

          @GET
          @Path("categories")
          @Produces("application/json")
          void getMyCategories​(org.fusesource.restygwt.client.MethodCallback<List<MyLinkCategoryDTO>> callback)