public class TopSellingSearchesReport extends Report
Modifier and Type | Class | Description |
---|---|---|
static class |
TopSellingSearchesReport.Section |
Sub class for
TopSellingSearchesReport Contains a search phrase together with
the total number of times the search phrase has lead to a purchase of a product or a variant that matches the filter specified in the report. |
Modifier and Type | Method | Description |
---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static TopSellingSearchesReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates a
TopSellingSearchesReport from an XML document. |
List<TopSellingSearchesReport.Section> |
sections() |
|
int |
windowFirst() |
|
int |
windowLast() |
exportToXml, exportToXml, isoDateTimeFormat, timeInterval
public static TopSellingSearchesReport parse(com.apptus.util.xml.XmlScanner scanner, TimeZone tz) throws com.apptus.util.xml.FormatException, com.apptus.util.xml.SourceException
TopSellingSearchesReport
from an XML document.scanner
- A scanner for the XML document to parse.tz
- The time zone to use when presenting this report.TopSellingSearchesReport
.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 List<TopSellingSearchesReport.Section> sections()
public int windowFirst()
public int windowLast()
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.