Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


oracle.adf.view.rich.component.rich
Class RichQuery

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by oracle.adf.view.rich.component.UIXQuery
                  extended by oracle.adf.view.rich.component.rich.RichQuery

All Implemented Interfaces:
javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class RichQuery
extends UIXQuery
implements javax.faces.component.NamingContainer

The query component provides the user the ability to perform a query based on a saved search or personalize saved searches. The component displays a search panel with various elements, each of which help the user to accomplish various tasks.

To properly render the query panel when content width is more than view area, it should be wrapped in a af:panelGroupLayout with layout="horizontal". For ex:

             <af:panelGroupLayout layout="horizontal" inlineStyle="width:100%" >
               <af:query id="queryId" rows="3" headerText="Search" disclosed="true"
                         model="#{demoQuery.queryModel}" queryListener="#{demoQuery.processQuery}"/>
             </af:panelGroupLayout>                       
           

Elements rendered by the query component

Tasks performed using a query component

The following actions are performed on the currently selected saved search.

The following actions are performed on saved searches:

Events

QueryOperationEvent is fired for operations performed on saved searches. The operations include changeMode, create, delete, reset, select and update. The specific operation that triggers this event is stored as part of the QueryOperationEvent object. The query component by default registers an internal QueryOperationListener and invokes specific methods on the QueryModel. Please refer to the QueryModel for more details.

QueryEvent is fired in response to the user action to perform a query. For e.g., when the user hits the Search button or if the currently selected saved search is configured to "Run Automatically" when selected in the Saved Search choice list.

Events:

Type Phases Description
oracle.adf.view.rich.event.QueryEvent Invoke Application
Apply Request Values
The Query event is delivered when a query action is triggered.
oracle.adf.view.rich.event.QueryOperationEvent Invoke Application
Apply Request Values
The QueryOperationEvent is generated for all operations performed on saved searches. These include creating, deleting, reseting and selecting a saved search.
org.apache.myfaces.trinidad.event.AttributeChangeEvent Invoke Application
Apply Request Values
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.

Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.adf.view.rich.component.UIXQuery
UIXQuery.InternalQueryBean

 

Field Summary
static org.apache.myfaces.trinidad.bean.PropertyKey ADD_FIELDS_BUTTON_ACCESS_KEY_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey ADD_FIELDS_BUTTON_TEXT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_ATTRIBUTES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_COMPONENT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String CONTENT_DELIVERY_IMMEDIATE
           
static org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_DELIVERY_KEY
           
static java.lang.String CONTENT_DELIVERY_LAZY_UNCACHED
           
static org.apache.myfaces.trinidad.bean.PropertyKey CRITERION_FEATURES_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
          Deprecated. 
static org.apache.myfaces.trinidad.bean.PropertyKey DISCLOSED_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey DISCLOSURE_LISTENER_KEY
           
static java.lang.String DISPLAY_MODE_COMPACT
           
static java.lang.String DISPLAY_MODE_DEFAULT
           
static java.lang.String DISPLAY_MODE_DESIGN
           
static org.apache.myfaces.trinidad.bean.PropertyKey DISPLAY_MODE_KEY
           
static java.lang.String DISPLAY_MODE_SIMPLE
           
static org.apache.myfaces.trinidad.bean.PropertyKey FIELD_WIDTH_KEY
           
static java.lang.String FOOTER_FACET
           
static org.apache.myfaces.trinidad.bean.PropertyKey HEADER_TEXT_KEY
           
static java.lang.String HELP_FACET
           
static org.apache.myfaces.trinidad.bean.PropertyKey HELP_TOPIC_ID_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey IMMEDIATE_KEY
           
static java.lang.String INFO_FACET
           
static org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey LABEL_ALIGNMENT_KEY
           
static java.lang.String LABEL_ALIGNMENT_START
           
static java.lang.String LABEL_ALIGNMENT_TOP
           
static org.apache.myfaces.trinidad.bean.PropertyKey LABEL_WIDTH_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAX_COLUMNS_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAXIMIZE_LISTENER_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey MAXIMIZED_KEY
           
static java.lang.String MODE_BUTTON_POSITION_FOOTER
           
static org.apache.myfaces.trinidad.bean.PropertyKey MODE_BUTTON_POSITION_KEY
           
static java.lang.String MODE_BUTTON_POSITION_TOOLBAR
           
static org.apache.myfaces.trinidad.bean.PropertyKey MODE_CHANGE_VISIBLE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey RESET_BUTTON_ACCESS_KEY_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey RESET_BUTTON_TEXT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey RESULT_COMPONENT_ID_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey ROWS_KEY
           
static java.lang.String RUN_QUERY_AUTOMATICALLY_ALL_SAVED_SEARCHES
           
static org.apache.myfaces.trinidad.bean.PropertyKey RUN_QUERY_AUTOMATICALLY_KEY
           
static java.lang.String RUN_QUERY_AUTOMATICALLY_SEARCH_DEPENDENT
           
static org.apache.myfaces.trinidad.bean.PropertyKey SAVE_BUTTON_ACCESS_KEY_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SAVE_BUTTON_TEXT_KEY
           
static java.lang.String SAVE_QUERY_MODE_DEFAULT
           
static java.lang.String SAVE_QUERY_MODE_HIDDEN
           
static org.apache.myfaces.trinidad.bean.PropertyKey SAVE_QUERY_MODE_KEY
           
static java.lang.String SAVE_QUERY_MODE_READ_ONLY
           
static java.lang.String SAVE_RESULTS_LAYOUT_ALWAYS
           
static org.apache.myfaces.trinidad.bean.PropertyKey SAVE_RESULTS_LAYOUT_KEY
           
static java.lang.String SAVE_RESULTS_LAYOUT_NEVER
           
static org.apache.myfaces.trinidad.bean.PropertyKey SEARCH_BUTTON_ACCESS_KEY_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SEARCH_BUTTON_TEXT_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
           
static java.lang.String SHOW_MAXIMIZE_ALWAYS
           
static java.lang.String SHOW_MAXIMIZE_AUTO
           
static org.apache.myfaces.trinidad.bean.PropertyKey SHOW_MAXIMIZE_KEY
           
static java.lang.String SHOW_MAXIMIZE_NEVER
           
static org.apache.myfaces.trinidad.bean.PropertyKey SIMPLE_KEY
          Deprecated. 
