Interface ClientsResource
-
public interface ClientsResource- Author:
- rodrigo.sasaki@icarros.com.br
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Responsecreate(ClientRepresentation clientRepresentation)List<ClientRepresentation>findAll()List<ClientRepresentation>findAll(boolean viewableOnly)List<ClientRepresentation>findAll(String clientId, Boolean viewableOnly, Boolean search, Integer firstResult, Integer maxResults)List<ClientRepresentation>findByClientId(String clientId)ClientResourceget(String id)List<ClientRepresentation>query(String searchQuery)
-
-
-
Method Detail
-
get
@Path("{id}") ClientResource get(@PathParam("id") String id)
-
create
@POST @Consumes("application/json") javax.ws.rs.core.Response create(ClientRepresentation clientRepresentation)
-
findAll
@GET @Produces("application/json") List<ClientRepresentation> findAll()
-
findAll
@GET @Produces("application/json") List<ClientRepresentation> findAll(@QueryParam("viewableOnly") boolean viewableOnly)
-
findAll
@GET @Produces("application/json") List<ClientRepresentation> findAll(@QueryParam("clientId") String clientId, @QueryParam("viewableOnly") Boolean viewableOnly, @QueryParam("search") Boolean search, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResults)
-
findByClientId
@GET @Produces("application/json") List<ClientRepresentation> findByClientId(@QueryParam("clientId") String clientId)
-
query
@GET @Produces("application/json") List<ClientRepresentation> query(@QueryParam("q") String searchQuery)
-
-