Overview | Package | Class | Use | Tree | Deprecated | Index | Help
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
`java.lang.Object` | `getIterationState()` Get component state for a current iteration.
`void` | `setIterationState(java.lang.Object state)` Set component state for the next iteration.

Method Detail

### getIterationState

    java.lang.Object getIterationState()

  Get component state for a current iteration.

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

### setIterationState

    void setIterationState(java.lang.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
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.