static org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
           
static java.lang.String TOOLBAR_FACET
           
static org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
           
static java.lang.String TYPE_DEFAULT
           
static java.lang.String TYPE_FLOW
           
static org.apache.myfaces.trinidad.bean.PropertyKey TYPE_KEY
           
static java.lang.String TYPE_STRETCH
           
static org.apache.myfaces.trinidad.bean.PropertyKey UNSECURE_KEY
           
static org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
           

 

Fields inherited from class oracle.adf.view.rich.component.UIXQuery
CONJUNCTION_READ_ONLY_KEY, MODEL_KEY, QUERY_LISTENER_KEY, QUERY_OPERATION_LISTENER_KEY, QUERY_REFRESH_LIST_KEY, VALUE_KEY

 

Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY

 

Fields inherited from class javax.faces.component.UIComponent
bindings

 

Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR

 

Constructor Summary
  RichQuery()
          Construct an instance of the RichQuery.
protected RichQuery(java.lang.String rendererType)
          Construct an instance of the RichQuery.

 

Method Summary
 char getAddFieldsButtonAccessKey()
          Gets what accessKey will the component set for the add fields button.
 java.lang.String getAddFieldsButtonText()
          Gets what Text will the component set for the add fields button.
protected  org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
           
 java.util.Set getClientAttributes()
          Gets a set of client attribute names.
 ClientListenerSet getClientListeners()
          Gets a set of client listeners.
 java.lang.String getContentDelivery()
          Gets whether the undisclosed content is delivered with the initial page.
 java.util.Set getCriterionFeatures()
          Gets Additional criterion attributes that can be configured/set by the user.
 java.lang.String getCustomizationId()
          Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead.
 javax.el.MethodExpression getDisclosureListener()
          Gets a method reference to a disclosure listener
 java.lang.String getDisplayMode()
          Gets the mode of display for the query component.
 java.lang.String getFamily()
           
 java.lang.String getFieldWidth()
          Gets the preferred width of the value part of the search field.
 javax.faces.component.UIComponent getFooter()
          Used to specify content that displays in the query footer.
 java.lang.String getHeaderText()
          Gets the label of the query header.
 javax.faces.component.UIComponent getHelp()
          This facet is deprecated, instead the attribute 'helpTopicId' should be used for providing help.
 java.lang.String getHelpTopicId()
          Gets the id used to look up a topic in a helpProvider.
 javax.faces.component.UIComponent getInfo()
          Used to specify content that provides additional information to the user.
 java.lang.String getInlineStyle()
          Gets the CSS styles to use for this component.
 java.lang.String getLabelAlignment()
          Gets the alignment of label prompts for a search field (criterion).
 java.lang.String getLabelWidth()
          Gets the preferred width of the label.
 int getMaxColumns()
          Gets the maximum number of columns to show.
 javax.el.MethodExpression getMaximizeListener()
          Gets a method reference to a maximize listener
 java.lang.String getModeButtonPosition()
          Gets the location the mode button is displayed.
 java.lang.String[] getPartialTriggers()
          Gets the IDs of the components that should trigger a partial update.
 char getResetButtonAccessKey()
          Gets what accessKey will the component set for the reset button.
 java.lang.String getResetButtonText()
          Gets what Text will the component set for the reset button.
 java.lang.String getResultComponentId()
          Gets a search expression identifying the results component (usually a table or treeTable) that will display the results of the query.
 int getRows()
          Gets the number of rows after which to start a new column.
 java.lang.String getRunQueryAutomatically()
          Gets Indicates if the query should be run automatically for saved searches.
 char getSaveButtonAccessKey()
          Gets what accessKey will the component set for the save button.
 java.lang.String getSaveButtonText()
          Gets what Text will the component set for the save button.
 java.lang.String getSaveQueryMode()
          Gets the mode of display and usage for saved searches.
 java.lang.String getSaveResultsLayout()
          Gets Indicates if the layout of the results component is automatically persisted.
 char getSearchButtonAccessKey()
          Gets what accessKey will the component set for the search button.
 java.lang.String getSearchButtonText()
          Gets what Text will the component set for the search button.
 java.lang.String getShortDesc()
          Gets the short description of the component.
 java.lang.String getShowMaximize()
          Gets Whether to display the maximize control to allow this component to be maximized.
 java.lang.String getStyleClass()
          Gets a CSS style class to use for this component.
 javax.faces.component.UIComponent getToolbar()
          Used to specify content that displays in the query header.
 java.lang.String getType()
          Gets how the component will handle geometry management.
 java.util.Set<java.lang.String> getUnsecure()
          Gets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client.
 boolean isClientComponent()
          Gets whether a client-side component will be generated.
 boolean isDisclosed()
          Gets whether the children are currently disclosed
 boolean isImmediate()
          Gets whether data validation - client-side or server-side - should be skipped when events are generated by this component.
 boolean isMaximized()
          Gets whether the children are currently maximized
 boolean isModeChangeVisible()
          Gets the rendering of mode change button.
 boolean isSimple()
          Deprecated. This attribute is deprecated, displayMode=simple should be used instead.
 boolean isVisible()
          Gets the visibility of the component.
 void processDecodes(javax.faces.context.FacesContext context)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void processValidators(javax.faces.context.FacesContext context)
           
 void setAddFieldsButtonAccessKey(char addFieldsButtonAccessKey)
          Sets what accessKey will the component set for the add fields button.
 void setAddFieldsButtonText(java.lang.String addFieldsButtonText)
          Sets what Text will the component set for the add fields button.
 void setClientAttributes(java.util.Set clientAttributes)
          Sets a set of client attribute names.
 void setClientComponent(boolean clientComponent)
          Sets whether a client-side component will be generated.
 void setClientListeners(ClientListenerSet clientListeners)
          Sets a set of client listeners.
 void setContentDelivery(java.lang.String contentDelivery)
          Sets whether the undisclosed content is delivered with the initial page.
 void setCriterionFeatures(java.util.Set criterionFeatures)
          Sets Additional criterion attributes that can be configured/set by the user.
 void setCustomizationId(java.lang.String customizationId)
          Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead.
 void setDisclosed(boolean disclosed)
          Sets whether the children are currently disclosed
 void setDisclosureListener(javax.el.MethodExpression disclosureListener)
          Sets a method reference to a disclosure listener
 void setDisplayMode(java.lang.String displayMode)
          Sets the mode of display for the query component.
 void setFieldWidth(java.lang.String fieldWidth)
          Sets the preferred width of the value part of the search field.
 void setFooter(javax.faces.component.UIComponent footerFacet)
          Used to specify content that displays in the query footer.
 void setHeaderText(java.lang.String headerText)
          Sets the label of the query header.
 void setHelp(javax.faces.component.UIComponent helpFacet)
          This facet is deprecated, instead the attribute 'helpTopicId' should be used for providing help.
 void setHelpTopicId(java.lang.String helpTopicId)
          Sets the id used to look up a topic in a helpProvider.
 void setImmediate(boolean immediate)
          Sets whether data validation - client-side or server-side - should be skipped when events are generated by this component.
 void setInfo(javax.faces.component.UIComponent infoFacet)
          Used to specify content that provides additional information to the user.
 void setInlineStyle(java.lang.String inlineStyle)
          Sets the CSS styles to use for this component.
 void setLabelAlignment(java.lang.String labelAlignment)
          Sets the alignment of label prompts for a search field (criterion).
 void setLabelWidth(java.lang.String labelWidth)
          Sets the preferred width of the label.
 void setMaxColumns(int maxColumns)
          Sets the maximum number of columns to show.
 void setMaximized(boolean maximized)
          Sets whether the children are currently maximized
 void setMaximizeListener(javax.el.MethodExpression maximizeListener)
          Sets a method reference to a maximize listener
 void setModeButtonPosition(java.lang.String modeButtonPosition)
          Sets the location the mode button is displayed.
 void setModeChangeVisible(boolean modeChangeVisible)
          Sets the rendering of mode change button.
 void setPartialTriggers(java.lang.String[] partialTriggers)
          Sets the IDs of the components that should trigger a partial update.
 void setResetButtonAccessKey(char resetButtonAccessKey)
          Sets what accessKey will the component set for the reset button.
 void setResetButtonText(java.lang.String resetButtonText)
          Sets what Text will the component set for the reset button.
 void setResultComponentId(java.lang.String resultComponentId)
          Sets a search expression identifying the results component (usually a table or treeTable) that will display the results of the query.
 void setRows(int rows)
          Sets the number of rows after which to start a new column.
 void setRunQueryAutomatically(java.lang.String runQueryAutomatically)
          Sets Indicates if the query should be run automatically for saved searches.
 void setSaveButtonAccessKey(char saveButtonAccessKey)
          Sets what accessKey will the component set for the save button.
 void setSaveButtonText(java.lang.String saveButtonText)
          Sets what Text will the component set for the save button.
 void setSaveQueryMode(java.lang.String saveQueryMode)
          Sets the mode of display and usage for saved searches.
 void setSaveResultsLayout(java.lang.String saveResultsLayout)
          Sets Indicates if the layout of the results component is automatically persisted.
 void setSearchButtonAccessKey(char searchButtonAccessKey)
          Sets what accessKey will the component set for the search button.
 void setSearchButtonText(java.lang.String searchButtonText)
          Sets what Text will the component set for the search button.
 void setShortDesc(java.lang.String shortDesc)
          Sets the short description of the component.
 void setShowMaximize(java.lang.String showMaximize)
          Sets Whether to display the maximize control to allow this component to be maximized.
 void setSimple(boolean simple)
          Deprecated. This attribute is deprecated, displayMode=simple should be used instead.
 void setStyleClass(java.lang.String styleClass)
          Sets a CSS style class to use for this component.
 void setToolbar(javax.faces.component.UIComponent toolbarFacet)
          Used to specify content that displays in the query header.
 void setType(java.lang.String type)
          Sets how the component will handle geometry management.
 void setUnsecure(java.util.Set<java.lang.String> unsecure)
          Sets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client.
 void setVisible(boolean visible)
          Sets the visibility of the component.

 

