public abstract class PartialViewContextWrapper extends PartialViewContext implements FacesWrapper<PartialViewContext>
Provides
a simple implementation of PartialViewContext that can
be subclassed by developers wishing to provide specialized behavior
to an existing PartialViewContext instance. The default
implementation of all methods is to call through to the wrapped
ExternalContext instance.
Usage: extend this class and override getWrapped() to
return the instance being wrapping.
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME, RESET_VALUES_PARAM_NAME| Constructor and Description |
|---|
PartialViewContextWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getExecuteIds()
The default behavior of this method is to
call
PartialViewContext.getExecuteIds()
on the wrapped PartialViewContext object. |
PartialResponseWriter |
getPartialResponseWriter()
The default behavior of this method is to
call
PartialViewContext.getPartialResponseWriter()
on the wrapped PartialViewContext object. |
Collection<String> |
getRenderIds()
The default behavior of this method is to
call
PartialViewContext.getRenderIds()
on the wrapped PartialViewContext object. |
abstract PartialViewContext |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
boolean |
isAjaxRequest()
The default behavior of this method is to
call
PartialViewContext.isAjaxRequest()
on the wrapped PartialViewContext object. |
boolean |
isExecuteAll()
The default behavior of this method is to
call
PartialViewContext.isExecuteAll()
on the wrapped PartialViewContext object. |
boolean |
isPartialRequest()
The default behavior of this method is to
call
PartialViewContext.isPartialRequest()
on the wrapped PartialViewContext object. |
boolean |
isRenderAll()
The default behavior of this method is to
call
PartialViewContext.isRenderAll()
on the wrapped PartialViewContext object. |
boolean |
isResetValues()
The default behavior of this method is to
call
PartialViewContext.isResetValues()
on the wrapped PartialViewContext object. |
void |
processPartial(PhaseId phaseId)
The default behavior of this method is to
call
PartialViewContext.processPartial(PhaseId)
on the wrapped PartialViewContext object. |
void |
release()
The default behavior of this method is to
call
PartialViewContext.release()
on the wrapped PartialViewContext object. |
void |
setPartialRequest(boolean isPartialRequest)
The default behavior of this method is to
call |
void |
setRenderAll(boolean renderAll)
The default behavior of this method is to
call
PartialViewContext.setRenderAll(boolean)
on the wrapped PartialViewContext object. |
public abstract PartialViewContext getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<PartialViewContext>PartialViewContext instanceFacesWrapper.getWrapped()public Collection<String> getExecuteIds()
The default behavior of this method is to
call PartialViewContext.getExecuteIds()
on the wrapped PartialViewContext object.
getExecuteIds in class PartialViewContextPartialViewContext.getExecuteIds()public Collection<String> getRenderIds()
The default behavior of this method is to
call PartialViewContext.getRenderIds()
on the wrapped PartialViewContext object.
getRenderIds in class PartialViewContextPartialViewContext.getRenderIds()public PartialResponseWriter getPartialResponseWriter()
The default behavior of this method is to
call PartialViewContext.getPartialResponseWriter()
on the wrapped PartialViewContext object.
getPartialResponseWriter in class PartialViewContextPartialViewContext.getPartialResponseWriter()public void setPartialRequest(boolean isPartialRequest)
The default behavior of this method is to
call PartialViewContext.setPartialRequest(boolean)
on the wrapped PartialViewContext object.
setPartialRequest in class PartialViewContextisPartialRequest - the value true indicates
this is a partial request.PartialViewContext.setPartialRequest(boolean)public boolean isAjaxRequest()
The default behavior of this method is to
call PartialViewContext.isAjaxRequest()
on the wrapped PartialViewContext object.
isAjaxRequest in class PartialViewContextPartialViewContext.isAjaxRequest()public boolean isPartialRequest()
The default behavior of this method is to
call PartialViewContext.isPartialRequest()
on the wrapped PartialViewContext object.
isPartialRequest in class PartialViewContextPartialViewContext.isPartialRequest()public boolean isExecuteAll()
The default behavior of this method is to
call PartialViewContext.isExecuteAll()
on the wrapped PartialViewContext object.
isExecuteAll in class PartialViewContextPartialViewContext.isExecuteAll()public boolean isRenderAll()
The default behavior of this method is to
call PartialViewContext.isRenderAll()
on the wrapped PartialViewContext object.
isRenderAll in class PartialViewContextPartialViewContext.isRenderAll()public boolean isResetValues()
The default behavior of this method is to
call PartialViewContext.isResetValues()
on the wrapped PartialViewContext object.
isResetValues in class PartialViewContextPartialViewContext.isResetValues()public void setRenderAll(boolean renderAll)
The default behavior of this method is to
call PartialViewContext.setRenderAll(boolean)
on the wrapped PartialViewContext object.
setRenderAll in class PartialViewContextrenderAll - the value true indicates
the entire view must be rendered.PartialViewContext.setRenderAll(boolean)public void release()
The default behavior of this method is to
call PartialViewContext.release()
on the wrapped PartialViewContext object.
release in class PartialViewContextPartialViewContext.release()public void processPartial(PhaseId phaseId)
The default behavior of this method is to
call PartialViewContext.processPartial(PhaseId)
on the wrapped PartialViewContext object.
processPartial in class PartialViewContextphaseId - the PhaseId that indicates
the lifecycle phase the components will be processed in.PartialViewContext.processPartial(PhaseId)Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.