Class EventAnalyticsReportResource
- java.lang.Object
-
- lumis.portal.monitor.impl.AbstractMonitorResource
-
- lumis.service.analytics.eventanalytics.report.rest.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$
-
-
Field Summary
-
Fields inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
app
-
-
Constructor Summary
Constructors Constructor Description EventAnalyticsReportResource()
EventAnalyticsReportResource(boolean forInternalUse)
Creates a new instance with the option of exposing exceptions to the endpoint callers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
deleteEventList(java.lang.String requestJSONStr)
Delete all events that match by filter.java.lang.String
getGraph(java.lang.String requestJSONStr, java.lang.String graphType)
Returns the JSON data for a requested graph request.-
Methods inherited from class lumis.portal.monitor.impl.AbstractMonitorResource
checkModeManagePermission, checkModeManagePermission, checkModeViewPermission, checkModeViewPermission, checkViewServiceInstancePermission
-
-
-
-
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
- iftrue
, 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
-
-