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(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Constructor Detail
-
IncidentRestServiceImpl
public IncidentRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getIncidents
public List<IncidentDto> getIncidents(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, 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(String incidentId)
- Specified by:
getIncident
in interfaceIncidentRestService
-
-