Methods inherited from class oracle.adf.view.rich.component.UIXQuery
addQueryListener, addQueryOperationListener, broadcast, decodeChildrenImpl, encodeBegin, getModel, getQueryListener, getQueryListeners, getQueryOperationListener, getQueryOperationListeners, getValue, invokeOnComponent, isConjunctionReadOnly, queueEvent, refresh, removeQueryListener, removeQueryOperationListener, setConjunctionReadOnly, setModel, setQueryListener, setQueryListener, setQueryOperationListener, setQueryOperationListener, setValue

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl

 

Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent
addPartialTarget, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, setupVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree

 

Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

SHOW_MAXIMIZE_NEVER

public static final java.lang.String SHOW_MAXIMIZE_NEVER
See Also:
Constant Field Values

SHOW_MAXIMIZE_AUTO

public static final java.lang.String SHOW_MAXIMIZE_AUTO
See Also:
Constant Field Values

SHOW_MAXIMIZE_ALWAYS

public static final java.lang.String SHOW_MAXIMIZE_ALWAYS
See Also:
Constant Field Values

CONTENT_DELIVERY_IMMEDIATE

public static final java.lang.String CONTENT_DELIVERY_IMMEDIATE
See Also:
Constant Field Values

CONTENT_DELIVERY_LAZY_UNCACHED

public static final java.lang.String CONTENT_DELIVERY_LAZY_UNCACHED
See Also:
Constant Field Values

LABEL_ALIGNMENT_START

public static final java.lang.String LABEL_ALIGNMENT_START
See Also:
Constant Field Values

LABEL_ALIGNMENT_TOP

public static final java.lang.String LABEL_ALIGNMENT_TOP
See Also:
Constant Field Values

MODE_BUTTON_POSITION_FOOTER

public static final java.lang.String MODE_BUTTON_POSITION_FOOTER
See Also:
Constant Field Values

MODE_BUTTON_POSITION_TOOLBAR

public static final java.lang.String MODE_BUTTON_POSITION_TOOLBAR
See Also:
Constant Field Values

SAVE_RESULTS_LAYOUT_ALWAYS

public static final java.lang.String SAVE_RESULTS_LAYOUT_ALWAYS
See Also:
Constant Field Values

SAVE_RESULTS_LAYOUT_NEVER

public static final java.lang.String SAVE_RESULTS_LAYOUT_NEVER
See Also:
Constant Field Values

SAVE_QUERY_MODE_DEFAULT

public static final java.lang.String SAVE_QUERY_MODE_DEFAULT
See Also:
Constant Field Values

