Class DashboardEmailUtil
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.DashboardEmailUtil
-
public class DashboardEmailUtil extends Object
Utility class for sending emails of dashboards.- Since:
- 14.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DashboardEmailUtil.ReportRenderResult
The result of a report rendering.static class
DashboardEmailUtil.Series
A Series used to render a chart of a given report.
-
Constructor Summary
Constructors Constructor Description DashboardEmailUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<Tuple2<EventAnalyticsDashboard,ServiceInstanceConfig>>
getDashboardsPendingToSendEmail()
Returns the dashboards that are pending either to be sent via email or to have the schedule date filled.static ISingleMail
prepareDashboardEmail(EventAnalyticsDashboard dashboard, ServiceInstanceConfig cxServiceInstance)
Prepare the email for the given dashboard.
-
-
-
Field Detail
-
COLORS
public static final Color[] COLORS
The colors to be used in report rendering.- Since:
- 14.0.0
-
-
Method Detail
-
getDashboardsPendingToSendEmail
public static Collection<Tuple2<EventAnalyticsDashboard,ServiceInstanceConfig>> getDashboardsPendingToSendEmail() throws PortalException
Returns the dashboards that are pending either to be sent via email or to have the schedule date filled.- Returns:
- the dashboards that are pending either to be sent via email or to have the schedule date filled.
- Throws:
PortalException
- Since:
- 14.0.0
-
prepareDashboardEmail
public static ISingleMail prepareDashboardEmail(EventAnalyticsDashboard dashboard, ServiceInstanceConfig cxServiceInstance) throws PortalException
Prepare the email for the given dashboard.- Parameters:
dashboard
- the dashboardcxServiceInstance
- the customer experience service instance.- Returns:
- the email for the given dashboard.
- Throws:
PortalException
- Since:
- 14.0.0
-
-