Class EventAnalyticsDashboard
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.bean.EventAnalyticsDashboard
-
- All Implemented Interfaces:
java.lang.Cloneable
public class EventAnalyticsDashboard extends java.lang.Object implements java.lang.Cloneable
An event analytics dashboard.- Since:
- 11.0.0
- Version:
- $Revision: 25809 $ $Date: 2023-07-04 15:23:22 -0300 (Tue, 04 Jul 2023) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EventAnalyticsDashboard.EmailType
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAMED_QUERY_FIND_BY_PARENT_TEMPLATE_IDS
static java.lang.String
NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_IDS
-
Constructor Summary
Constructors Constructor Description EventAnalyticsDashboard(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventAnalyticsDashboard
addReport(EventAnalyticsReport report)
Adds a report to the dashboard.EventAnalyticsDashboard
addReport(EventAnalyticsReport report, int position)
Add a report to this dashboard.EventAnalyticsDashboard
addReport(EventAnalyticsReport report, int position, EventAnalyticsReportDashboard.Width width)
Add a report to this dashboard.EventAnalyticsDashboard
clearReports()
Completely erases the reports of this dashboard.EventAnalyticsDashboard
clone()
ContentVersion
getContentVersion()
Returns the content version of this dashboard.java.util.Date
getEmailNextDateToSend()
Returns the emailNextDateToSend.java.lang.String
getEmailTargets()
Returns the emailTargets.java.lang.Integer
getEmailTime()
Returns the emailTime.EventAnalyticsDashboard.EmailType
getEmailType()
Returns the emailType.java.lang.Integer
getEmailWeekday()
Returns the emailWeekday.java.lang.String
getEventFilter()
Returns the eventFilter.java.lang.String
getId()
Returns the id.java.util.Collection<EventAnalyticsReportDashboard>
getInstances()
Get all the dashboard reports.EventAnalyticsDashboard
getParentTemplate()
Returns the parent template (if any).java.lang.Integer
getPosition()
Returns the position.java.util.Collection<EventAnalyticsReportDashboard>
getReportsToBeUsed()
Returns the reports to be used when accessing the dashboard.java.lang.String
getTimeFrame()
Returns the timeFrame.java.lang.String
getTitle()
Returns the title.java.lang.String
getType()
Returns the type.java.lang.String
getUserSegmentation()
Returns the userSegmentation.UserSegmentation
getUserSegmentationRef()
Returns the user segmentation reference.boolean
isABTPerformanceDashboard()
Returns whether this is an ABTest performance dashboard.boolean
isContentPerformanceDashboard()
Return the value of isContentPerformanceDashboardboolean
isShared()
Returns whether this dashboard should be shared.boolean
isStandard()
Returns the isStandard.EventAnalyticsDashboard
removeReport(EventAnalyticsReportDashboard instance)
Removes a report from the dashboard.EventAnalyticsDashboard
setABTPerformanceDashboard(boolean isABTPerformanceDashboard)
Sets whether this is an ABTest performance dashboard.EventAnalyticsDashboard
setContentPerformanceDashboard(boolean isContentPerformanceDashboard)
Set value for isContentPerformanceDashboardEventAnalyticsDashboard
setEmailNextDateToSend(java.util.Date emailNextDateToSend)
Sets the emailNextDateToSend.EventAnalyticsDashboard
setEmailTargets(java.lang.String emailTargets)
Sets the emailTargets.EventAnalyticsDashboard
setEmailTime(java.lang.Integer emailTime)
Sets the emailTime.EventAnalyticsDashboard
setEmailType(EventAnalyticsDashboard.EmailType emailType)
Sets the emailType.EventAnalyticsDashboard
setEmailWeekday(java.lang.Integer emailWeekday)
Sets the emailWeekday.void
setEventFilter(java.lang.String eventFilter)
Sets the eventFilter.EventAnalyticsDashboard
setPosition(java.lang.Integer position)
Sets the position.EventAnalyticsDashboard
setShared(boolean shared)
Sets whether this dashboard should be shared.EventAnalyticsDashboard
setStandard(boolean isStandard)
Sets the isStandard.EventAnalyticsDashboard
setTimeFrame(java.lang.String timeFrame)
Sets the timeFrame.EventAnalyticsDashboard
setTitle(java.lang.String title)
Sets the title.EventAnalyticsDashboard
setType(java.lang.String type)
Sets the type.EventAnalyticsDashboard
setUserSegmentation(java.lang.String userSegmentation)
Sets the userSegmentation.void
setUserSegmentationRef(UserSegmentation userSegmentationRef)
Sets the user segmentation reference.
-
-
-
Field Detail
-
NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_IDS
public static final java.lang.String NAMED_QUERY_FIND_BY_SERVICE_INSTANCE_IDS
- See Also:
- Constant Field Values
-
NAMED_QUERY_FIND_BY_PARENT_TEMPLATE_IDS
public static final java.lang.String NAMED_QUERY_FIND_BY_PARENT_TEMPLATE_IDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Returns the title.- Returns:
- the title
- Since:
- 11.0.0
-
setTitle
public EventAnalyticsDashboard setTitle(java.lang.String title)
Sets the title.- Parameters:
title
- the title value to set.- Since:
- 11.0.0
-
getType
public java.lang.String getType()
Returns the type.- Returns:
- the type
- Since:
- 11.0.0
-
setType
public EventAnalyticsDashboard setType(java.lang.String type)
Sets the type.- Parameters:
type
- the type value to set.- Since:
- 11.0.0
-
getPosition
public java.lang.Integer getPosition()
Returns the position.- Returns:
- the position
- Since:
- 11.0.0
-
setPosition
public EventAnalyticsDashboard setPosition(java.lang.Integer position)
Sets the position.- Parameters:
position
- the position value to set.- Since:
- 11.0.0
-
getUserSegmentation
public java.lang.String getUserSegmentation()
Returns the userSegmentation.- Returns:
- the userSegmentation
- Since:
- 11.0.0
-
setUserSegmentation
public EventAnalyticsDashboard setUserSegmentation(java.lang.String userSegmentation)
Sets the userSegmentation.- Parameters:
userSegmentation
- the userSegmentation value to set.- Since:
- 11.0.0
-
getTimeFrame
public java.lang.String getTimeFrame()
Returns the timeFrame.- Returns:
- the timeFrame
- Since:
- 11.0.0
-
setTimeFrame
public EventAnalyticsDashboard setTimeFrame(java.lang.String timeFrame)
Sets the timeFrame.- Parameters:
timeFrame
- the timeFrame value to set.- Since:
- 11.0.0
-
getEventFilter
public java.lang.String getEventFilter()
Returns the eventFilter.- Returns:
- the eventFilter
- Since:
- 11.0.0
-
setEventFilter
public void setEventFilter(java.lang.String eventFilter)
Sets the eventFilter.- Parameters:
eventFilter
- the eventFilter value to set.- Since:
- 11.0.0
-
getId
public java.lang.String getId()
Returns the id.- Returns:
- the id
- Since:
- 11.0.0
-
isStandard
public boolean isStandard()
Returns the isStandard.- Returns:
- the isStandard
- Since:
- 11.0.0
-
setStandard
public EventAnalyticsDashboard setStandard(boolean isStandard)
Sets the isStandard.- Parameters:
isStandard
- the isStandard value to set.- Since:
- 11.0.0
-
getInstances
public java.util.Collection<EventAnalyticsReportDashboard> getInstances()
Get all the dashboard reports.- Returns:
- all the dashboard reports.
- Since:
- 11.0.0
-
getReportsToBeUsed
public java.util.Collection<EventAnalyticsReportDashboard> getReportsToBeUsed() throws PortalException
Returns the reports to be used when accessing the dashboard. UnlikegetInstances()
, it checks whether the dashboard is a standard one and, if so, it reads the reports to be used from standard JSON.- Returns:
- the reports to be used when accessing the dashboard.
- Throws:
PortalException
- Since:
- 14.0.0
-
addReport
public EventAnalyticsDashboard addReport(EventAnalyticsReport report)
Adds a report to the dashboard.- Parameters:
report
- the report to be added.- Returns:
- the dashboard.
- Since:
- 11.0.0
-
addReport
public EventAnalyticsDashboard addReport(EventAnalyticsReport report, int position)
Add a report to this dashboard.- Parameters:
report
- the report.position
- the position.- Returns:
- this dashboard.
- Since:
- 11.0.0
-
addReport
public EventAnalyticsDashboard addReport(EventAnalyticsReport report, int position, EventAnalyticsReportDashboard.Width width)
Add a report to this dashboard.- Parameters:
report
- the report.position
- the position.width
- the width.- Returns:
- this dashboard.
- Since:
- 11.0.0
-
removeReport
public EventAnalyticsDashboard removeReport(EventAnalyticsReportDashboard instance)
Removes a report from the dashboard.- Parameters:
reportId
- the report identifier to be removed.- Returns:
- the dashboard.
- Since:
- 11.0.0
-
clearReports
public EventAnalyticsDashboard clearReports()
Completely erases the reports of this dashboard.- Returns:
- this dashboard.
- Since:
- 11.0.0
-
getUserSegmentationRef
public UserSegmentation getUserSegmentationRef()
Returns the user segmentation reference.- Returns:
- the user segmentation reference
- Since:
- 11.1.0
-
setUserSegmentationRef
public void setUserSegmentationRef(UserSegmentation userSegmentationRef)
Sets the user segmentation reference.- Parameters:
userSegmentationRef
- the user segmentation reference value to set.- Since:
- 11.1.0
-
isShared
public boolean isShared()
Returns whether this dashboard should be shared.- Returns:
- whether this dashboard should be shared.
- Since:
- 14.0.0
-
setShared
public EventAnalyticsDashboard setShared(boolean shared)
Sets whether this dashboard should be shared.- Parameters:
isShared
- whether this dashboard should be shared.- Since:
- 14.0.0
-
getEmailType
public EventAnalyticsDashboard.EmailType getEmailType()
Returns the emailType.- Returns:
- the emailType
- Since:
- 14.0.0
-
setEmailType
public EventAnalyticsDashboard setEmailType(EventAnalyticsDashboard.EmailType emailType)
Sets the emailType.- Parameters:
emailType
- the emailType value to set.- Since:
- 14.0.0
-
getEmailTargets
public java.lang.String getEmailTargets()
Returns the emailTargets.- Returns:
- the emailTargets
- Since:
- 14.0.0
-
setEmailTargets
public EventAnalyticsDashboard setEmailTargets(java.lang.String emailTargets)
Sets the emailTargets.- Parameters:
emailTargets
- the emailTargets value to set.- Since:
- 14.0.0
-
getEmailTime
public java.lang.Integer getEmailTime()
Returns the emailTime.- Returns:
- the emailTime
- Since:
- 14.0.0
-
setEmailTime
public EventAnalyticsDashboard setEmailTime(java.lang.Integer emailTime)
Sets the emailTime.- Parameters:
emailTime
- the emailTime value to set.- Since:
- 14.0.0
-
getEmailWeekday
public java.lang.Integer getEmailWeekday()
Returns the emailWeekday.- Returns:
- the emailWeekday
- Since:
- 14.0.0
-
setEmailWeekday
public EventAnalyticsDashboard setEmailWeekday(java.lang.Integer emailWeekday)
Sets the emailWeekday.- Parameters:
emailWeekday
- the emailWeekday value to set.- Since:
- 14.0.0
-
getEmailNextDateToSend
public java.util.Date getEmailNextDateToSend()
Returns the emailNextDateToSend.- Returns:
- the emailNextDateToSend
- Since:
- 14.0.0
-
setEmailNextDateToSend
public EventAnalyticsDashboard setEmailNextDateToSend(java.util.Date emailNextDateToSend)
Sets the emailNextDateToSend.- Parameters:
emailNextDateToSend
- the emailNextDateToSend value to set.- Since:
- 14.0.0
-
getParentTemplate
public EventAnalyticsDashboard getParentTemplate()
Returns the parent template (if any).- Returns:
- the parent template (if any).
- Since:
- 14.1.0
-
getContentVersion
public ContentVersion getContentVersion()
Returns the content version of this dashboard.- Returns:
- the content version of this dashboard.
- Since:
- 14.1.0
-
isABTPerformanceDashboard
public boolean isABTPerformanceDashboard()
Returns whether this is an ABTest performance dashboard.- Returns:
- the isABTPerformanceDashboard value.
- Since:
- 16.0.0
-
setABTPerformanceDashboard
public EventAnalyticsDashboard setABTPerformanceDashboard(boolean isABTPerformanceDashboard)
Sets whether this is an ABTest performance dashboard.- Parameters:
isABTPerformanceDashboard
- the value to be set.- Since:
- 16.0.0
-
isContentPerformanceDashboard
public boolean isContentPerformanceDashboard()
Return the value of isContentPerformanceDashboard- Returns:
- boolean
- Since:
- 16.0.0
-
setContentPerformanceDashboard
public EventAnalyticsDashboard setContentPerformanceDashboard(boolean isContentPerformanceDashboard)
Set value for isContentPerformanceDashboard- Parameters:
isContentPerformanceDashboard
-- Since:
- 16.0.0
-
clone
public EventAnalyticsDashboard clone() throws java.lang.CloneNotSupportedException
- Overrides:
clone
in classjava.lang.Object
- Throws:
java.lang.CloneNotSupportedException
-
-