Package org.camunda.bpm.engine.rest.impl
Class IncidentRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.IncidentRestServiceImpl
-
- All Implemented Interfaces:
IncidentRestService
public class IncidentRestServiceImpl extends AbstractRestProcessEngineAware implements IncidentRestService
- Author:
- Roman Smirnov
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from interface org.camunda.bpm.engine.rest.IncidentRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description IncidentRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getIncidents
public java.util.List<IncidentDto> getIncidents(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Description copied from interface:IncidentRestService
Exposes theIncidentQuery
interface as a REST service.- Specified by:
getIncidents
in interfaceIncidentRestService
- Returns:
-
getIncidentsCount
public CountResultDto getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getIncidentsCount
in interfaceIncidentRestService
-
getIncident
public IncidentResource getIncident(java.lang.String incidentId)
- Specified by:
getIncident
in interfaceIncidentRestService
-
-