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