Class DashboardEmailUtil
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.DashboardEmailUtil
-
public class DashboardEmailUtil extends java.lang.Object
Utility class for sending emails of dashboards.- Since:
- 14.0.0
- Version:
- $Revision: 25459 $ $Date: 2023-02-16 11:25:13 -0300 (Thu, 16 Feb 2023) $
-
-
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.
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Color[]
COLORS
The colors to be used in report rendering.
-
Constructor Summary
Constructors Constructor Description DashboardEmailUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.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.
-
-
-
Method Detail
-
getDashboardsPendingToSendEmail
public static java.util.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
-
-