public abstract class ChangeManagerWrapper extends ChangeManager
ChangeManager.ChangeOutcome, ChangeManager.NotificationOutcome
Constructor and Description |
---|
ChangeManagerWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
addComponentChange(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
ComponentChange change)
Delegates the addComponentChange() implementation to the wrapped
ChangeManager.
|
void |
addDocumentChange(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
DocumentChange change)
Delegates the addDocumentChange() implementation to the wrapped ChangeManager.
|
ChangeManager.ChangeOutcome |
addDocumentChangeWithOutcome(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
DocumentChange change)
Delegates the addDocumentChangeWithOutcome() implementation to the wrapped ChangeManager.
|
void |
applyComponentChangesForCurrentView(javax.faces.context.FacesContext context)
Delegates the applyComponentChangesForCurrentView() implementation to
the wrapped ChangeManager.
|
void |
applyComponentChangesForSubtree(javax.faces.context.FacesContext context,
javax.faces.component.NamingContainer root)
Delegates the applyComponentChangesForSubtree() implementation to the
wrapped ChangeManager.
|
void |
applySimpleComponentChanges(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Delegates the applySimpleComponentChanges() implementation to the wrapped
ChangeManager.
|
ChangeManager.NotificationOutcome |
documentChangeApplied(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
ComponentChange componentChange)
Delegates the documentChangeApplied() implementation to the wrapped ChangeManager.
|
protected abstract ChangeManager |
getWrappedChangeManager()
Returns the wrapped ChangeManager.
|
AttributeComponentChange |
replaceAttributeChangeIfPresent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
AttributeComponentChange attributeComponentChange)
Delegates the replaceAttributeChangeIfPresent() implementation to the wrapped ChangeManager.
|
createDocumentChange, registerDocumentFactory
public void addComponentChange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, ComponentChange change)
addComponentChange
in class ChangeManager
DocumentChangeFactory
,
#documentChangeApplied(FacesContext, UIComponent, ComponentChange
public void addDocumentChange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, DocumentChange change)
addDocumentChange
in class ChangeManager
#addDocumentChangeWithOutcome(FacesContext, UIComponent, DocumnentChange)
public void applyComponentChangesForCurrentView(javax.faces.context.FacesContext context)
applyComponentChangesForCurrentView
in class ChangeManager
context
- The FacesContext instance for the current request.public void applyComponentChangesForSubtree(javax.faces.context.FacesContext context, javax.faces.component.NamingContainer root)
applyComponentChangesForSubtree
in class ChangeManager
context
- The FacesContext instance for the current request.root
- The NamingContainer that contains the component subtree
to which ComponentChanges should be applied. If null, all changes are
applied.public void applySimpleComponentChanges(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
applySimpleComponentChanges
in class ChangeManager
component
- Component to apply the simple changes topublic ChangeManager.NotificationOutcome documentChangeApplied(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, ComponentChange componentChange)
documentChangeApplied
in class ChangeManager
component
- The target UIComponent instance for which the DocumentChange was
appliedcomponentChange
- The ComponentChange for which an equivalent DocumentChange was appliedpublic ChangeManager.ChangeOutcome addDocumentChangeWithOutcome(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, DocumentChange change)
addDocumentChangeWithOutcome
in class ChangeManager
facesContext
- The FacesContext instance for the current requestuiComponent
- The UIComponent instance for which the DocumentChange is to be addedchange
- The DocumentChange to be addedChangeManager.ChangeOutcome
public AttributeComponentChange replaceAttributeChangeIfPresent(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, AttributeComponentChange attributeComponentChange)
replaceAttributeChangeIfPresent
in class ChangeManager
protected abstract ChangeManager getWrappedChangeManager()
Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.