public class SessionSummaryReport extends Report
Constructor | Description |
---|---|
SessionSummaryReport(com.apptus.util.xml.XmlTree asXml,
TimeInterval interval,
Summary site,
Summary search,
Summary recommendation,
TimeZone tz) |
Creates an SessionSummaryReport.
|
Modifier and Type | Method | Description |
---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static SessionSummaryReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates an SessionSummaryReport from an XML document.
|
Summary |
recommendation() |
|
Summary |
search() |
|
Summary |
site() |
exportToXml, exportToXml, isoDateTimeFormat, timeInterval
public SessionSummaryReport(com.apptus.util.xml.XmlTree asXml, TimeInterval interval, Summary site, Summary search, Summary recommendation, TimeZone tz)
asXml
- An XmlTree to be used if the Report.exportToXml(java.io.File)
method is called.interval
- The time interval for the data in this report.site
- A summary containing bounce rate, number of visits, number of orders and conversion rate for the site.search
- A summary containing number of visits, number of orders and conversion rate for the search panels.recommendation
- A summary containing number of visits, number of orders and conversion rate for the recommendation
panels.tz
- The time zone to use when presenting this report.public static SessionSummaryReport parse(com.apptus.util.xml.XmlScanner scanner, TimeZone tz) throws com.apptus.util.xml.FormatException, com.apptus.util.xml.SourceException
scanner
- A scanner for the XML document to parse.tz
- The time zone to use when presenting this report.AdPlacementReport
.com.apptus.util.xml.FormatException
- if the XML document does not match the expected format.com.apptus.util.xml.SourceException
- if the XML document contains errors like invalid XML or if the source is unreadable.public Summary site()
public Summary search()
public Summary recommendation()
public void exportToExcel(File file) throws FileNotFoundException
Report
exportToExcel
in class Report
file
- The file to write the report to.FileNotFoundException
- if the file does not exists or if the file is inaccessible.Copyright © 2020 Apptus Technologies AB. All rights reserved.