SAVE_QUERY_MODE_READ_ONLY

public static final java.lang.String SAVE_QUERY_MODE_READ_ONLY
See Also:
Constant Field Values

SAVE_QUERY_MODE_HIDDEN

public static final java.lang.String SAVE_QUERY_MODE_HIDDEN
See Also:
Constant Field Values

DISPLAY_MODE_DEFAULT

public static final java.lang.String DISPLAY_MODE_DEFAULT
See Also:
Constant Field Values

DISPLAY_MODE_COMPACT

public static final java.lang.String DISPLAY_MODE_COMPACT
See Also:
Constant Field Values

DISPLAY_MODE_SIMPLE

public static final java.lang.String DISPLAY_MODE_SIMPLE
See Also:
Constant Field Values

DISPLAY_MODE_DESIGN

public static final java.lang.String DISPLAY_MODE_DESIGN
See Also:
Constant Field Values

TYPE_DEFAULT

public static final java.lang.String TYPE_DEFAULT
See Also:
Constant Field Values

TYPE_FLOW

public static final java.lang.String TYPE_FLOW
See Also:
Constant Field Values

TYPE_STRETCH

public static final java.lang.String TYPE_STRETCH
See Also:
Constant Field Values

RUN_QUERY_AUTOMATICALLY_ALL_SAVED_SEARCHES

public static final java.lang.String RUN_QUERY_AUTOMATICALLY_ALL_SAVED_SEARCHES
See Also:
Constant Field Values

RUN_QUERY_AUTOMATICALLY_SEARCH_DEPENDENT

public static final java.lang.String RUN_QUERY_AUTOMATICALLY_SEARCH_DEPENDENT
See Also:
Constant Field Values

TYPE

public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE

HELP_TOPIC_ID_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HELP_TOPIC_ID_KEY

MAXIMIZED_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey MAXIMIZED_KEY

SHOW_MAXIMIZE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHOW_MAXIMIZE_KEY

MAXIMIZE_LISTENER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey MAXIMIZE_LISTENER_KEY

DISCLOSURE_LISTENER_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey DISCLOSURE_LISTENER_KEY

DISCLOSED_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey DISCLOSED_KEY

IMMEDIATE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey IMMEDIATE_KEY

CONTENT_DELIVERY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CONTENT_DELIVERY_KEY

FIELD_WIDTH_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey FIELD_WIDTH_KEY

HEADER_TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey HEADER_TEXT_KEY

LABEL_ALIGNMENT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey LABEL_ALIGNMENT_KEY

LABEL_WIDTH_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey LABEL_WIDTH_KEY

MAX_COLUMNS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey MAX_COLUMNS_KEY

MODE_BUTTON_POSITION_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey MODE_BUTTON_POSITION_KEY

MODE_CHANGE_VISIBLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey MODE_CHANGE_VISIBLE_KEY

RESULT_COMPONENT_ID_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RESULT_COMPONENT_ID_KEY

ROWS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey ROWS_KEY

SAVE_RESULTS_LAYOUT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SAVE_RESULTS_LAYOUT_KEY

SAVE_QUERY_MODE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SAVE_QUERY_MODE_KEY

DISPLAY_MODE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey DISPLAY_MODE_KEY

SIMPLE_KEY

@Deprecated
public static final org.apache.myfaces.trinidad.bean.PropertyKey SIMPLE_KEY
Deprecated. 

TYPE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey TYPE_KEY

SEARCH_BUTTON_TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SEARCH_BUTTON_TEXT_KEY

SEARCH_BUTTON_ACCESS_KEY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SEARCH_BUTTON_ACCESS_KEY_KEY

RESET_BUTTON_TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RESET_BUTTON_TEXT_KEY

RESET_BUTTON_ACCESS_KEY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RESET_BUTTON_ACCESS_KEY_KEY

SAVE_BUTTON_TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SAVE_BUTTON_TEXT_KEY

SAVE_BUTTON_ACCESS_KEY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SAVE_BUTTON_ACCESS_KEY_KEY

ADD_FIELDS_BUTTON_TEXT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey ADD_FIELDS_BUTTON_TEXT_KEY

ADD_FIELDS_BUTTON_ACCESS_KEY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey ADD_FIELDS_BUTTON_ACCESS_KEY_KEY

CRITERION_FEATURES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CRITERION_FEATURES_KEY

RUN_QUERY_AUTOMATICALLY_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey RUN_QUERY_AUTOMATICALLY_KEY

INLINE_STYLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY

STYLE_CLASS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY

SHORT_DESC_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY

UNSECURE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey UNSECURE_KEY

VISIBLE_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY

CUSTOMIZATION_ID_KEY

@Deprecated
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
Deprecated. 

CLIENT_COMPONENT_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_COMPONENT_KEY

CLIENT_ATTRIBUTES_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_ATTRIBUTES_KEY

PARTIAL_TRIGGERS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY

CLIENT_LISTENERS_KEY

public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY

HELP_FACET

public static final java.lang.String HELP_FACET
See Also:
Constant Field Values

TOOLBAR_FACET

public static final java.lang.String TOOLBAR_FACET
See Also:
Constant Field Values

INFO_FACET

public static final java.lang.String INFO_FACET
See Also:
Constant Field Values

FOOTER_FACET

public static final java.lang.String FOOTER_FACET
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

Constructor Detail

RichQuery

public RichQuery()
Construct an instance of the RichQuery.

RichQuery

protected RichQuery(java.lang.String rendererType)
Construct an instance of the RichQuery.

Method Detail

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)
Overrides:
processDecodes in class org.apache.myfaces.trinidad.component.UIXComponentBase

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class org.apache.myfaces.trinidad.component.UIXComponentBase

processValidators

public void processValidators(javax.faces.context.FacesContext context)
Overrides:
processValidators in class org.apache.myfaces.trinidad.component.UIXComponentBase

getHelp

public final javax.faces.component.UIComponent getHelp()
This facet is deprecated, instead the attribute 'helpTopicId' should be used for providing help. Both the help facet (when rendered inline) and helpTopicId with instructions text are rendered in the same spot, so if helpTopicId is specified and it has instructions text, the help facet will not be rendered if specified inline.
Help content that is displayed to the user. The content of the help is displayed inline inside the header content or as a popup through a link.

