Skip navigation links
oracle.security.jps.service.policystore.search
Class ResourceSearchQuery
java.lang.Object
oracle.security.jps.service.policystore.search.BaseSearchQuery
oracle.security.jps.service.policystore.search.ResourceSearchQuery
-
public class ResourceSearchQuery
- 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.service.policystore.search.BaseSearchQuery |
addBaseQuery, getBaseSearchQueryInOrder, getComparator, getEntityType, getQueries, getSearchByPropertyString, getSearchByValue, getSearchByValueObject, getSearchValueMatch, isANDMatch, isNegativeMatch, isORMatch, setANDMatch, setORMatch |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceSearchQuery
public ResourceSearchQuery()
- No arg constructor
addQuery
public void addQuery(ResourceSearchQuery.SEARCH_PROPERTY property,
boolean negation,
ComparatorType operator,
java.lang.String value,
BaseSearchQuery.MATCHER match)
- Add a ResourceSearchQuery to this ResourceSearchQuery. This is the only way to add query requirments to a ResourceSearchQuery object
-
- Parameters:
property
- -- search property
negation
- - negate the search?
operator
- -- Type of comparison
value
- -- value to search for
match
- -- matching to be performed.
addQuery
public void addQuery(ResourceSearchQuery query)
- Add a preconfigured ResourceSearchQuery
-
- Parameters:
query
- -- query to be added.
getSearchByProperty
public ResourceSearchQuery.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 ResourceSearchQuery[] getSearchQueryInOrder()
- Get all added queries in the order they were added.
-
- Returns:
- Array of ResourceSearchQuery objects
Skip navigation links
Copyright © 2009, Oracle. All rights reserved.