|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the underlying implementation of
AbstractStatisticsViewControllerResult<?>public interface IStatisticsPDFReportController<T extends AbstractStatisticsViewControllerResult<?>>
Marks a AbstractStatisticsViewController<?,?,?> as being
able to generating a PDF-report.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.io.File> |
buildPDFFileMap(AbstractStatisticsViewControllerResult<?> result)
Returns a map which maps filenames to Files required/used
for the creation of the PDF. |
T |
buildPDFReportResult(Duration duration, Period dataResolution, StatisticsServer server,
org.hibernate.Session s)
Returns an AbstractStatisticsViewControllerResult as
required for the creation the PDF for the given Duration,
the given Period and the given StatisticsServer
. |
T |
generatePDFReport(ServiceRequest request)
Generates a PDF-report. |
| Methods inherited from interface org.torweg.pulse.configuration.Configurable |
|---|
initialize |
| Method Detail |
|---|
T generatePDFReport(ServiceRequest request)
The action - should be annotated accordingly.
request - the current ServicecRequest
AbstractStatisticsViewControllerResult<?>java.util.Map<java.lang.String,java.io.File> buildPDFFileMap(AbstractStatisticsViewControllerResult<?> result)
Files required/used
for the creation of the PDF.
NOTE: null permitted
result - the current result
Files or
null
T buildPDFReportResult(Duration duration, Period dataResolution, StatisticsServer server,
org.hibernate.Session s)
AbstractStatisticsViewControllerResult as
required for the creation the PDF for the given Duration,
the given Period and the given StatisticsServer
.
NOTE: for request independent creation of the result required for the creation of the PDF.
USED BY: e.g. SendReportEmailJoblet
duration - the DurationdataResolution - the Period, if null is given the
default data resolution Period as configured for
the implementing AbstractStatisticsViewController
is to be usedserver - the StatisticsServers - the current HibernateTM-Session
AbstractStatisticsViewControllerResult as
required for the creation the PDF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||