Class ParameterAction
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.ParameterAction
- Direct Known Subclasses:
ParameterAction
Object parameter actions: log, listing, viewing and updating values
-
Field Summary
FieldsFields inherited from class BaseAction
l, log, MAPPER, 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.ActionForwardentityLog(DynActionForm form, ConnectionSet con) Returns the entity change history.org.apache.struts.action.ActionForwardparameterGet(DynActionForm form, ConnectionSet conSet) Loads a single parameter value for editing, dispatching by parameter typeorg.apache.struts.action.ActionForwardparameterList(DynActionForm form, ConnectionSet conSet) Returns the list of an object's parameters with valuesorg.apache.struts.action.ActionForwardparameterListCountAddValue(DynActionForm form, ConnectionSet conSet) Returns an empty value row for a list-count parameterprotected voidparameterListInternal(DynActionForm form, ConnectionSet conSet) Loads the filtered list of parameter values into the response dataorg.apache.struts.action.ActionForwardparameterLog(DynActionForm form, ConnectionSet conSet) Returns the change history of an object's parametersorg.apache.struts.action.ActionForwardparameterPhoneAddValue(DynActionForm form, ConnectionSet conSet) Returns an empty value row for a phone parameterorg.apache.struts.action.ActionForwardparameterTreeCountAddValue(DynActionForm form, ConnectionSet conSet) Returns an empty value row for a tree-count parameterorg.apache.struts.action.ActionForwardparameterUpdate(DynActionForm form, Connection con) Validates and updates a single parameter value, dispatching by parameter typeMethods inherited from class BaseAction
checkModified, dispatchMethod, getParameter, html, html, json, json, permissionCheck, restoreRequestParams, unspecified, 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
-
Field Details
-
PATH_JSP
-
-
Constructor Details
-
ParameterAction
public ParameterAction()Default constructor
-
-
Method Details
-
parameterLog
public org.apache.struts.action.ActionForward parameterLog(DynActionForm form, ConnectionSet conSet) throws Exception Returns the change history of an object's parameters- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
- Throws:
Exception- on any error
-
entityLog
public org.apache.struts.action.ActionForward entityLog(DynActionForm form, ConnectionSet con) throws Exception Returns the entity change history. Used for customers, but not for processes.- Parameters:
form- request formcon- connection set- Returns:
- HTML view forward
- Throws:
Exception- on any error
-
parameterList
public org.apache.struts.action.ActionForward parameterList(DynActionForm form, ConnectionSet conSet) throws Exception Returns the list of an object's parameters with values- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
- Throws:
Exception- on any error
-
parameterListInternal
Loads the filtered list of parameter values into the response data- Parameters:
form- request formconSet- connection set- Throws:
Exception- on any error
-
parameterGet
public org.apache.struts.action.ActionForward parameterGet(DynActionForm form, ConnectionSet conSet) throws Exception Loads a single parameter value for editing, dispatching by parameter type- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward, or
nullwhen the value is written directly to the response - Throws:
Exception- on any error
-
parameterUpdate
public org.apache.struts.action.ActionForward parameterUpdate(DynActionForm form, Connection con) throws Exception Validates and updates a single parameter value, dispatching by parameter type- Parameters:
form- request formcon- database connection- Returns:
- JSON response
- Throws:
Exception- on any error
-
parameterListCountAddValue
public org.apache.struts.action.ActionForward parameterListCountAddValue(DynActionForm form, ConnectionSet conSet) Returns an empty value row for a list-count parameter- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
-
parameterPhoneAddValue
public org.apache.struts.action.ActionForward parameterPhoneAddValue(DynActionForm form, ConnectionSet conSet) Returns an empty value row for a phone parameter- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
-
parameterTreeCountAddValue
public org.apache.struts.action.ActionForward parameterTreeCountAddValue(DynActionForm form, ConnectionSet conSet) Returns an empty value row for a tree-count parameter- Parameters:
form- request formconSet- connection set- Returns:
- HTML view forward
-