Class DashboardEmailUtil.ReportRenderResult
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.DashboardEmailUtil.ReportRenderResult
-
- Enclosing class:
- DashboardEmailUtil
public static class DashboardEmailUtil.ReportRenderResult extends java.lang.Object
The result of a report rendering.- Since:
- 14.0.0
- Version:
- $Revision: 25459 $ $Date: 2023-02-16 11:25:13 -0300 (Thu, 16 Feb 2023) $
-
-
Constructor Summary
Constructors Constructor Description ReportRenderResult(EventAnalyticsReport report, org.json.JSONObject reportValues, byte[] reportImage, DashboardEmailUtil.Series series)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventAnalyticsReport
getReport()
Returns the report.byte[]
getReportImage()
Returns the report image.java.lang.String
getReportImageEmailLink()
Returns the report image link.org.json.JSONObject
getReportValues()
Returns the report values (JSON).DashboardEmailUtil.Series
getSeries()
Returns the value series.void
setEmailAttachment(ISingleMail email)
Adds the image (if any) as attachment of the given email.
-
-
-
Constructor Detail
-
ReportRenderResult
public ReportRenderResult(EventAnalyticsReport report, org.json.JSONObject reportValues, byte[] reportImage, DashboardEmailUtil.Series series)
-
-
Method Detail
-
getReport
public EventAnalyticsReport getReport()
Returns the report.- Returns:
- the report.
- Since:
- 14.0.0
-
getReportValues
public org.json.JSONObject getReportValues()
Returns the report values (JSON).- Returns:
- the report values (JSON).
- Since:
- 14.0.0
-
getReportImage
public byte[] getReportImage()
Returns the report image.- Returns:
- the report image.
- Since:
- 14.0.0
-
getSeries
public DashboardEmailUtil.Series getSeries()
Returns the value series.- Returns:
- the value series.
- Since:
- 14.0.0
-
getReportImageEmailLink
public java.lang.String getReportImageEmailLink()
Returns the report image link.- Returns:
- the report image link.
- Since:
- 14.0.0
-
setEmailAttachment
public void setEmailAttachment(ISingleMail email) throws PortalException
Adds the image (if any) as attachment of the given email.- Parameters:
email
- the email- Throws:
PortalException
- Since:
- 14.0.0
-
-