@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) |
CountResultDto |
queryGroupCount(GroupQueryDto query) |
List<GroupDto> |
queryGroups(GroupQueryDto query,
Integer firstResult,
Integer maxResults) |
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 @Consumes(value="application/json") @Produces(value="application/json") List<GroupDto> queryGroups(GroupQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryGroupCount(GroupQueryDto query)
@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 © 2021. All rights reserved.