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

E22562-01

oracle.apps.fnd.applcore.globalSearch.ui
Class FacetItemSearchFilterItem

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.SearchFilterItem
      extended by oracle.apps.fnd.applcore.globalSearch.ui.FacetItemSearchFilterItem
All Implemented Interfaces:
java.io.Serializable

public class FacetItemSearchFilterItem
extends SearchFilterItem
implements java.io.Serializable

A SearchFilterItem for Facet Item nodes.

Author:
David Groves <david.groves@oracle.com>
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.globalSearch.ui.SearchFilterItem
SearchFilterItem.FilterType
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.globalSearch.ui.SearchFilterItem
_filterType, MAX_TILE_STR_LEN, SEP_CHARS
 
Constructor Summary
FacetItemSearchFilterItem(TreeItem treeItem)
          Constructor for Facet Item Search Filter Item.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.Object getAdaptee()
          Get the object adapted to (in the case where we are adapting to objects in a foreign API).
 java.lang.String getDisplayValue()
          Get the display value of this filter item.
 java.lang.String getInlineStyle()
          Return the inline style for the tile, allows us to programatically set the size of the tile based on how big it's contents are.
 java.util.List<TreeItem> getSegmentFacets()
          The list facets for the segment.
 java.lang.String getSegmentPrompt()
          Value to use as prompt for the segment.
 java.lang.String getSegmentSeparator()
          the segment separator.
 java.lang.String getToolTipValue()
          Get the value of this filter item shown in a tooltip.
 java.lang.String getValue()
          Get the code value of this filter item.
 int hashCode()
          
 boolean isSegmented()
          Is this facet segmented, that is it to be shown like a breadcrumb:
 
Methods inherited from class oracle.apps.fnd.applcore.globalSearch.ui.SearchFilterItem
getFilterType, isDeletable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetItemSearchFilterItem

public FacetItemSearchFilterItem(TreeItem treeItem)
Constructor for Facet Item Search Filter Item.

Parameters:
treeItem - the tree item for the facet
Method Detail

getValue

public java.lang.String getValue()
Get the code value of this filter item.

Specified by:
getValue in class SearchFilterItem
Returns:
code value of this filter item.

getDisplayValue

public java.lang.String getDisplayValue()
Get the display value of this filter item.

Specified by:
getDisplayValue in class SearchFilterItem
Returns:
display value of this filter item.

getToolTipValue

public java.lang.String getToolTipValue()
Get the value of this filter item shown in a tooltip.

Specified by:
getToolTipValue in class SearchFilterItem
Returns:
tooltip value of this filter item.

getAdaptee

public java.lang.Object getAdaptee()
Get the object adapted to (in the case where we are adapting to objects in a foreign API). See GoF Adapter pattern.

Specified by:
getAdaptee in class SearchFilterItem
Returns:
Adapted Object - treeItem.

isSegmented

public boolean isSegmented()
Is this facet segmented, that is it to be shown like a breadcrumb:
 +-------------------------------------+
 | Attribute1: Value1.1 > Value1.1.1 X |
 +-------------------------------------+
 
where Value1.1 is an active commandlink and Value1.1.1 is not.

Overrides:
isSegmented in class SearchFilterItem
Returns:
whether facet is segmented

getSegmentPrompt

public java.lang.String getSegmentPrompt()
Value to use as prompt for the segment.

Returns:
segment prompt

getSegmentSeparator

public java.lang.String getSegmentSeparator()
the segment separator.

Returns:
segment separator

getSegmentFacets

public java.util.List<TreeItem> getSegmentFacets()
The list facets for the segment.

Returns:
tree items representing the facets

getInlineStyle

public java.lang.String getInlineStyle()
Return the inline style for the tile, allows us to programatically set the size of the tile based on how big it's contents are.

Overrides:
getInlineStyle in class SearchFilterItem
Returns:
inline style of tile.

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.