Package org.camunda.bpm.engine.rest
Interface IncidentRestService
-
- All Known Implementing Classes:
IncidentRestServiceImpl
@Produces("application/json") public interface IncidentRestService
- 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 IncidentResource
getIncident(java.lang.String incidentId)
java.util.List<IncidentDto>
getIncidents(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Exposes theIncidentQuery
interface as a REST service.CountResultDto
getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
-
-
-
Field Detail
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIncidents
@GET @Produces("application/json") java.util.List<IncidentDto> getIncidents(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.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") java.lang.String incidentId)
-
-