Class EventAnalyticsReportResource

  • Direct Known Subclasses:
    AnalyticsReportCustomResource

    @Path("/lumis/service/analytics/eventanalytics/report/rest/graph")
    public class EventAnalyticsReportResource
    extends AbstractMonitorResource
    Event analytics report rest.
    Since:
    11.0.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • EventAnalyticsReportResource

        public EventAnalyticsReportResource()
      • EventAnalyticsReportResource

        public EventAnalyticsReportResource​(boolean forInternalUse)
        Creates a new instance with the option of exposing exceptions to the endpoint callers.
        Parameters:
        forInternalUse - if true, it will expose internal exception information in the exception thrown by its endpoints and will not log such exceptions.
        Since:
        17.0.0
    • Method Detail

      • getGraph

        @Path("/{graphType}")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public java.lang.String getGraph​(java.lang.String requestJSONStr,
                                         @PathParam("graphType")
                                         java.lang.String graphType)
                                  throws PortalException
        Returns the JSON data for a requested graph request.
        Returns:
        the JSON data for a requested graph request.
        Throws:
        PortalException
        Since:
        11.0.0
      • deleteEventList

        @Path("/events")
        @DELETE
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteEventList​(java.lang.String requestJSONStr)
                                                  throws java.lang.Exception
        Delete all events that match by filter.
        Parameters:
        requestJSONStr - the request filter.
        Throws:
        java.lang.Exception
        Since:
        14.0.0