| java.lang.Object com.sun.addressbook.ABSearchTerm com.sun.ssoadapter.ab.pim.JPimABSearchTerm
JPimABSearchTerm | public class JPimABSearchTerm extends ABSearchTerm implements JPimABConstants(Code) | | Address Book SearchTerm does the recursive computation of the search
filter from a combination of search terms. It implements the compute
command of the ABSearchTerm.
The search terms can be nested in a tree structure and combined with
an 'and' or an 'or' e.g. "ln=doe & (fn=john | fn=joe)"
|
JPimABSearchTerm | public JPimABSearchTerm(String name, String value, boolean exact)(Code) | | Initializes the search term object. This constructor indicates this
search term is an end node and does not contain recursive search terms.
Parameters: name - Name of the attribute to search on. Parameters: value - Value of the attribute to search. Parameters: exact - Boolean indicating whether search is 'exact'(true) or'contains'(false). |
JPimABSearchTerm | public JPimABSearchTerm(ABSearchTerm term, int op) throws ABStoreException(Code) | | Initializes the search term object. This constructor is used for the
unary operator NOT on the ABSearchTerm. Usage of this constructor
means that ABSearchTerm is recursive and is not the end node, and
it will contain terms, op and not name, value.
Parameters: The - recursive ABSearchTerm. Parameters: Operator - binding the recursive searchTerms. The value can only be NOT. |
JPimABSearchTerm | public JPimABSearchTerm(ABSearchTerm[] terms, int op) throws ABStoreException(Code) | | Initializes the search term object. This constructor is used for the
binary operators like AND and OR on the ABSearchTerms array. Usage of
this constructor means that ABSearchTerm is recursive and is not the
end node, and it will contain terms, op and not name, value.
Parameters: The - recursive ABSearchTerm array. Parameters: Operator - binding the recursive searchTerms. The values can be AND or OR. |
compute | public Object compute() throws ABStoreException(Code) | | computes the search filter by looking at all the searchTerms
The computed search Filter object. |
setAddressEntryItemFilter | public void setAddressEntryItemFilter(PimAddressEntryItemFilter filter)(Code) | | |
|
|