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 SearchFilterItem

java.lang.Object
  extended by oracle.apps.fnd.applcore.globalSearch.ui.SearchFilterItem
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CategorySearchFilterItem, FacetItemSearchFilterItem, KeywordSearchFilterItem, SearchableObjectSearchFilterItem

public abstract class SearchFilterItem
extends java.lang.Object
implements java.io.Serializable

An abstract class representing a filter item.

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

Nested Class Summary
static class SearchFilterItem.FilterType
          Type of filter.
 
Field Summary
protected  SearchFilterItem.FilterType _filterType
          Which filter type are we.
static int MAX_TILE_STR_LEN
          Maximum length of a value to display on a tile.
static java.lang.String SEP_CHARS
          The separation characters.
 
Constructor Summary
SearchFilterItem(SearchFilterItem.FilterType filterType)
          Construct this class setting the filter type.
 
Method Summary
abstract  java.lang.Object getAdaptee()
          Get the object adapted to (in the case where we are adapting to objects in a foreign API).
abstract  java.lang.String getDisplayValue()
          Get the display value of this filter item.
 SearchFilterItem.FilterType getFilterType()
          Get the filter Type.
 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.
abstract  java.lang.String getToolTipValue()
          Get the value of this filter item shown in a tooltip.
abstract  java.lang.String getValue()
          Get the code value of this filter item.
 boolean isDeletable()
          Is this filter item 'deletable'.
 boolean isSegmented()
          Is this facet segmented, that is it to be shown like a breadcrumb:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_TILE_STR_LEN

public static final int MAX_TILE_STR_LEN
Maximum length of a value to display on a tile.

See Also:
Constant Field Values

SEP_CHARS

public static final java.lang.String SEP_CHARS
The separation characters.

See Also:
Constant Field Values

_filterType

protected SearchFilterItem.FilterType _filterType
Which filter type are we.

Constructor Detail

SearchFilterItem

public SearchFilterItem(SearchFilterItem.FilterType filterType)
Construct this class setting the filter type.

Parameters:
filterType - filter type.
Method Detail

isDeletable

public boolean isDeletable()
Is this filter item 'deletable'. This controls whether the 'X' is shown to the user in the UI.

Returns:
true if deletable, false otherwise.

getFilterType

public SearchFilterItem.FilterType getFilterType()
Get the filter Type.

Returns:
filter Type.

getValue

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

Returns:
code value of this filter item.

getDisplayValue

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

Returns:
display value of this filter item.

getToolTipValue

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

Returns:
tooltip value of this filter item.

getAdaptee

public abstract 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.

Returns:
Adapted Object.

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.

Returns:
whether facet is segmented

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.

Returns:
inline style of tile.

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.