Skip navigation links
oracle.security.jps.service.policystore.search
Class RoleCategorySearchQuery
java.lang.Object
oracle.security.jps.search.SearchQuery
oracle.security.jps.service.policystore.search.BaseSearchQuery
oracle.security.jps.service.policystore.search.RoleCategorySearchQuery
-
public class RoleCategorySearchQuery
- extends BaseSearchQuery
A SearchQuery instance is not synchronized against concurrent multithreaded access. Multiple threads should not try to modify the SearchQuery as it is not thread-safe and not going to be a thread-safe object in future.
Methods inherited from class oracle.security.jps.search.SearchQuery |
addBaseQuery, getBaseSearchQueryInOrder, 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 |
RoleCategorySearchQuery
public RoleCategorySearchQuery(java.util.List<RoleCategorySearchQuery> childQueries,
boolean negation,
boolean isORMatch)
- Constructor for complex queries.
- Parameters:
childQueries
- list of child queries
negation
- if true, the negation operator will be applied on all the result of the children queries
isORMatch
- if true, the OR operator will be applied on the result of the children queries.
RoleCategorySearchQuery
public RoleCategorySearchQuery(RoleCategorySearchQuery.SEARCH_PROPERTY property,
boolean negation,
ComparatorType operator,
java.lang.String value,
SearchQuery.MATCHER matcher)
- Construct a simple query.
- Parameters:
property
- search property. See RoleCategorySearchQuery.SEARCH_PROPERTY
for list of valid values.
negation
- true if the negation operator should be applied on the query.
operator
- the comparator to use while constructing the query.
value
- to search by.
matcher
- to apply on the value while searching.
getSearchByProperty
public RoleCategorySearchQuery.SEARCH_PROPERTY getSearchByProperty()
- Get the search property to use in the search.
-
- Returns:
- SEARCH_PROPERTY ojbect if this query does not have any other queries added otherwise null.
getSearchQueryInOrder
public RoleCategorySearchQuery[] getSearchQueryInOrder()
- Get all added queries in the order they were added.
-
- Returns:
- Array of RoleCategorySearchQuery objects
Skip navigation links
Copyright © 2011, Oracle. All rights reserved.