public class EventAnalyticsUtil extends Object
Constructor and Description |
---|
EventAnalyticsUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addStandardDashBoardsAndAllStandartReports(String... dashboardType)
Add standard dashboard by types passed in parameters in all service instances.
|
static boolean |
canInheritReport(String reportId,
String requestServiceInstanceId)
Returns whether the service instance config can inherit the report.
|
static void |
createStandardReportsAndDashboards(String serviceInstanceId)
Creates the standard definitions for the given service instance.
|
static EventAnalyticsReport |
getReport(String reportId)
Returns the given report.
|
static EventAnalyticsDashboard |
getStandardDashboardByType(String dashboardType)
Returns the standard dashboard by its type.
|
static boolean |
isStandardDashboardType(String type)
Check is dashboard is standard by type.
|
static boolean |
isStandardReportId(String reportId)
Returns whether the given report identifier is a standard report identifier.
|
public static EventAnalyticsReport getReport(String reportId) throws PortalException
reportId
- the report identifier.PortalException
public static EventAnalyticsDashboard getStandardDashboardByType(String dashboardType) throws PortalException
dashboardType
- the dashboard type.PortalException
public static boolean isStandardReportId(String reportId)
reportId
- the report identifier.public static boolean isStandardDashboardType(String type)
type
- the dashboard.public static void addStandardDashBoardsAndAllStandartReports(String... dashboardType) throws Exception
PostUpgradeTaskManager
in step 31.dashboardType
- the dash boards type standards that be will add in all service instance.Exception
public static void createStandardReportsAndDashboards(String serviceInstanceId) throws PortalException
serviceInstanceId
- the service instance identifier.PortalException
public static boolean canInheritReport(String reportId, String requestServiceInstanceId) throws PortalException
reportId
- the report to perform the validation.requestServiceInstanceId
- the request service instance to validate the inheritance.PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.