public interface Report
| Modifier and Type | Method and Description |
|---|---|
void |
addBlock(Statistics stat)
add a statistics block to the report to the class register
|
java.lang.String |
blockExplanation(java.lang.String explanation)
output the explanation of the stat block in the relevant format
|
java.lang.String |
dateRange()
output the date range in the relevant format.
|
java.lang.String |
floorInfo(int floor)
output the floor information in the relevant format
|
java.lang.String |
footer()
output the final footers for this file
|
java.lang.String |
header()
output any top headers that this page needs
|
java.lang.String |
header(java.lang.String title)
output any top headers that this page needs
|
java.lang.String |
mainTitle()
output the title in the relevant format.
|
java.lang.String |
render()
render the report
|
java.lang.String |
sectionHeader(java.lang.String title)
output the section header in the relevant format
|
void |
setEndDate(java.util.Date end)
set the end date for the report
|
void |
setMainTitle(java.lang.String name,
java.lang.String serverName)
set the main title for the report
|
void |
setStartDate(java.util.Date start)
set the starting date for the report
|
java.lang.String |
statBlock(Statistics content)
output the report block based on the passed statistics object array
|
java.lang.String header()
java.lang.String header(java.lang.String title)
title - the title of the report, useful for email subjects or
HTML headersjava.lang.String mainTitle()
java.lang.String dateRange()
java.lang.String sectionHeader(java.lang.String title)
title - the title of the current section headerjava.lang.String statBlock(Statistics content)
content - a statistics object to form the basis of the displayed
stat blockjava.lang.String floorInfo(int floor)
floor - the floor value for the statistics blockjava.lang.String blockExplanation(java.lang.String explanation)
explanation - the explanatory or clarification text for the statsjava.lang.String footer()
void setMainTitle(java.lang.String name,
java.lang.String serverName)
name - the name of the serviceserverName - the name of the servervoid addBlock(Statistics stat)
stat - the statistics object to be added to the reportjava.lang.String render()
void setStartDate(java.util.Date start)
start - the start date for the reportvoid setEndDate(java.util.Date end)
end - the end date for the reportCopyright © 2013 DuraSpace. All Rights Reserved.