Class PerformanceReportRequest
- java.lang.Object
-
- com.day.cq.analytics.testandtarget.PerformanceReportRequest
-
public class PerformanceReportRequest extends Object
ThePerformanceReportRequest
encapsulates all needed data for aTestandtargetService.getPerformanceReport(com.day.cq.wcm.webservicesupport.Configuration, PerformanceReportRequest)
call
-
-
Constructor Summary
Constructors Constructor Description PerformanceReportRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerformanceReportRequest
forCampaignId(long campaignId)
Creates a new instance for the specified campaignIdlong
getCampaignId()
Date
getEnd()
Map<String,String>
getParameters()
Gets the TnT report parameter map for this requestDate
getStart()
String
getStep()
String
getSuccessMetric()
PerformanceReportRequest
setEnd(Date end)
PerformanceReportRequest
setStart(Date start)
PerformanceReportRequest
setStep(String step)
PerformanceReportRequest
setSuccessMetric(String successMetric)
-
-
-
Method Detail
-
forCampaignId
public static PerformanceReportRequest forCampaignId(long campaignId)
Creates a new instance for the specified campaignId- Parameters:
campaignId
- the id of the Test&Target campaign- Returns:
- a new request instance
-
setStart
public PerformanceReportRequest setStart(Date start)
-
setEnd
public PerformanceReportRequest setEnd(Date end)
-
setSuccessMetric
public PerformanceReportRequest setSuccessMetric(String successMetric)
-
setStep
public PerformanceReportRequest setStep(String step)
-
getSuccessMetric
public String getSuccessMetric()
-
getStep
public String getStep()
-
getCampaignId
public long getCampaignId()
-
getStart
public Date getStart()
-
getEnd
public Date getEnd()
-
-