Interface ProfileResource


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response createProfile​(java.lang.String profileData)  
      javax.ws.rs.core.Response createProfileRaw​(byte[] data)  
      javax.ws.rs.core.Response deleteProfile​(java.lang.String id)  
      javax.ws.rs.core.Response listProfiles​(java.lang.Integer start, java.lang.Integer size)  
      javax.ws.rs.core.Response modifyProfile​(java.lang.String id, java.lang.String modifyProfileRequest)  
      javax.ws.rs.core.Response modifyProfileRaw​(java.lang.String id, byte[] data)  
      javax.ws.rs.core.Response modifyProfileState​(java.lang.String id, java.lang.String action)  
      javax.ws.rs.core.Response retrieveProfile​(java.lang.String id)  
      javax.ws.rs.core.Response retrieveProfileRaw​(java.lang.String id)  
    • 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​(java.lang.String profileData)
                                         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,
                                                java.lang.String modifyProfileRequest)
                                         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)