Package org.camunda.bpm.engine.rest
Interface IncidentRestService
-
- All Known Implementing Classes:
IncidentRestServiceImpl
@Produces("application/json") public interface IncidentRestService- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IncidentResourcegetIncident(String incidentId)List<IncidentDto>getIncidents(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)Exposes theIncidentQueryinterface as a REST service.CountResultDtogetIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIncidents
@GET @Produces("application/json") List<IncidentDto> getIncidents(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)Exposes theIncidentQueryinterface as a REST service.- Parameters:
uriInfo-firstResult-maxResults-- Returns:
-
getIncidentsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getIncidentsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getIncident
@Path("/{id}") IncidentResource getIncident(@PathParam("id") String incidentId)
-
-