| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PartialStateHolder
Components that want to leverage the
 partial state saving feature must implement this interface instead of
 implementing StateHolder, from which this interface
 inherits.
| Method Summary | |
|---|---|
 void | 
clearInitialState()
Reset the PartialStateHolder to a non-delta tracking state.  | 
 boolean | 
initialStateMarked()
Return   | 
 void | 
markInitialState()
The runtime must ensure that the
   | 
| Methods inherited from interface javax.faces.component.StateHolder | 
|---|
isTransient, restoreState, saveState, setTransient | 
| Method Detail | 
|---|
void markInitialState()
The runtime must ensure that the
 markInitialState() method is called on each instance of
 this interface in the view at the appropriate time to indicate
 the component is in its initial state.  The implementor of the
 interface must ensure that initialStateMarked() returns
 true from the time markInitialState()
 is called until clearInitialState() is called, after which
 time initialStateMarked() must return
 false.  Also, during the time that the instance
 returns true from initialStateMarked(),
 the implementation must return only the state that has changed in
 its implementation of StateHolder#saveState.
boolean initialStateMarked()
Return true if delta
 state changes are being tracked, otherwise false
void clearInitialState()
Reset the PartialStateHolder to a non-delta tracking state.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41