Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.globalSearch.ui.managed
Class GlobalSearchResultTabBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.managed.GlobalSearchBaseBean
      extended by oracle.apps.fnd.applcore.globalSearch.ui.managed.GlobalSearchResultTabBean

public class GlobalSearchResultTabBean
extends GlobalSearchBaseBean

Backing bean for a single tab of results in the global search results popup.

Author:
David Groves <david.groves@oracle.com>

Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.globalSearch.ui.managed.GlobalSearchBaseBean
_sessionBean
 
Constructor Summary
GlobalSearchResultTabBean()
          Public constructor.
 
Method Summary
 void categoryNodeClicked(SearchResult sr, TreeItem selectedNode)
          A category node was clicked.
 void facetItemNodeClicked(SearchResult sr, TreeItem selectedFINode)
          A facet item node was clicked.
 org.apache.myfaces.trinidad.model.RowKeySet getDisclosedRowKeys()
          Get the disclosed row keys, this method is bound to the af:tree.
 oracle.adf.view.rich.component.rich.data.RichTree getSearchResultsDlgAttributeTree()
          Binding for the Attribute filters tree.
 org.apache.myfaces.trinidad.model.RowKeySet getSRDisclosedRowKeys()
          The disclosed rows for the current search result attribute filter tree.
 boolean isClosedFolder()
          Is the current tree node a folder node and is it closed.
 boolean isOpenFolder()
          Is the current tree node a folder node and is it open.
 void searchableObjectNodeClicked(SearchResult sr, TreeItem selectedSONode)
          A searchable object node was clicked.
 void searchResultsDlgAttributeTreeRowDisclosure(org.apache.myfaces.trinidad.event.RowDisclosureEvent evt)
          Disclose a node in the attributes tree.
 void searchResultsDlgAttributeTreeSelection(org.apache.myfaces.trinidad.event.SelectionEvent event)
          Select a node in the attributes tree.
 void searchResultsDlgDeleteFilter(javax.faces.event.ActionEvent actionEvent)
          React to the user explicitly deleting a filter tile in the UI.
 void searchResultsDlgNarrowFilter(javax.faces.event.ActionEvent actionEvent)
          Process a click on a facet item filter tile to narrow the filter.
 void setSearchResultsDlgAttributeTree(oracle.adf.view.rich.component.rich.data.RichTree newtree)
          Binding for the Attribute filters tree.
 
Methods inherited from class oracle.apps.fnd.applcore.globalSearch.ui.managed.GlobalSearchBaseBean
getSavedSearches, getSearchLabel, getSelectedSavedSearch, getSessionBean, isSavedSearchesExist, performSavedSearch, refreshSearchUI, savedSearchSelectionChanged, setSelectedSavedSearch, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSearchResultTabBean

public GlobalSearchResultTabBean()
Public constructor.

Method Detail

searchResultsDlgNarrowFilter

public void searchResultsDlgNarrowFilter(javax.faces.event.ActionEvent actionEvent)
Process a click on a facet item filter tile to narrow the filter.

Parameters:
actionEvent - event caused by commandlink press.

getDisclosedRowKeys

public org.apache.myfaces.trinidad.model.RowKeySet getDisclosedRowKeys()
Get the disclosed row keys, this method is bound to the af:tree.

Returns:
single RowKeySet objects to act as disclosedRowKeys.

searchResultsDlgAttributeTreeRowDisclosure

public void searchResultsDlgAttributeTreeRowDisclosure(org.apache.myfaces.trinidad.event.RowDisclosureEvent evt)
Disclose a node in the attributes tree.

Parameters:
evt - event.

searchResultsDlgAttributeTreeSelection

public void searchResultsDlgAttributeTreeSelection(org.apache.myfaces.trinidad.event.SelectionEvent event)
Select a node in the attributes tree. This will add/remove filters as needed and perform new searches.

Parameters:
event - event.

searchResultsDlgDeleteFilter

public void searchResultsDlgDeleteFilter(javax.faces.event.ActionEvent actionEvent)
React to the user explicitly deleting a filter tile in the UI.

Parameters:
actionEvent - event.

isOpenFolder

public boolean isOpenFolder()
Is the current tree node a folder node and is it open.

Returns:
true if open, false if not a folder, or if closed.

isClosedFolder

public boolean isClosedFolder()
Is the current tree node a folder node and is it closed.

Returns:
true if open, false if not a folder, or if open.

categoryNodeClicked

public void categoryNodeClicked(SearchResult sr,
                                TreeItem selectedNode)
A category node was clicked. This method is public for the purposes of unit tests only, it is considered internal.

Parameters:
sr - search result.
selectedNode - selected node.

searchableObjectNodeClicked

public void searchableObjectNodeClicked(SearchResult sr,
                                        TreeItem selectedSONode)
A searchable object node was clicked. This method is public for the purposes of unit tests only, it is considered internal.

Parameters:
sr - search result.
selectedSONode - selected node.

facetItemNodeClicked

public void facetItemNodeClicked(SearchResult sr,
                                 TreeItem selectedFINode)
A facet item node was clicked. This method is public for the purposes of unit tests only, it is considered internal.

Parameters:
sr - search result.
selectedFINode - selected node.

setSearchResultsDlgAttributeTree

public void setSearchResultsDlgAttributeTree(oracle.adf.view.rich.component.rich.data.RichTree newtree)
Binding for the Attribute filters tree.

Parameters:
newtree - Attribute filters tree.

getSearchResultsDlgAttributeTree

public oracle.adf.view.rich.component.rich.data.RichTree getSearchResultsDlgAttributeTree()
Binding for the Attribute filters tree.

Returns:
Binding for the Attribute filters tree.

getSRDisclosedRowKeys

public org.apache.myfaces.trinidad.model.RowKeySet getSRDisclosedRowKeys()
The disclosed rows for the current search result attribute filter tree.

Returns:
disclosed rows.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.