Interface ProfileResource


  • @Path("profiles")
    public interface ProfileResource
    • Method Detail

      • listProfiles

        @GET
        javax.ws.rs.core.Response listProfiles​(@QueryParam("start")
                                               java.lang.Integer start,
                                               @QueryParam("size")
                                               java.lang.Integer size)
      • retrieveProfile

        @GET
        @Path("{id}")
        javax.ws.rs.core.Response retrieveProfile​(@PathParam("id")
                                                  java.lang.String id)
      • retrieveProfileRaw

        @GET
        @Path("{id}/raw")
        javax.ws.rs.core.Response retrieveProfileRaw​(@PathParam("id")
                                                     java.lang.String id)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createProfile

        @POST
        javax.ws.rs.core.Response createProfile​(ProfileData data)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createProfileRaw

        @POST
        @Path("raw")
        javax.ws.rs.core.Response createProfileRaw​(byte[] data)
      • modifyProfileState

        @POST
        @Path("{id}")
        javax.ws.rs.core.Response modifyProfileState​(@PathParam("id")
                                                     java.lang.String id,
                                                     @QueryParam("action")
                                                     java.lang.String action)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • modifyProfile

        @PUT
        @Path("{id}")
        javax.ws.rs.core.Response modifyProfile​(@PathParam("id")
                                                java.lang.String id,
                                                ProfileData data)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • modifyProfileRaw

        @PUT
        @Path("{id}/raw")
        javax.ws.rs.core.Response modifyProfileRaw​(@PathParam("id")
                                                   java.lang.String id,
                                                   byte[] data)
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteProfile

        @DELETE
        @Path("{id}")
        javax.ws.rs.core.Response deleteProfile​(@PathParam("id")
                                                java.lang.String id)