setHelp

public final void setHelp(javax.faces.component.UIComponent helpFacet)
This facet is deprecated, instead the attribute 'helpTopicId' should be used for providing help. Both the help facet (when rendered inline) and helpTopicId with instructions text are rendered in the same spot, so if helpTopicId is specified and it has instructions text, the help facet will not be rendered if specified inline.
Help content that is displayed to the user. The content of the help is displayed inline inside the header content or as a popup through a link.

getToolbar

public final javax.faces.component.UIComponent getToolbar()
Used to specify content that displays in the query header. Contents of this facet will be shown in both Basic and Advanced mode. For example, to show custom command buttons in both Basic and Advanced mode, buttons should be added to the toolbar facet.

setToolbar

public final void setToolbar(javax.faces.component.UIComponent toolbarFacet)
Used to specify content that displays in the query header. Contents of this facet will be shown in both Basic and Advanced mode. For example, to show custom command buttons in both Basic and Advanced mode, buttons should be added to the toolbar facet.

getInfo

public final javax.faces.component.UIComponent getInfo()
Used to specify content that provides additional information to the user. This content is usually displayed under the search panel header and end aligned with the header.

setInfo

public final void setInfo(javax.faces.component.UIComponent infoFacet)
Used to specify content that provides additional information to the user. This content is usually displayed under the search panel header and end aligned with the header.

getFooter

public final javax.faces.component.UIComponent getFooter()
Used to specify content that displays in the query footer. If a footer is not specified then an 'Add Fields' dropdown is automatically added to the facet. If a footer facet is specified, (that includes custom buttons for example) the default 'Add Fields' dropdown will not appear and users are required to specify it explicitly in the footer facet along with the other content if this functionality is desired. In addition, contents of this facet will only be shown in the Advanced mode.

setFooter

public final void setFooter(javax.faces.component.UIComponent footerFacet)
Used to specify content that displays in the query footer. If a footer is not specified then an 'Add Fields' dropdown is automatically added to the facet. If a footer facet is specified, (that includes custom buttons for example) the default 'Add Fields' dropdown will not appear and users are required to specify it explicitly in the footer facet along with the other content if this functionality is desired. In addition, contents of this facet will only be shown in the Advanced mode.

getHelpTopicId

public final java.lang.String getHelpTopicId()
Gets the id used to look up a topic in a helpProvider.
Returns:
the new helpTopicId value

setHelpTopicId

public final void setHelpTopicId(java.lang.String helpTopicId)
Sets the id used to look up a topic in a helpProvider.
Parameters:
helpTopicId - the new helpTopicId value

isMaximized

public final boolean isMaximized()
Gets whether the children are currently maximized
Returns:
the new maximized value

setMaximized

public final void setMaximized(boolean maximized)
Sets whether the children are currently maximized
Parameters:
maximized - the new maximized value

getShowMaximize

public final java.lang.String getShowMaximize()
Gets Whether to display the maximize control to allow this component to be maximized. The default value, auto, allows the framework to determine whether the maximize control should be displayed beased on a number of factors, including the platform that the component is being displayed on.
Returns:
the new showMaximize value

setShowMaximize

public final void setShowMaximize(java.lang.String showMaximize)
Sets Whether to display the maximize control to allow this component to be maximized. The default value, auto, allows the framework to determine whether the maximize control should be displayed beased on a number of factors, including the platform that the component is being displayed on.
Parameters:
showMaximize - the new showMaximize value

getMaximizeListener

public final javax.el.MethodExpression getMaximizeListener()
Gets a method reference to a maximize listener
Returns:
the new maximizeListener value

setMaximizeListener

public final void setMaximizeListener(javax.el.MethodExpression maximizeListener)
Sets a method reference to a maximize listener
Parameters:
maximizeListener - the new maximizeListener value

getDisclosureListener

public final javax.el.MethodExpression getDisclosureListener()
Gets a method reference to a disclosure listener
Returns:
the new disclosureListener value

setDisclosureListener

public final void setDisclosureListener(javax.el.MethodExpression disclosureListener)
Sets a method reference to a disclosure listener
Parameters:
disclosureListener - the new disclosureListener value

isDisclosed

public final boolean isDisclosed()
Gets whether the children are currently disclosed
Returns:
the new disclosed value

setDisclosed

public final void setDisclosed(boolean disclosed)
Sets whether the children are currently disclosed
Parameters:
disclosed - the new disclosed value

isImmediate

public final boolean isImmediate()
Gets whether data validation - client-side or server-side - should be skipped when events are generated by this component. When immediate is false (the default), the disclosure event will be delivered during the Invoke Application phase, which will trigger validation. When set to true, the disclosure event will be executed during the Apply Request Values phase.
Returns:
the new immediate value

setImmediate

public final void setImmediate(boolean immediate)
Sets whether data validation - client-side or server-side - should be skipped when events are generated by this component. When immediate is false (the default), the disclosure event will be delivered during the Invoke Application phase, which will trigger validation. When set to true, the disclosure event will be executed during the Apply Request Values phase.
Parameters:
immediate - the new immediate value

getContentDelivery

public final java.lang.String getContentDelivery()
Gets whether the undisclosed content is delivered with the initial page. When contentDelivery is "immediate", the content is inlined into the initial page. If contentDelivery is "lazy", the content will be delivered to the client only after the first request to disclose the component. If contentDelivery is "lazyUncached", the content will be delivered each and every time the component's disclosure changes. By default, contentDelivery is lazyUncached.
Returns:
the new contentDelivery value

setContentDelivery

public final void setContentDelivery(java.lang.String contentDelivery)
Sets whether the undisclosed content is delivered with the initial page. When contentDelivery is "immediate", the content is inlined into the initial page. If contentDelivery is "lazy", the content will be delivered to the client only after the first request to disclose the component. If contentDelivery is "lazyUncached", the content will be delivered each and every time the component's disclosure changes. By default, contentDelivery is lazyUncached.
Parameters:
contentDelivery - the new contentDelivery value

getFieldWidth

public final java.lang.String getFieldWidth()
Gets the preferred width of the value part of the search field. Usually a percentage, but may be specified as either a percentage or an absolute number of pixels. If the width is not specified, it will default appropriately. If specified as a percentage the sum of labelWidth and fieldWidth should add up to 100%, regardless of the number of columns. If the fieldWidth is specified and is a percentage the labelWidth will be derived appropriately if not specified.
Returns:
the new fieldWidth value

