Interface UserRestService

  • All Known Implementing Classes:
    UserRestServiceImpl

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

      • queryUsers

        @GET
        @Produces("application/json")
        List<UserProfileDto> queryUsers​(@Context
                                        javax.ws.rs.core.UriInfo uriInfo,
                                        @QueryParam("firstResult")
                                        Integer firstResult,
                                        @QueryParam("maxResults")
                                        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)