Class IncidentRestService


@Produces("application/json") public class IncidentRestService extends AbstractPluginResource
Author:
roman.smirnov
  • Field Details

  • Constructor Details

    • IncidentRestService

      public IncidentRestService(String engineName)
  • Method Details

    • 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)