@Produces(value="application/json")
public interface EventSubscriptionRestService
Modifier and Type | Method and Description |
---|---|
List<EventSubscriptionDto> |
getEventSubscriptions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
EventSubscriptionQuery interface as a REST service. |
CountResultDto |
getEventSubscriptionsCount(javax.ws.rs.core.UriInfo uriInfo)
Number of event subscriptions
|
static final String PATH
@GET @Produces(value="application/json") List<EventSubscriptionDto> getEventSubscriptions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
EventSubscriptionQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @GET @Path(value="/count") @Produces(value="application/json") CountResultDto getEventSubscriptionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2022. All rights reserved.