Interface RequestPersistable

    • Method Detail

      • restoreStateFromRequest

        boolean restoreStateFromRequest​(RequestKeys rk)
        Restores a WebComponent based on the RequestKeys instance. This method retrieves the saved state of a component based on the component's name.
        Parameters:
        rk - a RequestKeys instance.
        Returns:
        true if restoration succeeds.
      • restoreStateFromRequest

        boolean restoreStateFromRequest​(RequestKeys rk,
                                        java.lang.String keyName)
        Restores a WebComponent based on the RequestKeys instance. This method retrieves the saved state of a component based on the parameter keyName.
        Parameters:
        rk - a RequestKeys instance.
        keyName - the key to the state of a component.
        Returns:
        true if restoration succeeds.