Class EventAnalyticsResource
- java.lang.Object
-
- lumis.portal.monitor.impl.AbstractMonitorResource
-
- lumis.service.analytics.eventanalytics.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$
-
-
Field Summary
-
Fields inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
app
-
-
Constructor Summary
Constructors Constructor Description EventAnalyticsResource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDashboardDetails(java.lang.String dashboardId)
java.lang.String
getReportDetails(java.lang.String reportId)
javax.ws.rs.core.Response
getReportsAndDashboards()
Returns the dashboards and reports.void
saveDashboard(java.lang.String jsonStr, java.lang.String dashboardId)
void
saveReport(java.lang.String jsonStr, java.lang.String reportId)
static void
saveReportInternal(java.lang.String jsonStr, java.lang.String reportId, java.lang.String serviceInstanceId)
Save report utility.-
Methods inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
checkModeManagePermission, checkModeManagePermission, checkModeViewPermission, checkModeViewPermission, checkViewServiceInstancePermission
-
-
-
-
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 JSONreportId
- the report identifierserviceInstanceId
- 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)
-
-