|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.report.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 pdfFileName,
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)
|
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 marshalls 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)
| 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")
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")
public void marshalReport()
throws org.exolab.castor.xml.ValidationException,
org.exolab.castor.xml.MarshalException,
IOException,
Exception
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
IOException
Exception
public void generatePDF(String pdfFileName,
OutputStream out,
String format)
throws Exception
Exceptionpublic static void main(String[] args)
public static void generateReport(String logourl,
String categoryName,
String format,
String monthFormat,
String startMonth,
String startDate,
String startYear)
throws Exception
logourl - categoryName - format -
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||