org.ajax4jsf.component

## Interface IterationStateHolder

- All Known Implementing Classes:
    AbstractCollapsibleSubTable, AbstractDataGrid, AbstractDataScroller, AbstractDataTable, AbstractExtendedDataTable, AbstractList, AbstractTree, AbstractTreeNode, UICollapsibleSubTable, UIDataAdaptor, UIDataGrid, UIDataScroller, UIDataTable, UIDataTableBase, UIExtendedDataTable, UIList, UIRepeat, UISequence, UITree, UITreeNode

      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

    All Methods Instance Methods Abstract 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 © 2015 JBoss by Red Hat. All Rights Reserved.