Interface ClientsResource
public interface ClientsResource
- Author:
- rodrigo.sasaki@icarros.com.br
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(ClientRepresentation clientRepresentation) jakarta.ws.rs.core.Response
findAll()
findAll
(boolean viewableOnly) findAll
(String clientId, Boolean viewableOnly, Boolean search, Integer firstResult, Integer maxResults) findByClientId
(String clientId)
-
Method Details
-
get
-
create
@POST @Consumes("application/json") jakarta.ws.rs.core.Response create(ClientRepresentation clientRepresentation) -
findAll
-
findAll
@GET @Produces("application/json") List<ClientRepresentation> findAll(@QueryParam("viewableOnly") boolean viewableOnly) -
findAll
-
findByClientId
@GET @Produces("application/json") List<ClientRepresentation> findByClientId(@QueryParam("clientId") String clientId) -
query
@GET @Produces("application/json") List<ClientRepresentation> query(@QueryParam("q") String searchQuery) -
delete
-