org.ajax4jsf.component

## Interface IterationStateHolder

-     public interface IterationStateHolder

  In the original `UIData` component, only state for a `EditableValueHolder` component saved for an iteration. In the Richfaces, we also save state for a components implemented this interface.
  Author:
    asmirnov

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getIterationState()` Get component state for a current iteration.
    `void` | `setIterationState(Object state)` Set component state for the next iteration.

- - ### Method Detail

    - #### getIterationState

          Object getIterationState()

      Get component state for a current iteration.
      Returns:
        request-scope component state. Details are subject for a component implementation

    - #### setIterationState

          void setIterationState(Object state)

      Set component state for the next iteration. State can be either previously saved iteration state or `null` value. In the second case component should reset its state to the initial.
      Parameters:
        `state` - request-scope component state or `null`. Details are subject for a component implementation

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.