Class MetisReportReferenceManager<F>
java.lang.Object
io.github.tonywasher.joceanus.metis.report.MetisReportReferenceManager<F>
- Type Parameters:
F- the filter type
Reference Manager for report builders.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSimple element class for delayed tables. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMetisReportReferenceManager(MetisReportBase<?, F> pReport) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidClear maps.protected booleanprocessDelayedReference(MetisReportHTMLBuilder pBuilder, String pReference) Process a delayed table reference.protected FprocessFilterReference(String pReference) Process a filtered reference.protected voidsetDelayedTable(String pId, MetisReportHTMLBuilder.MetisHTMLTable pParent, Object pSource) Record delayed table.protected voidsetFilterForId(String pId, Object pSelect) Record filter for id.
-
Constructor Details
-
MetisReportReferenceManager
Constructor.- Parameters:
pReport- the report
-
-
Method Details
-
processFilterReference
Process a filtered reference.- Parameters:
pReference- the reference- Returns:
- the filter (or null)
-
processDelayedReference
Process a delayed table reference.- Parameters:
pBuilder- the HTML builderpReference- the reference- Returns:
- has the document changed true/false
-
clearMaps
protected void clearMaps()Clear maps. -
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
-