Class ReportActionBase

java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.bgerp.action.base.BaseAction
org.bgerp.plugin.report.action.ReportActionBase
All Implemented Interfaces:
Title
Direct Known Subclasses:
ReportPaymentAction, ReportProcessAction, ReportRegisterAction

public abstract class ReportActionBase extends BaseAction implements Title
Parent action for all reports.
  • Constructor Details

    • ReportActionBase

      public ReportActionBase()
  • Method Details

    • getHref

      protected abstract String getHref()
      URL suffix for displaying the report in 'user' interface.
      Returns:
    • getColumns

      public abstract Columns getColumns()
      Report's columns.
      Returns:
    • getCharts

      public List<Chart> getCharts()
      Supported charts. Position in the list identifies a chart.
      Returns:
    • getJsp

      protected abstract String getJsp()
      JSP template for rendering the report.
      Returns:
    • getSelector

      protected abstract ReportActionBase.Selector getSelector()
      Selector for extracting the report's data from SQL.
      Returns:
    • unspecified

      public org.apache.struts.action.ActionForward unspecified(DynActionForm form, ConnectionSet conSet) throws Exception
      Description copied from class: BaseAction
      Default action method if no parameter 'action' passed. Overwrite and implement.
      Overrides:
      unspecified in class BaseAction
      Parameters:
      form -
      conSet -
      Returns:
      Throws:
      Exception