Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.1.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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