Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

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

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

public class FacetItemSearchFilterItem
extends SearchFilterItem
implements java.io.Serializable

A SearchFilterItem for Facet Item nodes.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.globalSearch.ui.filters.SearchFilterItem
SearchFilterItem.FilterType
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.globalSearch.ui.filters.SearchFilterItem
MAX_TILE_STR_LEN, SEP_CHARS
 
Constructor Summary
FacetItemSearchFilterItem(TreeItem treeItem)
          Constructor for Facet Item Search Filter Item.
 
Method Summary
 SearchFilterItem copy()
          Create a defensive copy of the SearchFilter Item.
 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 getFacetDisplayName()
          Get the Facet Display name for the root facet of this facet_item node.
 java.lang.String getFacetItemPath()
          get Facet item only path with display names.
 java.lang.String getFacetValuePath()
          get Facet path with values, not display names.
 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.filters.SearchFilterItem
getFilterType, isApplied, isDeletable, setApplied
 
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.

getFacetItemPath

public java.lang.String getFacetItemPath()
get Facet item only path with display names.

Returns:
facet items in a path String facet_item > facet_item.

getFacetValuePath

public java.lang.String getFacetValuePath()
get Facet path with values, not display names.

Returns:
facet as a path String facet : facet_item > facet_item ....

getFacetDisplayName

public java.lang.String getFacetDisplayName()
Get the Facet Display name for the root facet of this facet_item node.

Returns:
FacedDisplayName.

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

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

copy

public SearchFilterItem copy()
Create a defensive copy of the SearchFilter Item.

Specified by:
copy in class SearchFilterItem
Returns:
a copy of this.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.