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 java.lang.String
PATH
-
Fields inherited from class org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginResource
engineName, runtimeDelegate
-
-
Constructor Summary
Constructors Constructor Description IncidentRestService(java.lang.String engineName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureExecutionQuery(IncidentQueryDto query)
java.util.List<IncidentDto>
getIncidents(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
CountResultDto
getIncidentsCount(javax.ws.rs.core.UriInfo uriInfo)
java.util.List<IncidentDto>
queryIncidents(IncidentQueryDto queryParameter, java.lang.Integer firstResult, java.lang.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 java.lang.String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIncidents
@GET @Produces("application/json") public java.util.List<IncidentDto> getIncidents(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.Integer maxResults)
-
queryIncidents
@POST @Produces("application/json") @Consumes("application/json") public java.util.List<IncidentDto> queryIncidents(IncidentQueryDto queryParameter, @QueryParam("firstResult") java.lang.Integer firstResult, @QueryParam("maxResults") java.lang.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)
-
-