Interface HistoricIncidentRestService
- All Known Implementing Classes:
HistoricIncidentRestServiceImpl
@Path("/incident")
@Produces("application/json")
public interface HistoricIncidentRestService
- Author:
- Roman Smirnov
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHistoricIncidents
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theHistoricActivityInstanceQuery
interface as a REST service.getHistoricIncidentsCount
(jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getHistoricIncidents
@GET @Produces("application/json") List<HistoricIncidentDto> getHistoricIncidents(@Context jakarta.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 jakarta.ws.rs.core.UriInfo uriInfo)
-