public class IncidentRestServiceImpl extends AbstractRestProcessEngineAware implements IncidentRestService
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
IncidentRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
IncidentResource |
getIncident(String incidentId) |
List<IncidentDto> |
getIncidents(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
IncidentQuery interface as a REST service. |
CountResultDto |
getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo) |
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public IncidentRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public List<IncidentDto> getIncidents(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
IncidentRestService
IncidentQuery
interface as a REST service.getIncidents
in interface IncidentRestService
public CountResultDto getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
getIncidentsCount
in interface IncidentRestService
public IncidentResource getIncident(String incidentId)
getIncident
in interface IncidentRestService
Copyright © 2021. All rights reserved.