Class IncidentRestService
- java.lang.Object
-
- org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource<CockpitPlugin>
-
- org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource
-
- org.camunda.bpm.cockpit.plugin.resource.AbstractPluginResource
-
- org.camunda.bpm.cockpit.impl.plugin.resources.IncidentRestService
-
@Produces("application/json") public class IncidentRestService extends AbstractPluginResource
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static String
PATH
-
Fields inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
engineName, runtimeDelegate
-
-
Constructor Summary
Constructors Constructor Description IncidentRestService(String engineName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.camunda.bpm.cockpit.plugin.resource.AbstractCockpitPluginResource
addPermissionCheck, configureAuthorizationCheck, configureTenantCheck, getCommandExecutor, getCurrentAuthentication, getQueryService, isAuthorizationEnabled, isCamundaAdmin, isPermissionDisabled, isTenantCheckEnabled
-
Methods inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
getProcessEngine
-
-
-
-
Field Detail
-
PATH
public static final String PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IncidentRestService
public IncidentRestService(String engineName)
-
-
Method Detail
-
getIncidents
@GET @Produces("application/json") public List<IncidentDto> getIncidents(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
-
queryIncidents
@POST @Produces("application/json") @Consumes("application/json") public List<IncidentDto> queryIncidents(IncidentQueryDto queryParameter, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
-
getIncidentsCount
@GET @Path("/count") @Produces("application/json") public CountResultDto getIncidentsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
queryIncidentsCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") public CountResultDto queryIncidentsCount(IncidentQueryDto queryParameter)
-
configureExecutionQuery
protected void configureExecutionQuery(IncidentQueryDto query)
-
-