| java.lang.Object dinamica.AbstractModule dinamica.GenericOutput dinamica.MasterDetailOutput
MasterDetailOutput | public class MasterDetailOutput extends GenericOutput (Code) | | Generic output module to print master/detail html reports.
It will require a published recordset called "group-master.sql"
and will consume a Transaction that is a subclass of MasterDetailReader.
It can be an instance of this class or an instance of a subclass. If your
master-detail scenario is rather simple, then this generic Transaction class
will be enough to create your report.
(c) 2004 Martin Cordova
This code is released under the LGPL license
Dinamica Framework - http://www.martincordova.com
author: Martin Cordova (dinamica@martincordova.com) |
Method Summary | |
protected String | getGroupTemplate(Element gt) | protected Recordset | getMaster() Makes available the master recordset to subclasses
of this class, because it may be useful to have it when
overriding the onNewRow(...) method, which does not
receive a reference to the master recordset. | public void | print(TemplateEngine te, GenericTransaction data) Subclass GenericOutput to provide the same features
(all the PRINT commands, etc) and generates the
master/detail section of the template with one level
of grouping. |
getGroupTemplate | protected String getGroupTemplate(Element gt) throws Throwable(Code) | | Load repeatable subtemplate
repeatable subtemplate body throws: Throwable - |
getMaster | protected Recordset getMaster()(Code) | | Makes available the master recordset to subclasses
of this class, because it may be useful to have it when
overriding the onNewRow(...) method, which does not
receive a reference to the master recordset.
|
print | public void print(TemplateEngine te, GenericTransaction data) throws Throwable(Code) | | Subclass GenericOutput to provide the same features
(all the PRINT commands, etc) and generates the
master/detail section of the template with one level
of grouping.
|
|
|