Class EventAnalyticsResource


  • @Path("/lumis/service/analytics/eventanalytics/{si: [a-fA-F0-9]{32}}")
    public class EventAnalyticsResource
    extends AbstractMonitorResource
    Event analytics rest.
    Since:
    11.0.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • EventAnalyticsResource

        public EventAnalyticsResource()
    • Method Detail

      • getReportsAndDashboards

        @GET
        @Path("/reportsanddashboards")
        @Produces("application/json")
        public javax.ws.rs.core.Response getReportsAndDashboards()
        Returns the dashboards and reports.
        Returns:
        the dashboards and reports.
        Since:
        11.0.0
      • getReportDetails

        @Path("/report/{reportId: [a-fA-F0-9]{32}}")
        @GET
        @Produces("application/json")
        public java.lang.String getReportDetails​(@PathParam("reportId")
                                                 java.lang.String reportId)
      • saveReport

        @Path("/report/{reportId: [a-fA-F0-9]{32}}")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public void saveReport​(java.lang.String jsonStr,
                               @PathParam("reportId")
                               java.lang.String reportId)
      • saveReportInternal

        public static void saveReportInternal​(java.lang.String jsonStr,
                                              java.lang.String reportId,
                                              java.lang.String serviceInstanceId)
                                       throws PortalException
        Save report utility.
        Parameters:
        jsonStr - the report JSON
        reportId - the report identifier
        serviceInstanceId - the service instance identifier
        Throws:
        PortalException
        Since:
        14.2.0
      • getDashboardDetails

        @Path("/dashboard/{dashboardId: [a-fA-F0-9]{32}}")
        @GET
        @Produces("application/json")
        public java.lang.String getDashboardDetails​(@PathParam("dashboardId")
                                                    java.lang.String dashboardId)
      • saveDashboard

        @Path("/dashboard/{dashboardId: [a-fA-F0-9]{32}}")
        @POST
        @Produces("application/json")
        @Consumes("application/json")
        public void saveDashboard​(java.lang.String jsonStr,
                                  @PathParam("dashboardId")
                                  java.lang.String dashboardId)