Interface IProcessActionHandler

    • Method Detail

      • init

        void init​(Node processActionNode,
                  ProcessActionContainer processActionContainer)
           throws PortalException
        Called by the process action container to initialize the process action.

        The process action node is a copy of the node specified in the doui definition.

        Parameters:
        processActionNode -
        processActionContainer -
        Throws:
        PortalException
        Since:
        4.0.0
      • processAction

        void processAction()
                    throws PortalException
        Executes the process action.

        This method may execute the process action based on the parameters and node specifications passed to it earlier.

        Throws:
        PortalException
        Since:
        4.0.0
      • setParameter

        void setParameter​(String name,
                          Object value)
        All controls pass their values to a process action object via this method.

        The controls call this method before the processAction() method is called.

        Parameters:
        name -
        value -
        Since:
        4.0.0
      • getParameter

        Object getParameter​(String name)
        Returns the parameter value.
        Specified by:
        getParameter in interface IParameters
        Parameters:
        name -
        Returns:
        Since:
        4.0.0
      • getParameter

        <T> T getParameter​(String name,
                           Class<T> expectedClass)
        Returns the parameter value converted to the expected class.
        Type Parameters:
        T - the expected class.
        Parameters:
        name - the parameter name.
        expectedClass - the expected class.
        Returns:
        the parameter value, converted to the expected class, or null if there is no such parameter value set.
        Since:
        4.0.4