java.lang.Object
io.github.tonywasher.joceanus.metis.report.MetisReportBase<D,F>
Type Parameters:
D - the data type type
F - the filter type

public abstract class MetisReportBase<D,F> extends Object
Interface provided by report builders.
  • Constructor Details

    • MetisReportBase

      protected MetisReportBase()
      Constructor.
  • Method Details

    • getReferenceMgr

      protected MetisReportReferenceManager<F> getReferenceMgr()
      Obtain the reference manager.
      Returns:
      the reference manager
    • setFilterForId

      public void setFilterForId(String pId, Object pSelect)
      Record filter for id.
      Parameters:
      pId - the id for the selection
      pSelect - the selection object
    • setDelayedTable

      protected void setDelayedTable(String pId, MetisReportHTMLBuilder.MetisHTMLTable pParent, Object pSource)
      Record delayed table.
      Parameters:
      pId - the id for the table
      pParent - the parent table
      pSource - the selection object
    • processFilter

      public abstract F processFilter(Object pSource)
      Process a filter.
      Parameters:
      pSource - the filter source
      Returns:
      the Filter or null
    • createDelayedTable

      Create the delayed table.
      Parameters:
      pTable - the delayed table definition
      Returns:
      the newly created table
    • createReport

      public abstract Document createReport(D pData)
      Create the web document.
      Parameters:
      pData - the source data
      Returns:
      Web document