|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.information.metadata.KeywordFilter
public class KeywordFilter
This class extends the Filter class by adding the ability to search by keyword.
| Field Summary | |
|---|---|
protected java.util.ArrayList |
_keywords
The list of keywords to search for. |
| Fields inherited from class com.sas.services.information.Filter |
|---|
_component |
| Fields inherited from interface com.sas.services.information.FilterInterface |
|---|
BASE_SCOPE, FILTERCOMPONENT_UNSUPPORTED, FLAG_OVERRIDE, ONELEVEL_SCOPE, PROTOCOL_DAV, PROTOCOL_HIBERNATE, PROTOCOL_IPOD, PROTOCOL_LDAP, PROTOCOL_OMI, SUBTREE_SCOPE |
| Constructor Summary | |
|---|---|
KeywordFilter()
Default constructor |
|
KeywordFilter(java.lang.String key,
int relation,
java.lang.String value)
Construct a new filter with a provided condition. |
|
| Method Summary | |
|---|---|
void |
addKeyword(java.lang.String keyword)
Add a keyword to the list to look for. |
protected java.lang.String |
getKeywordSelectString()
Get the XMLSelect string with just the keywords part. |
java.lang.String |
getXMLSelectString()
Get the whole XMLSelect string for this filter. |
void |
removeKeyword(java.lang.String keyword)
Remove a keyword from the list to look for. |
| Field Detail |
|---|
protected java.util.ArrayList _keywords
| Constructor Detail |
|---|
public KeywordFilter()
public KeywordFilter(java.lang.String key,
int relation,
java.lang.String value)
key - The key to compare.relation - The relationship between the key and value
(usually FilterComponent.EQUALS).value - The value for comparison.| Method Detail |
|---|
public void addKeyword(java.lang.String keyword)
keyword - the keyword to add to the list.public void removeKeyword(java.lang.String keyword)
keyword - The keyword to remove from the list.protected java.lang.String getKeywordSelectString()
public java.lang.String getXMLSelectString()
getXMLSelectString in interface FilterInterfacegetXMLSelectString in class Filter
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||