|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-01 ESAPI |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.search.SearchQuery
public class SearchQuery
Nested Class Summary | |
---|---|
static class |
SearchQuery.MATCHER Rules to match two Strings. |
Constructor Summary | |
---|---|
SearchQuery() |
|
SearchQuery(java.util.List<SearchQuery> childQueries, boolean negation, boolean isORMatch) Constructor for a complex query, which consists of some children queries. |
|
SearchQuery(java.lang.String property, boolean negation, SearchComparatorType comparator, java.lang.Object objectValue, SearchQuery.MATCHER matcher) Construct the query object |
Method Summary | ||
---|---|---|
void |
addBaseQuery(SearchQuery query) |
|
SearchQuery[] |
getBaseSearchQueryInOrder() |
|
java.lang.String |
getSearchByPropertyString() |
|
java.lang.String |
getSearchByValue() Get the Search by Value. |
|
|
getSearchByValueObject(java.lang.Class<T> klass) Get the search by value as |
|
SearchComparatorType |
getSearchComparator() Returns the search comparator |
|
java.util.ArrayList<SearchQuery> |
getSearchQueries() Get the Queries. |
|
SearchQuery.MATCHER |
getSearchValueMatch() |
|
boolean |
isANDMatch() |
|
boolean |
isComplexQuery() Complex means this query contains some children queries, the query result will be intersection or union of children queries' results See SearchQuery.isANDMatch() and SearchQuery.isORMatch() and SearchQuery.isNegativeMatch() A Complex query may be like: NOT (queryA OR (queryB AND queryC)) Simple query means this query has no children queries, but a simple property assertion. |
|
boolean |
isNegativeMatch() |
|
boolean |
isORMatch() |
|
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SearchQuery()
public SearchQuery(java.util.List<SearchQuery> childQueries, boolean negation, boolean isORMatch)
childQueries
- children queries of this querynegation
- if true, then the NOT operator is applied.isORMatch
- if true the syntax among the child queries is 'OR', if false, the syntax among child queries is 'AND'public SearchQuery(java.lang.String property, boolean negation, SearchComparatorType comparator, java.lang.Object objectValue, SearchQuery.MATCHER matcher)
property
- name of the propertynegation
- negation valuecomparator
- comparatorobjectValue
- the valuematcher
- matcher valueMethod Detail |
---|
public SearchComparatorType getSearchComparator()
public java.util.ArrayList<SearchQuery> getSearchQueries()
public void addBaseQuery(SearchQuery query)
public SearchQuery[] getBaseSearchQueryInOrder()
public java.lang.String getSearchByPropertyString()
public java.lang.String getSearchByValue()
public <T> T getSearchByValueObject(java.lang.Class<T> klass)
klass
- the object classpublic boolean isComplexQuery()
SearchQuery.isANDMatch()
and SearchQuery.isORMatch()
and SearchQuery.isNegativeMatch()
A Complex query may be like: NOT (queryA OR (queryB AND queryC)) Simple query means this query has no children queries, but a simple property assertion. A simple query may be like: NOT (description contains 'weather')public boolean isORMatch()
public boolean isANDMatch()
public boolean isNegativeMatch()
public SearchQuery.MATCHER getSearchValueMatch()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-01 ESAPI |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |