|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.unifiedsearch.SearchFieldCriteria
public class SearchFieldCriteria
Maps search keywords to specific search fields. Use this to describe the data
in a SearchableEntity
when you register your data in the Unified Search Framework.
Constructor Summary | ||
---|---|---|
|
SearchFieldCriteria(SearchField field,
String[] phrases)
Maximum allowed phrases that RIM apps can associate. |
Method Summary | ||
---|---|---|
|
SearchField |
getField()
Returns the SearchField instance associated with this object. |
|
String[] |
getPhrases()
Returns the search phrases. |
|
String |
toString()
Returns a String containing the search criteria. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchFieldCriteria(SearchField field, String[] phrases)
SearchFieldCriteria
. Note that the Unified Search
Framework trims leading and trailing white space in phrases.
field
- The SearchField
instance associated with this object.phrases
- An array of String objects conataining search phrases.
Note that the framework trims leading and trailing white space in phrases. The framework combines keywords within a phrase using a logical AND operation. Search results for phrases are combined using a logical OR operation.
IllegalArgumentException
- null
.
null
.
null
.
Method Detail |
---|
public SearchField getField()
SearchField
instance associated with this object.
SearchField
.public String[] getPhrases()
public String toString()
String
containing the search criteria.
toString
in class Object
String
containing the search criteria.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.