public interface UsersResource
Modifier and Type | Method and Description |
---|---|
Integer |
count() |
javax.ws.rs.core.Response |
create(UserRepresentation userRepresentation) |
javax.ws.rs.core.Response |
delete(String id) |
UserResource |
get(String id) |
List<UserRepresentation> |
search(String username) |
List<UserRepresentation> |
search(String search,
Integer firstResult,
Integer maxResults) |
List<UserRepresentation> |
search(String username,
String firstName,
String lastName,
String email,
Integer firstResult,
Integer maxResults) |
@GET @Produces(value="application/json") List<UserRepresentation> search(@QueryParam(value="username") String username, @QueryParam(value="firstName") String firstName, @QueryParam(value="lastName") String lastName, @QueryParam(value="email") String email, @QueryParam(value="first") Integer firstResult, @QueryParam(value="max") Integer maxResults)
@GET @Produces(value="application/json") List<UserRepresentation> search(@QueryParam(value="username") String username)
@GET @Produces(value="application/json") List<UserRepresentation> search(@QueryParam(value="search") String search, @QueryParam(value="first") Integer firstResult, @QueryParam(value="max") Integer maxResults)
@POST @Consumes(value="application/json") javax.ws.rs.core.Response create(UserRepresentation userRepresentation)
@Path(value="count") @GET @Produces(value="application/json") Integer count()
@Path(value="{id}") UserResource get(@PathParam(value="id") String id)
@Path(value="{id}") @DELETE javax.ws.rs.core.Response delete(@PathParam(value="id") String id)
Copyright © 2017 JBoss by Red Hat. All rights reserved.