This interface is implemented by classes that need to save their state between requests.
An implementor must implement both #saveState and #restoreState methods in this class, since these two methods have a tightly coupled contract between themselves. In other words, if there is an ineritance hierarchy, it is not permissable to have the #saveState and #restoreState methods reside at different levels of the hierarchy.
An implementor must have a public no-args constructor.
Method from javax.faces.component.StateHolder Summary: |
---|
isTransient, restoreState, saveState, setTransient |
Method from javax.faces.component.StateHolder Detail: |
---|
If true, the Object implementing this interface must not participate in state saving or restoring. |
Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to
instances that also implement StateHolder (such as a
|
Gets the state of the instance as a
If the class that implements this interface has references to
instances that implement StateHolder (such as a
This method must not alter the state of the implementing object. In other words, after executing this code:
The return from this method must be |
Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |