Class MetisReportBase<D,F>
java.lang.Object
io.github.tonywasher.joceanus.metis.report.MetisReportBase<D,F>
- Type Parameters:
D- the data type typeF- the filter type
Interface provided by report builders.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate the delayed table.abstract DocumentcreateReport(D pData) Create the web document.protected MetisReportReferenceManager<F> Obtain the reference manager.abstract FprocessFilter(Object pSource) Process a filter.protected voidsetDelayedTable(String pId, MetisReportHTMLBuilder.MetisHTMLTable pParent, Object pSource) Record delayed table.voidsetFilterForId(String pId, Object pSelect) Record filter for id.
-
Constructor Details
-
MetisReportBase
protected MetisReportBase()Constructor.
-
-
Method Details
-
getReferenceMgr
Obtain the reference manager.- Returns:
- the reference manager
-
setFilterForId
Record filter for id.- Parameters:
pId- the id for the selectionpSelect- the selection object
-
setDelayedTable
protected void setDelayedTable(String pId, MetisReportHTMLBuilder.MetisHTMLTable pParent, Object pSource) Record delayed table.- Parameters:
pId- the id for the tablepParent- the parent tablepSource- the selection object
-
processFilter
Process a filter.- Parameters:
pSource- the filter source- Returns:
- the Filter or null
-
createDelayedTable
public abstract MetisReportHTMLBuilder.MetisHTMLTable createDelayedTable(MetisReportReferenceManager.DelayedTable pTable) Create the delayed table.- Parameters:
pTable- the delayed table definition- Returns:
- the newly created table
-
createReport
Create the web document.- Parameters:
pData- the source data- Returns:
- Web document
-