public interface InternalComponentResources extends ComponentResources, InternalComponentResourcesCommon, RenderCommand
ComponentResources
that represents additional
methods that are private
to the framework and not exposed in any public APIs.Modifier and Type | Method and Description |
---|---|
void |
addPageResetListener(PageResetListener listener)
|
Object |
getFieldChange(String fieldName)
Get the current persisted value of the field.
|
ParameterConduit |
getParameterConduit(String parameterName)
Gets a previously stored ParameterConduit, allowing PCs to be shared between a component
and a mixin of that component.
|
String |
getPropertyName(String parameterName)
Returns the name of the bound property if
PropBinding is used and the expression points to a property on a bean (e.g. |
boolean |
hasFieldChange(String fieldName)
Checks to see if there is a value stored for the indicated field.
|
void |
persistFieldChange(String fieldName,
Object newValue)
Posts a change to a persistent field.
|
void |
postRenderCleanup()
Allows the resources to cleanup any render-time only data.
|
void |
setParameterConduit(String parameterName,
ParameterConduit conduit)
Stores a ParameterConduit for later access.
|
addPageLifecycleListener, discardPersistentFieldChanges, getAnnotationProvider, getBaseResource, getBlockParameter, getBoundGenericType, getBoundType, getComponent, getComponentModel, getContainer, getContainerMessages, getContainerResources, getElementName, getEmbeddedComponent, getInformalParameter, getInformalParameterNames, getMessages, getPage, getPageLifecycleCallbackHub, getParameterAnnotation, getRenderVariable, isBound, isMixin, removePageLifecycleListener, renderInformalParameters, storeRenderVariable
createEventLink, createFormEventLink, findBlock, getBlock, getBody, getCompleteId, getElementName, getId, getLocale, getLogger, getNestedId, getPageName, getResourceSelector, hasBody, isRendering, triggerContextEvent, triggerEvent
getLocation
bindParameter, getBinding, getInformalParameterBindings, getMixinByClassName, isLoaded
render
Object getFieldChange(String fieldName)
fieldName
- the name of the field to accessboolean hasFieldChange(String fieldName)
void persistFieldChange(String fieldName, Object newValue)
page
to the PersistentFieldManager
.void postRenderCleanup()
void addPageResetListener(PageResetListener listener)
listener
- to registerParameterConduit getParameterConduit(String parameterName)
void setParameterConduit(String parameterName, ParameterConduit conduit)
PageLifecycleListener.containingPageDidLoad()
lifecycle
method.String getPropertyName(String parameterName)
PropBinding
is used and the expression points to a property on a bean (e.g. user.name).
Otherwise this method returns null.parameterName
- name of the parameter5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.