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

public class ParameterAction extends BaseAction
Object parameter actions: log, listing, viewing and updating values
  • Field Details

  • 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 form
      conSet - 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 form
      con - 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 form
      conSet - connection set
      Returns:
      HTML view forward
      Throws:
      Exception - on any error
    • parameterListInternal

      protected void parameterListInternal(DynActionForm form, ConnectionSet conSet) throws Exception
      Loads the filtered list of parameter values into the response data
      Parameters:
      form - request form
      conSet - 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 form
      conSet - connection set
      Returns:
      HTML view forward, or null when 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 form
      con - 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 form
      conSet - 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 form
      conSet - 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 form
      conSet - connection set
      Returns:
      HTML view forward