Package org.camunda.bpm.engine.rest.impl
Class IncidentRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- 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 class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
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 IncidentResourcegetIncident(java.lang.String incidentId)java.util.List<IncidentDto>getIncidents(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)Exposes theIncidentQueryinterface as a REST service.CountResultDtogetIncidentsCount(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:IncidentRestServiceExposes theIncidentQueryinterface as a REST service.- Specified by:
getIncidentsin interfaceIncidentRestService- Returns:
-
getIncidentsCount
public CountResultDto getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getIncidentsCountin interfaceIncidentRestService
-
getIncident
public IncidentResource getIncident(java.lang.String incidentId)
- Specified by:
getIncidentin interfaceIncidentRestService
-
-