@Produces(value="application/json")
public interface GroupRestService
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
void |
createGroup(GroupDto GroupDto) |
GroupResource |
getGroup(String id) |
CountResultDto |
getGroupCount(javax.ws.rs.core.UriInfo uriInfo) |
List<GroupDto> |
queryGroups(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
static final String PATH
@Path(value="/{id}") GroupResource getGroup(@PathParam(value="id") String id)
@GET @Produces(value="application/json") List<GroupDto> queryGroups(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getGroupCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/create") @Consumes(value="application/json") void createGroup(GroupDto GroupDto)
@OPTIONS @Produces(value="application/json") ResourceOptionsDto availableOperations(@Context javax.ws.rs.core.UriInfo context)
Copyright © 2022. All rights reserved.