setFieldWidth

public final void setFieldWidth(java.lang.String fieldWidth)
Sets the preferred width of the value part of the search field. Usually a percentage, but may be specified as either a percentage or an absolute number of pixels. If the width is not specified, it will default appropriately. If specified as a percentage the sum of labelWidth and fieldWidth should add up to 100%, regardless of the number of columns. If the fieldWidth is specified and is a percentage the labelWidth will be derived appropriately if not specified.
Parameters:
fieldWidth - the new fieldWidth value

getHeaderText

public final java.lang.String getHeaderText()
Gets the label of the query header.

This is a required property on the component.

Returns:
the new headerText value

setHeaderText

public final void setHeaderText(java.lang.String headerText)
Sets the label of the query header.

This is a required property on the component.

Parameters:
headerText - the new headerText value

getLabelAlignment

public final java.lang.String getLabelAlignment()
Gets the alignment of label prompts for a search field (criterion). 'start' places the label before the operator and value fields. 'top' renders the label above the operator and value fields.
Returns:
the new labelAlignment value

setLabelAlignment

public final void setLabelAlignment(java.lang.String labelAlignment)
Sets the alignment of label prompts for a search field (criterion). 'start' places the label before the operator and value fields. 'top' renders the label above the operator and value fields.
Parameters:
labelAlignment - the new labelAlignment value

getLabelWidth

public final java.lang.String getLabelWidth()
Gets the preferred width of the label. Usually a percentage, but may be specified as either a percentage or an absolute number of pixels. If the width is not specified, it will default appropriately. If specified as a percentage tthe sum of labelWidth and fieldWidth should add up to 100%, regardless of the number of columns. If the labelWidth is specified and is a percentage the fieldWidth will be derived appropriately if not specified.
Returns:
the new labelWidth value

setLabelWidth

public final void setLabelWidth(java.lang.String labelWidth)
Sets the preferred width of the label. Usually a percentage, but may be specified as either a percentage or an absolute number of pixels. If the width is not specified, it will default appropriately. If specified as a percentage tthe sum of labelWidth and fieldWidth should add up to 100%, regardless of the number of columns. If the labelWidth is specified and is a percentage the fieldWidth will be derived appropriately if not specified.
Parameters:
labelWidth - the new labelWidth value

getMaxColumns

public final int getMaxColumns()
Gets the maximum number of columns to show. This property defaults to 3. If the panelForm (containing the search fields) is inside of another panelForm, this will always be 1.
Returns:
the new maxColumns value

setMaxColumns

public final void setMaxColumns(int maxColumns)
Sets the maximum number of columns to show. This property defaults to 3. If the panelForm (containing the search fields) is inside of another panelForm, this will always be 1.
Parameters:
maxColumns - the new maxColumns value

getModeButtonPosition

public final java.lang.String getModeButtonPosition()
Gets the location the mode button is displayed. Valid values are footer and toolbar (default).
Returns:
the new modeButtonPosition value

setModeButtonPosition

public final void setModeButtonPosition(java.lang.String modeButtonPosition)
Sets the location the mode button is displayed. Valid values are footer and toolbar (default).
Parameters:
modeButtonPosition - the new modeButtonPosition value

isModeChangeVisible

public final boolean isModeChangeVisible()
Gets the rendering of mode change button. This button is used to switch the modes between basic and advanced. In addition if users choose to toggle between the query and quickQuery components, they can do so by adding a commandButton to the toolbar facet. The actionListener on the commandButton can then be wired to a method on a session scoped managed bean.
Returns:
the new modeChangeVisible value

setModeChangeVisible

public final void setModeChangeVisible(boolean modeChangeVisible)
Sets the rendering of mode change button. This button is used to switch the modes between basic and advanced. In addition if users choose to toggle between the query and quickQuery components, they can do so by adding a commandButton to the toolbar facet. The actionListener on the commandButton can then be wired to a method on a session scoped managed bean.
Parameters:
modeChangeVisible - the new modeChangeVisible value

getResultComponentId

public final java.lang.String getResultComponentId()
Gets a search expression identifying the results component (usually a table or treeTable) that will display the results of the query. Expressions are relative to this source component and must account for NamingContainers. If the results component is already inside of a naming container, you can prepend a single colon to start the search from the root, or multiple colons to move up through the NamingContainers. For example, a leading "::" will pop out of the component's naming container (or itself if the component is a naming container) and begin the search from there, ":::" will pop out of two naming containers (including itself if the component is a naming container) and begin the search from there, etc. Product teams should ensure that this value is set correctly so that the search operation triggers a partial page refresh of the component. Also, the 'Save Results Layout' feature, (applied on the current saved search) uses this value as a UIHint in the model.
Returns:
the new resultComponentId value

setResultComponentId

public final void setResultComponentId(java.lang.String resultComponentId)
Sets a search expression identifying the results component (usually a table or treeTable) that will display the results of the query. Expressions are relative to this source component and must account for NamingContainers. If the results component is already inside of a naming container, you can prepend a single colon to start the search from the root, or multiple colons to move up through the NamingContainers. For example, a leading "::" will pop out of the component's naming container (or itself if the component is a naming container) and begin the search from there, ":::" will pop out of two naming containers (including itself if the component is a naming container) and begin the search from there, etc. Product teams should ensure that this value is set correctly so that the search operation triggers a partial page refresh of the component. Also, the 'Save Results Layout' feature, (applied on the current saved search) uses this value as a UIHint in the model.
Parameters:
resultComponentId - the new resultComponentId value

getRows

public final int getRows()
Gets the number of rows after which to start a new column. This attribute defaults to Integer.MAX_VALUE. The number of rows actually rendered depends also on the "maxColumns" property. If the children will not fit in the given number of rows and columns, the number of rows will increase to accommodate the children.
Returns:
the new rows value

setRows

public final void setRows(int rows)
Sets the number of rows after which to start a new column. This attribute defaults to Integer.MAX_VALUE. The number of rows actually rendered depends also on the "maxColumns" property. If the children will not fit in the given number of rows and columns, the number of rows will increase to accommodate the children.
Parameters:
rows - the new rows value

getSaveResultsLayout

public final java.lang.String getSaveResultsLayout()
Gets Indicates if the layout of the results component is automatically persisted. Default value is 'always'.
Returns:
the new saveResultsLayout value

