|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.homeunix.thecave.buddi.plugin.api.PreferenceAccess
org.homeunix.thecave.buddi.plugin.api.BuddiReportPlugin
public abstract class BuddiReportPlugin
This class is the defintion of a Buddi report, which writes out HTML to disk and opens it with a browser. The main method which needs to be implemented is the getReport() method. This method gives you the document object, the frame which called this plugin, and the date range on which to report.
| Constructor Summary | |
|---|---|
BuddiReportPlugin()
|
|
| Method Summary | |
|---|---|
abstract PluginReportDateRangeChoices |
getDateRangeChoice()
The type of plugin this should be. |
Version |
getMaximumVersion()
Returns the maximum program version needed to run this plugin. |
Version |
getMinimumVersion()
Returns the minimum program version needed to run this plugin. |
abstract HtmlPage |
getReport(ImmutableDocument model,
MossDocumentFrame callingFrame,
java.util.Date startDate,
java.util.Date endDate)
Returns an in-memory version of the printed page, as an HTML file. |
boolean |
getReportGUI(ImmutableDocument model,
MossDocumentFrame callingFrame,
java.util.Date startDate,
java.util.Date endDate)
This method will be called on the EventDispatch thread, before the getReport() method is run. |
| Methods inherited from class org.homeunix.thecave.buddi.plugin.api.PreferenceAccess |
|---|
getListPreference, getPreference, getSecurePreference, putListPreference, putPreference, putSecurePreference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.homeunix.thecave.moss.plugin.MossPlugin |
|---|
getDescription, getName, isPluginActive |
| Constructor Detail |
|---|
public BuddiReportPlugin()
| Method Detail |
|---|
public abstract HtmlPage getReport(ImmutableDocument model,
MossDocumentFrame callingFrame,
java.util.Date startDate,
java.util.Date endDate)
throws PluginException
startDate - Start of report periodendDate - End of report period
PluginException
public boolean getReportGUI(ImmutableDocument model,
MossDocumentFrame callingFrame,
java.util.Date startDate,
java.util.Date endDate)
public abstract PluginReportDateRangeChoices getDateRangeChoice()
public Version getMaximumVersion()
MossPlugin
getMaximumVersion in interface MossPluginpublic Version getMinimumVersion()
MossPlugin
getMinimumVersion in interface MossPlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||