Class LogAction
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.action.LogAction
Session log tracking and download actions
-
Field Summary
Fields inherited from class 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 TypeMethodDescriptionorg.apache.struts.action.ActionForwarddownload(DynActionForm form, ConnectionSet conSet) Toggles session log tracking and returns the result as JSONorg.apache.struts.action.ActionForwardlog(DynActionForm form, ConnectionSet conSet) Enables or disables tracking of the session logorg.apache.struts.action.ActionForwardunspecified(DynActionForm form, ConnectionSet conSet) Default action method if no parameter 'action' passed.Methods inherited from class 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
-
LogAction
public LogAction()Default constructor
-
-
Method Details
-
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
-
log
public org.apache.struts.action.ActionForward log(DynActionForm form, ConnectionSet conSet) throws Exception Enables or disables tracking of the session log- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
- Throws:
Exception- on any error
-
download
public org.apache.struts.action.ActionForward download(DynActionForm form, ConnectionSet conSet) throws Exception Toggles session log tracking and returns the result as JSON- Parameters:
form- request formconSet- connection set- Returns:
- JSON response
- Throws:
Exception- on any error
-