|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.search.SearchQuery
oracle.security.jps.service.policystore.search.BaseSearchQuery
public class BaseSearchQuery
A class to construct generic Search Queries to aid with retrieving information from a persistent store.
The search query comprises
Further, a search query can be AND-ed, OR-ed with other queries to build a specific search criteria. The query objects are not thread-safe and concurrent modifications to the query is not allowed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.security.jps.search.SearchQuery |
---|
SearchQuery.MATCHER |
Constructor Summary | |
---|---|
BaseSearchQuery(EntryReference.EntryType context) Constructs a BaseQuery. |
|
BaseSearchQuery(EntryReference.EntryType context, java.lang.String property, boolean negation, ComparatorType operator, java.lang.Object objectValue) Constructor for query |
|
BaseSearchQuery(EntryReference.EntryType context, java.lang.String property, boolean negation, ComparatorType operator, java.lang.Object objectValue, SearchQuery.MATCHER matcher) Constructor for query |
|
BaseSearchQuery(EntryReference.EntryType context, java.lang.String property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER matcher) Constructs a Base query. |
Method Summary | |
---|---|
BaseSearchQuery[] |
getBaseSearchQueryInOrder() Returns the array of queries |
ComparatorType |
getComparator() |
EntryReference.EntryType |
getEntityType() Returns the entry type |
java.util.ArrayList |
getQueries() Get the Queries. |
java.lang.String |
toString() |
Methods inherited from class oracle.security.jps.search.SearchQuery |
---|
addBaseQuery, getSearchByPropertyString, getSearchByValue, getSearchByValueObject, getSearchComparator, getSearchQueries, getSearchValueMatch, isANDMatch, isComplexQuery, isNegativeMatch, isORMatch |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseSearchQuery(EntryReference.EntryType context)
context
- The entity being searched for.public BaseSearchQuery(EntryReference.EntryType context, java.lang.String property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER matcher)
context
- The entity to search forproperty
- the property to search bynegation
- if true, then the NOT operator is applied.operator
- the operator to applyvalue
- the value to search for
If value is null, the match
must be ANY
If value is non-null, this value is matched against the values to search for. The match
algorithm is applied to values to sarch against.
matcher
- how the value should match-ed with the values to search against. If match is null, an EXACT match is assumed. value should be non-null.public BaseSearchQuery(EntryReference.EntryType context, java.lang.String property, boolean negation, ComparatorType operator, java.lang.Object objectValue)
context
- the entry typeproperty
- the property namenegation
- negation valueoperator
- operator valueobjectValue
- valuepublic BaseSearchQuery(EntryReference.EntryType context, java.lang.String property, boolean negation, ComparatorType operator, java.lang.Object objectValue, SearchQuery.MATCHER matcher)
context
- the entry typeproperty
- the property namenegation
- negation valueoperator
- operator valueobjectValue
- valuematcher
- the matcherMethod Detail |
---|
public java.util.ArrayList getQueries()
public BaseSearchQuery[] getBaseSearchQueryInOrder()
getBaseSearchQueryInOrder
in class SearchQuery
public final EntryReference.EntryType getEntityType()
public ComparatorType getComparator()
public java.lang.String toString()
toString
in class SearchQuery
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |