Interface GroupRestService

  • All Known Implementing Classes:
    GroupRestServiceImpl

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

      • getGroup

        @Path("/{id}")
        GroupResource getGroup​(@PathParam("id")
                               java.lang.String id)
      • queryGroups

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

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

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        java.util.List<GroupDto> queryGroups​(GroupQueryDto query,
                                             @QueryParam("firstResult")
                                             java.lang.Integer firstResult,
                                             @QueryParam("maxResults")
                                             java.lang.Integer maxResults)
      • queryGroupCount

        @POST
        @Path("/count")
        @Consumes("application/json")
        @Produces("application/json")
        CountResultDto queryGroupCount​(GroupQueryDto query)
      • createGroup

        @POST
        @Path("/create")
        @Consumes("application/json")
        void createGroup​(GroupDto GroupDto)
      • availableOperations

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