Class FuncParam


  • public class FuncParam
    extends Object
    Provides a Fluent function parameter class.
    Since:
    17.10.0
    • Field Detail

      • TRIGGER_FORM_RESUME

        public static final String TRIGGER_FORM_RESUME
        The 'Form Resume' function trigger.
        See Also:
        Constant Field Values
      • TRIGGER_FORM_UPDATE

        public static final String TRIGGER_FORM_UPDATE
        The 'Form Update' function trigger.
        See Also:
        Constant Field Values
      • TRIGGER_FORM_INELIGIBLE

        public static final String TRIGGER_FORM_INELIGIBLE
        The 'Form Ineligible' function trigger.
        See Also:
        Constant Field Values
      • TRIGGER_FORM_FUNCTION

        public static final String TRIGGER_FORM_FUNCTION
        The 'Form Function' function trigger.
        See Also:
        Constant Field Values
      • TRIGGER_USER_SUBMIT

        public static final String TRIGGER_USER_SUBMIT
        The 'User Submit' function trigger.
        See Also:
        Constant Field Values
      • TRIGGER_USER_CANCEL

        public static final String TRIGGER_USER_CANCEL
        The 'User Cancel' function trigger.
        See Also:
        Constant Field Values
      • TRIGGER_BACKGROUND_DELIVERY

        public static final String TRIGGER_BACKGROUND_DELIVERY
        The 'Background Delivery' function trigger.
        See Also:
        Constant Field Values
      • trigger

        public final String trigger
        The function trigger.
      • appDoc

        public final Document appDoc
        The mutable XML application document.
      • params

        public final Map<String,​Object> params
        The request parameters.
      • svcDef

        public final SvcDef svcDef
        The service definition VO.
      • txn

        public final Txn txn
        The transaction VO.
      • user

        public final User user
        The user VO.
    • Constructor Detail

      • FuncParam

        public FuncParam​(String trigger,
                         Document appDoc,
                         Map<String,​Object> params,
                         HttpServletRequest request,
                         SvcDef svcDef,
                         Txn txn,
                         User user)
        Create a FuncParam value object with the given attributes.
        Parameters:
        trigger - the function trigger
        appDoc - the application XML Document
        params - the request parameters
        request - the servlet request
        svcDef - the service definition
        txn - the transaction value object
        user - the user value object
    • Method Detail

      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.