public final class EditableValueHolderStateHelper extends Object
EditableValueHolder.| Constructor and Description | 
|---|
| EditableValueHolderStateHelper() | 
| Modifier and Type | Method and Description | 
|---|---|
| static EditableValueHolderStateHelper | get(StateHelper stateHelper,
   String clientId)Returns the state helper of the  EditableValueHolderchild associated with the given client ID. | 
| void | restore(EditableValueHolder holder)Restore the state of the given  EditableValueHolder. | 
| static void | restore(FacesContext context,
       StateHelper stateHelper,
       Iterator<UIComponent> children)Restore state of any  EditableValueHolderchildren. | 
| void | save(EditableValueHolder holder)Save the state of the given  EditableValueHolder. | 
| static void | save(FacesContext context,
    StateHelper stateHelper,
    Iterator<UIComponent> children)Save state of any  EditableValueHolderchildren. | 
public void save(EditableValueHolder holder)
EditableValueHolder.holder - The EditableValueHolder to save the state for.public void restore(EditableValueHolder holder)
EditableValueHolder.holder - The EditableValueHolder to restore the state for.public static void save(FacesContext context, StateHelper stateHelper, Iterator<UIComponent> children)
EditableValueHolder children.context - The faces context to work with.stateHelper - The state helper of the parent component.children - An iterator with all child facets and components of the parent component as obtained by
 UIComponentBase.getFacetsAndChildren().public static void restore(FacesContext context, StateHelper stateHelper, Iterator<UIComponent> children)
EditableValueHolder children.context - The faces context to work with.stateHelper - The state helper of the parent component.children - An iterator with all child facets and components of the parent component as obtained by
 UIComponentBase.getFacetsAndChildren().public static EditableValueHolderStateHelper get(StateHelper stateHelper, String clientId)
EditableValueHolder child associated with the given client ID.stateHelper - The state helper of the parent component.clientId - The client ID of the EditableValueHolder child to return the state helper for.EditableValueHolder child associated with the given client ID.Copyright © 2012–2020 OmniFaces. All rights reserved.