Package org.bgerp.plugin.report.action
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
Parent action for all reports.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Selects children classes ofReportActionBase
over all plugins.protected static class
Wrapper class aroundCommonDAO
for SQL work. -
Field Summary
Fields inherited from class org.bgerp.action.base.BaseAction
l, log, MAPPER, PATH_JSP, PATH_JSP_ADMIN, PATH_JSP_OPEN, PATH_JSP_USER, PATH_JSP_USERMOB, setup
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, methods, types
Fields inherited from class org.apache.struts.actions.BaseAction
messages
Fields inherited from class org.apache.struts.action.Action
servlet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupported charts.abstract Columns
Report's columns.protected abstract String
getHref()
URL suffix for displaying the report in 'user' interface.protected abstract String
getJsp()
JSP template for rendering the report.protected abstract ReportActionBase.Selector
Selector for extracting the report's data from SQL.org.apache.struts.action.ActionForward
unspecified
(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.Methods inherited from class org.bgerp.action.base.BaseAction
checkModified, dispatchMethod, getForwardJspPath, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, updatePersonalization
Methods inherited from class org.apache.struts.actions.DispatchAction
cancelled, execute, getMethod, getMethodName, unspecified
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
ReportActionBase
public ReportActionBase()
-
-
Method Details
-
getHref
URL suffix for displaying the report in 'user' interface.- Returns:
-
getColumns
Report's columns.- Returns:
-
getCharts
Supported charts. Position in the list identifies a chart.- Returns:
-
getJsp
JSP template for rendering the report.- Returns:
-
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 classBaseAction
- Parameters:
form
-conSet
-- Returns:
- Throws:
Exception
-