net.rim.device.api.unifiedsearch
Class SearchFieldCriteriaList

java.lang.Object
  extended by net.rim.device.api.unifiedsearch.SearchFieldCriteriaList

public class SearchFieldCriteriaList
extends Object

A list of SearchFieldCriteria objects.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

Constructor Summary
Category: Signed SearchFieldCriteriaList()
          Initializes a new SearchFieldCriteriaList.
 
Method Summary
Category: Signed  void addCriteria(SearchFieldCriteria criteria)
          Adds new SearchFieldCriteria to the list.
Category: Signed  Enumeration getFieldCriteria()
          Returns a list of SearchFieldCriteria objects.
Category: Signed  Enumeration getFields()
          Returns a list of SearchField objects.
Category: Signed  void removeCriteria(SearchFieldCriteria criteria)
          Removes a SearchFieldCriteria instance from this SearchCriteriaList.
Category: Signed  int size()
          Returns number of SearchFieldCriteria objects indexed by this SearchFieldCriteriaList.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

SearchFieldCriteriaList

public SearchFieldCriteriaList()
Initializes a new SearchFieldCriteriaList.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0


Method Detail

addCriteria

public void addCriteria(SearchFieldCriteria criteria)
Adds new SearchFieldCriteria to the list.

Parameters:
criteria - The SearchFieldCriteria instance to add.
Throws:
IllegalArgumentException -

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

removeCriteria

public void removeCriteria(SearchFieldCriteria criteria)
Removes a SearchFieldCriteria instance from this SearchCriteriaList.

Parameters:
criteria - The SearchFieldCriteria to remove.
Throws:
NullPointerException - If the SearchFieldCriteria is null.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

getFields

public Enumeration getFields()
Returns a list of SearchField objects.

Returns:
An Enumeration of SearchField objects.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

getFieldCriteria

public Enumeration getFieldCriteria()
Returns a list of SearchFieldCriteria objects.

Returns:
An Enumeration of SearchFieldCriteria.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0

size

public int size()
Returns number of SearchFieldCriteria objects indexed by this SearchFieldCriteriaList.

Returns:
Number of SearchFieldCriteria instances indexed by this SearchFieldCriteriaList.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal