Interface HistoricIncidentRestService
-
- All Known Implementing Classes:
HistoricIncidentRestServiceImpl
@Path("/incident") @Produces("application/json") public interface HistoricIncidentRestService
- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<HistoricIncidentDto>
getHistoricIncidents(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Exposes theHistoricActivityInstanceQuery
interface as a REST service.CountResultDto
getHistoricIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHistoricIncidents
@GET @Produces("application/json") List<HistoricIncidentDto> getHistoricIncidents(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
Exposes theHistoricActivityInstanceQuery
interface as a REST service.- Parameters:
query
-firstResult
-maxResults
-- Returns:
-
getHistoricIncidentsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getHistoricIncidentsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
-