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
Nested ClassesModifier and TypeClassDescriptionstatic final classSelects children classes ofReportActionBaseover all plugins.protected static classWrapper class aroundCommonDAOfor 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, setupFields inherited from class org.apache.struts.actions.DispatchAction
clazz, methods, typesFields inherited from class org.apache.struts.actions.BaseAction
messagesFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupported charts.abstract ColumnsReport's columns.protected abstract StringgetHref()URL suffix for displaying the report in 'user' interface.protected abstract StringgetJsp()JSP template for rendering the report.protected abstract ReportActionBase.SelectorSelector for extracting the report's data from SQL.org.apache.struts.action.ActionForwardunspecified(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.Methods inherited from class org.bgerp.action.base.BaseAction
checkModified, dispatchMethod, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, updatePersonalizationMethods inherited from class org.apache.struts.actions.DispatchAction
cancelled, execute, getMethod, getMethodName, unspecifiedMethods 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:BaseActionDefault action method if no parameter 'action' passed. Overwrite and implement.- Overrides:
unspecifiedin classBaseAction- Parameters:
form-conSet-- Returns:
- Throws:
Exception
-