setSaveResultsLayout

public final void setSaveResultsLayout(java.lang.String saveResultsLayout)
Sets Indicates if the layout of the results component is automatically persisted. Default value is 'always'.
Parameters:
saveResultsLayout - the new saveResultsLayout value

getSaveQueryMode

public final java.lang.String getSaveQueryMode()
Gets the mode of display and usage for saved searches.
Returns:
the new saveQueryMode value

setSaveQueryMode

public final void setSaveQueryMode(java.lang.String saveQueryMode)
Sets the mode of display and usage for saved searches.
Parameters:
saveQueryMode - the new saveQueryMode value

getDisplayMode

public final java.lang.String getDisplayMode()
Gets the mode of display for the query component.
Returns:
the new displayMode value

setDisplayMode

public final void setDisplayMode(java.lang.String displayMode)
Sets the mode of display for the query component.
Parameters:
displayMode - the new displayMode value

isSimple

@Deprecated
public final boolean isSimple()
Deprecated. This attribute is deprecated, displayMode=simple should be used instead.
Gets the boolean that determines if the header and footer will be rendered. This attribute is deprecated and displayMode=simple should be used instead.
Returns:
the new simple value

setSimple

@Deprecated
public final void setSimple(boolean simple)
Deprecated. This attribute is deprecated, displayMode=simple should be used instead.
Sets the boolean that determines if the header and footer will be rendered. This attribute is deprecated and displayMode=simple should be used instead.
Parameters:
simple - the new simple value

getType

public final java.lang.String getType()
Gets how the component will handle geometry management. Options are:
Returns:
the new type value

setType

public final void setType(java.lang.String type)
Sets how the component will handle geometry management. Options are:
Parameters:
type - the new type value

getSearchButtonText

public final java.lang.String getSearchButtonText()
Gets what Text will the component set for the search button. Options are:
Returns:
the new searchButtonText value

setSearchButtonText

public final void setSearchButtonText(java.lang.String searchButtonText)
Sets what Text will the component set for the search button. Options are:
Parameters:
searchButtonText - the new searchButtonText value

getSearchButtonAccessKey

public final char getSearchButtonAccessKey()
Gets what accessKey will the component set for the search button. Options are:
Returns:
the new searchButtonAccessKey value

setSearchButtonAccessKey

public final void setSearchButtonAccessKey(char searchButtonAccessKey)
Sets what accessKey will the component set for the search button. Options are:
Parameters:
searchButtonAccessKey - the new searchButtonAccessKey value

getResetButtonText

public final java.lang.String getResetButtonText()
Gets what Text will the component set for the reset button. Options are:
Returns:
the new resetButtonText value

setResetButtonText

public final void setResetButtonText(java.lang.String resetButtonText)
Sets what Text will the component set for the reset button. Options are:
Parameters:
resetButtonText - the new resetButtonText value

getResetButtonAccessKey

public final char getResetButtonAccessKey()
Gets what accessKey will the component set for the reset button. Options are:
Returns:
the new resetButtonAccessKey value

setResetButtonAccessKey

public final void setResetButtonAccessKey(char resetButtonAccessKey)
Sets what accessKey will the component set for the reset button. Options are:
Parameters:
resetButtonAccessKey - the new resetButtonAccessKey value

getSaveButtonText

public final java.lang.String getSaveButtonText()
Gets what Text will the component set for the save button. Options are:
Returns:
the new saveButtonText value

setSaveButtonText

public final void setSaveButtonText(java.lang.String saveButtonText)
Sets what Text will the component set for the save button. Options are:
Parameters:
saveButtonText - the new saveButtonText value

getSaveButtonAccessKey

public final char getSaveButtonAccessKey()
Gets what accessKey will the component set for the save button. Options are:
Returns:
the new saveButtonAccessKey value

setSaveButtonAccessKey

public final void setSaveButtonAccessKey(char saveButtonAccessKey)
Sets what accessKey will the component set for the save button. Options are:
Parameters:
saveButtonAccessKey - the new saveButtonAccessKey value

getAddFieldsButtonText

public final java.lang.String getAddFieldsButtonText()
Gets what Text will the component set for the add fields button. Options are:
Returns:
the new addFieldsButtonText value

setAddFieldsButtonText

public final void setAddFieldsButtonText(java.lang.String addFieldsButtonText)
Sets what Text will the component set for the add fields button. Options are:
Parameters:
addFieldsButtonText - the new addFieldsButtonText value

getAddFieldsButtonAccessKey

public final char getAddFieldsButtonAccessKey()
Gets what accessKey will the component set for the add fields button. Options are:
Returns:
the new addFieldsButtonAccessKey value

setAddFieldsButtonAccessKey

public final void setAddFieldsButtonAccessKey(char addFieldsButtonAccessKey)
Sets what accessKey will the component set for the add fields button. Options are:
Parameters:
addFieldsButtonAccessKey - the new addFieldsButtonAccessKey value

getCriterionFeatures

public final java.util.Set getCriterionFeatures()
Gets Additional criterion attributes that can be configured/set by the user. Currently we support the following two features
Returns:
the new criterionFeatures value

setCriterionFeatures

public final void setCriterionFeatures(java.util.Set criterionFeatures)
Sets Additional criterion attributes that can be configured/set by the user. Currently we support the following two features
Parameters:
criterionFeatures - the new criterionFeatures value

getRunQueryAutomatically

public final java.lang.String getRunQueryAutomatically()
Gets Indicates if the query should be run automatically for saved searches. The possible values are
Returns:
the new runQueryAutomatically value

setRunQueryAutomatically

public final void setRunQueryAutomatically(java.lang.String runQueryAutomatically)
Sets Indicates if the query should be run automatically for saved searches. The possible values are
Parameters:
runQueryAutomatically - the new runQueryAutomatically value

getInlineStyle

public final java.lang.String getInlineStyle()
Gets the CSS styles to use for this component. This is intended for basic style changes. The inlineStyle is a set of CSS styles that are applied to the root DOM element of the component. If the inlineStyle's CSS properties do not affect the DOM element you want affected, then you will have to create a skin and use the skinning keys which are meant to target particular DOM elements, like ::label or ::icon-style.
Returns:
the new inlineStyle value

setInlineStyle

