|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.reporting.availability.AvailabilityReport
public class AvailabilityReport
AvailabilityReport generates the Availability report in PDF format
| Field Summary | |
|---|---|
static String[] |
months
String of Months |
| Constructor Summary | |
|---|---|
AvailabilityReport(String author,
String startMonth,
String startDate,
String startYear)
Default constructor |
|
| Method Summary | |
|---|---|
void |
generatePDF(String xsltFileName,
OutputStream out,
String format)
Generate PDF from castor classes. |
static void |
generateReport(String logourl,
String categoryName,
String format,
String monthFormat,
String startMonth,
String startDate,
String startYear)
generateReport |
void |
getReportData(String logourl,
String categoryName,
String reportFormat,
String monthFormat,
String startMonth,
String startDate,
String startYear)
This when invoked generates the data into report castor classes. |
static void |
main(String[] args)
Main method |
void |
marshalReport()
This when invoked marshals the report XML from the castor classes. |
void |
populateReport(String logourl,
String categoryName,
String reportFormat,
String monthFormat,
String startMonth,
String startDate,
String startYear)
This when invoked populates the castor classes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String[] months
| Constructor Detail |
|---|
public AvailabilityReport(String author,
String startMonth,
String startDate,
String startYear)
author - a String object.startMonth - a String object.startDate - a String object.startYear - a String object.| Method Detail |
|---|
public void getReportData(String logourl,
String categoryName,
String reportFormat,
String monthFormat,
String startMonth,
String startDate,
String startYear)
logourl - location of the logo to be displayed on the reportcategoryName - of the logo to be displayed on the reportreportFormat - Report Format ("SVG" / all)monthFormat - Format for month data ("classic"/"calendar")startMonth - a String object.startDate - a String object.startYear - a String object.
public void populateReport(String logourl,
String categoryName,
String reportFormat,
String monthFormat,
String startMonth,
String startDate,
String startYear)
logourl - location of the logo to be displayed on the reportcategoryName - of the logo to be displayed on the reportreportFormat - Report Format ("SVG" / all)monthFormat - Format for month data ("classic"/"calendar")startMonth - a String object.startDate - a String object.startYear - a String object.
public void marshalReport()
throws org.exolab.castor.xml.ValidationException,
org.exolab.castor.xml.MarshalException,
IOException,
Exception
org.exolab.castor.xml.ValidationException - if any.
org.exolab.castor.xml.MarshalException - if any.
IOException - if any.
Exception - if any.
public void generatePDF(String xsltFileName,
OutputStream out,
String format)
throws Exception
xsltFileName - a String object.out - a OutputStream object.format - a String object.
Exception - if any.public static void main(String[] args)
args - an array of String objects.
public static void generateReport(String logourl,
String categoryName,
String format,
String monthFormat,
String startMonth,
String startDate,
String startYear)
throws Exception
generateReport
logourl - a String object.categoryName - a String object.format - a String object.monthFormat - a String object.startMonth - a String object.startDate - a String object.startYear - a String object.
Exception - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||