public final class EditableValueHolderStateHelper extends Object
EditableValueHolder
.Constructor and Description |
---|
EditableValueHolderStateHelper() |
Modifier and Type | Method and Description |
---|---|
static EditableValueHolderStateHelper |
get(javax.faces.component.StateHelper stateHelper,
String clientId)
Returns the state helper of the
EditableValueHolder child associated with the given client ID. |
void |
restore(javax.faces.component.EditableValueHolder holder)
Restore the state of the given
EditableValueHolder . |
static void |
restore(javax.faces.context.FacesContext context,
javax.faces.component.StateHelper stateHelper,
Iterator<javax.faces.component.UIComponent> children)
Restore state of any
EditableValueHolder children. |
void |
save(javax.faces.component.EditableValueHolder holder)
Save the state of the given
EditableValueHolder . |
static void |
save(javax.faces.context.FacesContext context,
javax.faces.component.StateHelper stateHelper,
Iterator<javax.faces.component.UIComponent> children)
Save state of any
EditableValueHolder children. |
public void save(javax.faces.component.EditableValueHolder holder)
EditableValueHolder
.holder
- The EditableValueHolder
to save the state for.public void restore(javax.faces.component.EditableValueHolder holder)
EditableValueHolder
.holder
- The EditableValueHolder
to restore the state for.public static void save(javax.faces.context.FacesContext context, javax.faces.component.StateHelper stateHelper, Iterator<javax.faces.component.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(javax.faces.context.FacesContext context, javax.faces.component.StateHelper stateHelper, Iterator<javax.faces.component.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(javax.faces.component.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–2014 OmniFaces. All rights reserved.