Interface UserRestService

  • All Known Implementing Classes:
    UserRestServiceImpl

    @Produces("application/json")
    public interface UserRestService
    Author:
    Daniel Meyer
    • Method Detail

      • getUser

        @Path("/{id}")
        UserResource getUser​(@PathParam("id")
                             java.lang.String id)
      • queryUsers

        @GET
        @Produces("application/json")
        java.util.List<UserProfileDto> queryUsers​(@Context
                                                  javax.ws.rs.core.UriInfo uriInfo,
                                                  @QueryParam("firstResult")
                                                  java.lang.Integer firstResult,
                                                  @QueryParam("maxResults")
                                                  java.lang.Integer maxResults)
      • getUserCount

        @GET
        @Path("/count")
        @Produces("application/json")
        CountResultDto getUserCount​(@Context
                                    javax.ws.rs.core.UriInfo uriInfo)
      • createUser

        @POST
        @Path("/create")
        @Consumes("application/json")
        void createUser​(UserDto userDto)
      • availableOperations

        @OPTIONS
        @Produces("application/json")
        ResourceOptionsDto availableOperations​(@Context
                                               javax.ws.rs.core.UriInfo context)