Interface TransientStateHolder

    • Method Detail

      • saveTransientState

        Object saveTransientState​(FacesContext context)

        Return the object containing related "transient states". that could be used later to restore the "transient state".

        Parameters:
        context - the Faces context.
        Returns:
        object containing transient values
        Since:
        2.1
      • restoreTransientState

        void restoreTransientState​(FacesContext context,
                                   Object state)

        Restore the "transient state" using the object passed as state.

        If the state argument is null clear any previous transient state if any and return.

        Parameters:
        context - the Faces context
        state - the object containing transient values
        Since:
        2.1