@Path(value="/") @Consumes(value={"application/json","application/x-www-form-urlencoded"}) @Produces(value="application/json") public interface IEventsQueryService<E extends AbstractEvent> extends IQueryService<E>
Modifier and Type | Method and Description |
---|---|
Long |
count(Query<E> query) |
javax.ws.rs.core.Response |
getTestString()
Test method to see if service is up and running
|
E |
load(Long id) |
List<E> |
query(Query<E> query) |
@POST @Path(value="count") @Produces(value="text/plain") Long count(@FormParam(value="query") Query<E> query) throws Exception
count
in interface IQueryService<E extends AbstractEvent>
Exception
@POST @Path(value="queryEvent") List<E> query(@FormParam(value="query") Query<E> query) throws Exception
query
in interface IQueryService<E extends AbstractEvent>
Exception
@POST @Path(value="load/{id}") @Consumes(value={"text/plain","application/x-www-form-urlencoded"}) E load(@PathParam(value="id") Long id) throws Exception
load
in interface IQueryService<E extends AbstractEvent>
Exception
@GET @Path(value="test") @Consumes(value="text/plain") @Produces(value="text/plain") javax.ws.rs.core.Response getTestString()
Copyright © 2018. All rights reserved.