public class AdOrderValueReport extends Report
Modifier and Type | Class | Description |
---|---|---|
static class |
AdOrderValueReport.Section |
Sub class for AdOrderValueReport.
|
Constructor | Description |
---|---|
AdOrderValueReport(com.apptus.util.xml.XmlTree asXml,
List<AdOrderValueReport.Section> sections,
TimeInterval interval,
TimelineType<?> timelineType,
TimeZone tz) |
Creates an AdOrderValueReport.
|
Modifier and Type | Method | Description |
---|---|---|
void |
exportToExcel(File file) |
Writes the report to a file.
|
static AdOrderValueReport |
parse(com.apptus.util.xml.XmlScanner scanner,
TimeZone tz) |
Creates an AdOrderValueReport from an XML document.
|
List<AdOrderValueReport.Section> |
sections() |
|
TimelineType<?> |
timelineType() |
exportToXml, exportToXml, isoDateTimeFormat, timeInterval
public AdOrderValueReport(com.apptus.util.xml.XmlTree asXml, List<AdOrderValueReport.Section> sections, TimeInterval interval, TimelineType<?> timelineType, TimeZone tz)
asXml
- An XmlTree to be used if the Report.exportToXml(java.io.File)
method is called. Can not be null.sections
- A list of AdOrderValueReport.Section
elements. One for each ad
in the report. Can not be null.interval
- The time interval for the data in this report. Can not be null.timelineType
- The timeline type for the data in this report. Can not be null.tz
- The time zone to use when presenting this report.public static AdOrderValueReport 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.AdConversionReport
.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 TimelineType<?> timelineType()
public List<AdOrderValueReport.Section> sections()
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.