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 IncidentResource
getIncident(String incidentId)
List<IncidentDto>
getIncidents(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
Exposes theIncidentQuery
interface as a REST service.CountResultDto
getIncidentsCount(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 theIncidentQuery
interface 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)
-
-