public final void setInlineStyle(java.lang.String inlineStyle)
Sets the CSS styles to use for this component. This is intended for basic style changes. The inlineStyle is a set of CSS styles that are applied to the root DOM element of the component. If the inlineStyle's CSS properties do not affect the DOM element you want affected, then you will have to create a skin and use the skinning keys which are meant to target particular DOM elements, like ::label or ::icon-style.
Parameters:
inlineStyle - the new inlineStyle value

getStyleClass

public final java.lang.String getStyleClass()
Gets a CSS style class to use for this component. The style class can be defined in your jspx page or in a skinning CSS file, for example, or you can use one of our public style classes, like 'AFInstructionText'.
Returns:
the new styleClass value

setStyleClass

public final void setStyleClass(java.lang.String styleClass)
Sets a CSS style class to use for this component. The style class can be defined in your jspx page or in a skinning CSS file, for example, or you can use one of our public style classes, like 'AFInstructionText'.
Parameters:
styleClass - the new styleClass value

getShortDesc

public final java.lang.String getShortDesc()
Gets the short description of the component. This text is commonly used by user agents to display tooltip help text, in which case the behavior for the tooltip is controlled by the user agent, e.g. Firefox 2 truncates long tooltips. For form components, the shortDesc is displayed in a note window. For components that support the helpTopicId attribute it is recommended that helpTopicId is used as it is more flexible and is more accessibility-compliant.
Returns:
the new shortDesc value

setShortDesc

public final void setShortDesc(java.lang.String shortDesc)
Sets the short description of the component. This text is commonly used by user agents to display tooltip help text, in which case the behavior for the tooltip is controlled by the user agent, e.g. Firefox 2 truncates long tooltips. For form components, the shortDesc is displayed in a note window. For components that support the helpTopicId attribute it is recommended that helpTopicId is used as it is more flexible and is more accessibility-compliant.
Parameters:
shortDesc - the new shortDesc value

getUnsecure

public final java.util.Set<java.lang.String> getUnsecure()
Gets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. Currently, this is supported only for the "disabled" attribute.
Returns:
the new unsecure value

setUnsecure

public final void setUnsecure(java.util.Set<java.lang.String> unsecure)
Sets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. Currently, this is supported only for the "disabled" attribute.
Parameters:
unsecure - the new unsecure value

isVisible

public final boolean isVisible()
Gets the visibility of the component. If it is "false", the component will be hidden on the client. Unlike "rendered", this does not affect the lifecycle on the server - the component may have its bindings executed, etc. - and the visibility of the component can be toggled on and off on the client, or toggled with PPR. When "rendered" is false, the component will not in any way be rendered, and cannot be made visible on the client. In most cases, use the "rendered" property instead of the "visible" property.
Returns:
the new visible value

setVisible

public final void setVisible(boolean visible)
Sets the visibility of the component. If it is "false", the component will be hidden on the client. Unlike "rendered", this does not affect the lifecycle on the server - the component may have its bindings executed, etc. - and the visibility of the component can be toggled on and off on the client, or toggled with PPR. When "rendered" is false, the component will not in any way be rendered, and cannot be made visible on the client. In most cases, use the "rendered" property instead of the "visible" property.
Parameters:
visible - the new visible value

getCustomizationId

@Deprecated
public final java.lang.String getCustomizationId()
Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead.
Gets This attribute is deprecated. The 'id' attribute should be used when applying persistent customizations. This attribute will be removed in the next release.
Returns:
the new customizationId value

setCustomizationId

@Deprecated
public final void setCustomizationId(java.lang.String customizationId)
Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead.
Sets This attribute is deprecated. The 'id' attribute should be used when applying persistent customizations. This attribute will be removed in the next release.
Parameters:
customizationId - the new customizationId value

isClientComponent

public final boolean isClientComponent()
Gets whether a client-side component will be generated. A component may be generated whether or not this flag is set, but if client Javascript requires the component object, this must be set to true to guarantee the component's presence. Client component objects that are generated today by default may not be present in the future; setting this flag is the only way to guarantee a component's presence, and clients cannot rely on implicit behavior. However, there is a performance cost to setting this flag, so clients should avoid turning on client components unless absolutely necessary.
Returns:
the new clientComponent value

setClientComponent

public final void setClientComponent(boolean clientComponent)
Sets whether a client-side component will be generated. A component may be generated whether or not this flag is set, but if client Javascript requires the component object, this must be set to true to guarantee the component's presence. Client component objects that are generated today by default may not be present in the future; setting this flag is the only way to guarantee a component's presence, and clients cannot rely on implicit behavior. However, there is a performance cost to setting this flag, so clients should avoid turning on client components unless absolutely necessary.
Parameters:
clientComponent - the new clientComponent value

getClientAttributes

public final java.util.Set getClientAttributes()
Gets a set of client attribute names.
Returns:
the new clientAttributes value

setClientAttributes

public final void setClientAttributes(java.util.Set clientAttributes)
Sets a set of client attribute names.
Parameters:
clientAttributes - the new clientAttributes value

getPartialTriggers

public final java.lang.String[] getPartialTriggers()
Gets the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Identifiers are relative to the source component (this component), and must account for NamingContainers. If your component is already inside of a naming container, you can use a single colon to start the search from the root of the page, or multiple colons to move up through the NamingContainers - "::" will pop out of the component's naming container (or itself if the component is a naming container) and begin the search from there, ":::" will pop out of two naming containers (including itself if the component is a naming container) and begin the search from there, etc.
Returns:
the new partialTriggers value

setPartialTriggers

public final void setPartialTriggers(java.lang.String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. Identifiers are relative to the source component (this component), and must account for NamingContainers. If your component is already inside of a naming container, you can use a single colon to start the search from the root of the page, or multiple colons to move up through the NamingContainers - "::" will pop out of the component's naming container (or itself if the component is a naming container) and begin the search from there, ":::" will pop out of two naming containers (including itself if the component is a naming container) and begin the search from there, etc.
Parameters:
partialTriggers - the new partialTriggers value

getClientListeners

public final ClientListenerSet getClientListeners()
Gets a set of client listeners.
Returns:
the new clientListeners value

setClientListeners

public final void setClientListeners(ClientListenerSet clientListeners)
Sets a set of client listeners.
Parameters:
clientListeners - the new clientListeners value

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class UIXQuery

getBeanType

protected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
Overrides:
getBeanType in class UIXQuery

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.0)
E10684-08


Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.