@Produces(value="application/json") public class IncidentRestService extends AbstractPluginResource
Modifier and Type | Field and Description |
---|---|
static String |
PATH |
engineName, runtimeDelegate
Constructor and Description |
---|
IncidentRestService(String engineName) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureExecutionQuery(IncidentQueryDto query) |
List<IncidentDto> |
getIncidents(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<IncidentDto> |
queryIncidents(IncidentQueryDto queryParameter,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryIncidentsCount(IncidentQueryDto queryParameter) |
addPermissionCheck, configureAuthorizationCheck, configureTenantCheck, getCommandExecutor, getCurrentAuthentication, getQueryService, isAuthorizationEnabled, isCamundaAdmin, isPermissionDisabled, isTenantCheckEnabled
getProcessEngine
public static final String PATH
public IncidentRestService(String engineName)
@GET @Produces(value="application/json") public List<IncidentDto> getIncidents(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@POST @Produces(value="application/json") @Consumes(value="application/json") public List<IncidentDto> queryIncidents(IncidentQueryDto queryParameter, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") public CountResultDto getIncidentsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") public CountResultDto queryIncidentsCount(IncidentQueryDto queryParameter)
protected void configureExecutionQuery(IncidentQueryDto query)
Copyright © 2021. All rights reserved.