|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.change.ChangeManager
public abstract class ChangeManager
The base class for all ChangeManagers. A ChangeManager should manage accumulation of Changes and also take care of their persistence.
Constructor Summary | |
---|---|
ChangeManager()
|
Method Summary | |
---|---|
abstract void |
addComponentChange(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
ComponentChange change)
Add a ComponentChange to this current request for a specified component. |
void |
addDocumentChange(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
DocumentChange change)
Add a DocumentChange to this current request for a specified component. |
protected static DocumentChange |
createDocumentChange(ComponentChange change)
Use the conversion rules to attempt to retrieve the equivalent document change for a ComponentChange |
abstract java.util.Iterator<ComponentChange> |
getComponentChanges(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Retrieve the ComponentChanges available for specified component on this request. |
abstract java.util.Iterator<java.lang.String> |
getComponentIdsWithChanges(javax.faces.context.FacesContext facesContext)
Retrieve the identifiers of all components on this request that have Changes associated with them for the viewId specified in the facesContext. |
static void |
registerDocumentFactory(java.lang.String targetClassName,
java.lang.String converterClassName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeManager()
Method Detail |
---|
public static void registerDocumentFactory(java.lang.String targetClassName, java.lang.String converterClassName)
protected static DocumentChange createDocumentChange(ComponentChange change)
change
- to convertpublic abstract void addComponentChange(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, ComponentChange change)
java.lang.IllegalArgumentException
- if any of the supplied parameters were to
be null.public void addDocumentChange(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, DocumentChange change)
java.lang.IllegalArgumentException
- if any of the supplied parameters were to
be null.public abstract java.util.Iterator<ComponentChange> getComponentChanges(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
null if there are no such Changes
public abstract java.util.Iterator<java.lang.String> getComponentIdsWithChanges(javax.faces.context.FacesContext facesContext)
facesContext
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |