public class ProductTopSellersReport extends Report
Modifier and Type | Class | Description |
---|---|---|
static class |
ProductTopSellersReport.Section |
Sub class for
ProductTopSellersReport Contains sales data for one product (or variant). |
Modifier and Type | Method | Description |
---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static ProductTopSellersReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates a
ProductTopSellersReport from an XML document. |
List<ProductTopSellersReport.Section> |
sections() |
|
int |
windowFirst() |
|
int |
windowLast() |
exportToXml, exportToXml, isoDateTimeFormat, timeInterval
public static ProductTopSellersReport parse(com.apptus.util.xml.XmlScanner scanner, TimeZone tz) throws com.apptus.util.xml.FormatException, com.apptus.util.xml.SourceException
ProductTopSellersReport
from an XML document.scanner
- A scanner for the XML document to parse.tz
- Time zone.ProductTopSellersReport
.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<ProductTopSellersReport.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 © 2021 Apptus Technologies AB. All rights reserved.