|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.globalSearch.ui.SearchFilterItems
public class SearchFilterItems
A container of SearchFilterItems.
SearchFilterItem
,
CategorySearchFilterItem
,
KeywordSearchFilterItem
,
FacetItemSearchFilterItem
,
Serialized FormConstructor Summary | |
---|---|
SearchFilterItems()
Create an empty List of Items. |
|
SearchFilterItems(SearchFilterItems copy)
Copy Constructor. |
|
SearchFilterItems(SearchFilterItems copy,
SearchFilterItem.FilterType filterType)
Partial Copy Constructor. |
|
SearchFilterItems(SearchFilterItems copy,
SearchFilterItem.FilterType[] filterTypes)
Partial Copy Constructor. |
Method Summary | |
---|---|
boolean |
add(SearchFilterItem item)
Add the given item to the end of the collection. |
void |
add(SearchFilterItem item,
int position)
Add the given item at the relvant position in the collection. |
boolean |
addAll(java.util.List<SearchFilterItem> items)
Appends all of the elements in the specified collection to the end of this list, in the order they exist in items. |
boolean |
addAll(SearchFilterItems items)
Appends all of the elements in the specified collection to the end of this list, in the order they exist in items. |
boolean |
contains(SearchFilterItem.FilterType filterType,
java.lang.String value)
Returns true if the collection of items contains a SearchFilterItem with the value specified of type filterType. |
boolean |
contains(SearchFilterItem value)
Returns true if the collection of items contains the value specified. |
boolean |
equals(java.lang.Object obj)
|
int |
firstIndexOf(SearchFilterItem.FilterType filterType)
Find the first index (if any) of the filter type in the collection. |
SearchFilterItem |
get(int index)
Returns the element at the specified position in this list. |
SearchFilterItem |
getItemOfType(SearchFilterItem.FilterType filterType)
Get the first item of the passed type. |
java.util.List<SearchFilterItem> |
getItems()
Get the internal List - for EL iterator access. |
boolean |
hasFilterType(SearchFilterItem.FilterType filterType)
Is there an item with this filterType in the collection? |
int |
hashCode()
|
boolean |
hasNonApplicationFilters()
Is there a non application filter in the collection? |
int |
indexOf(SearchFilterItem value)
Returns true if this list contains the specified element. |
boolean |
remove(SearchFilterItem item)
Removes the first occurrence in this list of the specified element. |
boolean |
removeAll(SearchFilterItem.FilterType filterType)
Remove All items of the passed type. |
int |
size()
Returns the number of elements in this list. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchFilterItems()
public SearchFilterItems(SearchFilterItems copy)
copy
- Collection to copy.public SearchFilterItems(SearchFilterItems copy, SearchFilterItem.FilterType filterType)
copy
- Collection to copy.filterType
- filterType of items to copy.public SearchFilterItems(SearchFilterItems copy, SearchFilterItem.FilterType[] filterTypes)
copy
- Collection to copy.filterTypes
- filterTypes of items to copy.Method Detail |
---|
public boolean add(SearchFilterItem item)
item
- item to add.
public void add(SearchFilterItem item, int position)
item
- item to add.position
- 0 based index at which the specified element is to be
inserted.public boolean addAll(java.util.List<SearchFilterItem> items)
items
- collection whose elements are to be added to this list.
public boolean addAll(SearchFilterItems items)
items
- collection whose elements are to be added to this list.
public SearchFilterItem get(int index)
index
- index of element to return.
public boolean remove(SearchFilterItem item)
item
- element to be removed from this list, if present.
public boolean removeAll(SearchFilterItem.FilterType filterType)
filterType
- type to check.
public int size()
public boolean contains(SearchFilterItem value)
value
- element whose presence in the items is to be tested
public int indexOf(SearchFilterItem value)
value
- element whose presence in this list is to be tested.
public java.util.List<SearchFilterItem> getItems()
public boolean hasFilterType(SearchFilterItem.FilterType filterType)
filterType
- type to check.
public boolean hasNonApplicationFilters()
public int firstIndexOf(SearchFilterItem.FilterType filterType)
filterType
- type to check.
public SearchFilterItem getItemOfType(SearchFilterItem.FilterType filterType)
filterType
- type to check.
public boolean contains(SearchFilterItem.FilterType filterType, java.lang.String value)
filterType
- the type of filter item requiredvalue
- the value of the item to test
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |