public class UIXQuery extends PartialUIXQuery
| Modifier and Type | Class and Description |
|---|---|
static class |
UIXQuery.InternalQueryBean
This class is used internally by the query component to setup ValueExpressions for its 'value'
and 'model' properties when none is provided.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
QUERY_REFRESH_LIST_KEY |
COMPONENT_FAMILY, COMPONENT_TYPE, CONJUNCTION_READ_ONLY_KEY, MODEL_KEY, QUERY_LISTENER_KEY, QUERY_OPERATION_LISTENER_KEY, TYPE, VALUE_KEY| Modifier | Constructor and Description |
|---|---|
|
UIXQuery()
Construct an instance of the UIXQuery.
|
protected |
UIXQuery(String rendererType)
Construct an instance of the AbstractUIXQuery.
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
protected void |
decodeChildrenImpl(javax.faces.context.FacesContext context)
Calls processDecodes on all facets and children of this component.This method is overrided to
set up ValueExpressions for the value and model properties of the query component, when there
are none setup.
|
void |
encodeBegin(javax.faces.context.FacesContext context)
This method is overrided to set up ValueExpressions for the value and model properties of
the query component, when there are none setup.
|
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback) |
void |
queueEvent(javax.faces.event.FacesEvent e) |
void |
refresh(javax.faces.context.FacesContext context)
This method should be called when the model definition changes and the query component needs to
be refreshed (iow, all its children removed and recreated).
|
void |
setQueryListener(javax.faces.el.MethodBinding binding)
Deprecated.
|
void |
setQueryOperationListener(javax.faces.el.MethodBinding binding)
Deprecated.
|
addQueryListener, addQueryOperationListener, getBeanType, getFamily, getModel, getQueryListener, getQueryListeners, getQueryOperationListener, getQueryOperationListeners, getValue, isConjunctionReadOnly, removeQueryListener, removeQueryOperationListener, setConjunctionReadOnly, setModel, setQueryListener, setQueryOperationListener, setValueadaptMethodBinding, addAttributeChange, addAttributeChangeListener, addClientBehavior, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, clearCachedClientIds, clearInitialState, createFacesBean, decode, decodeChildren, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientBehaviors, getClientId, getComponentChangeFilters, getContainerClientId, getDefaultEventName, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getListenersForEventClass, getParent, getPassThroughAttributes, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, initialStateMarked, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setupFlattenedChildrenContext, setupFlattenedContext, setValueBinding, setValueExpression, subscribeToEvent, tearDownFlattenedChildrenContext, tearDownFlattenedContext, toString, unsubscribeFromEvent, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpladdPartialTarget, broadcastInContext, clearCachedClientIds, defaultGetRenderedFacetsAndChildren, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, getStateHelper, getStateHelper, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenEncodingContext, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenEncodingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitAllChildren, visitChildren, visitChildren, visitTree, visitTreeencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInViewpublic static final String QUERY_REFRESH_LIST_KEY
public UIXQuery()
protected UIXQuery(String rendererType)
rendererType - the renderer type.@Deprecated public void setQueryListener(javax.faces.el.MethodBinding binding)
@Deprecated public void setQueryOperationListener(javax.faces.el.MethodBinding binding)
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class org.apache.myfaces.trinidad.component.UIXComponentBasejavax.faces.event.AbortProcessingExceptionpublic void queueEvent(javax.faces.event.FacesEvent e)
queueEvent in class org.apache.myfaces.trinidad.component.UIXComponentBasepublic boolean invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback)
throws javax.faces.FacesException
invokeOnComponent in class org.apache.myfaces.trinidad.component.UIXComponentBasejavax.faces.FacesExceptionpublic void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class org.apache.myfaces.trinidad.component.UIXComponentBasecontext - the FacesContextIOExceptionpublic void refresh(javax.faces.context.FacesContext context)
PhaseId.RENDER_RESPONSE
phase.context - the FacesContextprotected void decodeChildrenImpl(javax.faces.context.FacesContext context)
decodeChildrenImpl in class org.apache.myfaces.trinidad.component.UIXComponentBasecontext - the current FacesContext