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 DateRangeFilterItem

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

public class DateRangeFilterItem
extends SearchFilterItem
implements java.io.Serializable

A SearchFilterItem for a Date Range.

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
DateRangeFilterItem(DateRangeTreeItem filter)
          Construct this filter item from the selection of an item in the tree.
 
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, in this case a string representing the custom range, if this is of type custom.
 java.lang.String getFromValueAsString()
          Get the dateFrom value as a string in the format MM/dd/yyyy.
 java.lang.String getToolTipValue()
          Get the value of this filter item shown in a tooltip.
 java.lang.String getToValueAsString()
          Get the dateTo value as a string in the format MM/dd/yyyy.
 java.lang.String getValue()
          Get the code value of this filter item.
 int hashCode()
          
 
Methods inherited from class oracle.apps.fnd.applcore.globalSearch.ui.filters.SearchFilterItem
getFilterType, isApplied, isDeletable, isSegmented, setApplied
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateRangeFilterItem

public DateRangeFilterItem(DateRangeTreeItem filter)
Construct this filter item from the selection of an item in the tree.

Parameters:
filter - selected tree item.
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, in this case a string representing the custom range, if this is of type custom.

Specified by:
getDisplayValue in class SearchFilterItem
Returns:
display value.

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.

getFromValueAsString

public java.lang.String getFromValueAsString()
Get the dateFrom value as a string in the format MM/dd/yyyy.

Returns:
dateFrom as String, null if dateFrom is null.

getToValueAsString

public java.lang.String getToValueAsString()
Get the dateTo value as a string in the format MM/dd/yyyy.

Returns:
dateTo as String, null if dateTo is null.

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 - tag.

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.