Skip navigation links

Oracle Fusion Middleware Oracle Platform Security Services API Reference
11g Release 1 (11.1.1)

E14650-01


oracle.security.jps.service.policystore.search
Class ResourceSearchQuery

java.lang.Object
  extended by oracle.security.jps.service.policystore.search.BaseSearchQuery
      extended by 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.


Nested Class Summary
static class ResourceSearchQuery.SEARCH_PROPERTY
          Criterias to search a Resource By

 

Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.search.BaseSearchQuery
BaseSearchQuery.MATCHER

 

Field Summary

 

Fields inherited from class oracle.security.jps.service.policystore.search.BaseSearchQuery
queries

 

Constructor Summary
ResourceSearchQuery()
          No arg constructor

 

Method Summary
 void addQuery(ResourceSearchQuery.SEARCH_PROPERTY property, boolean negation, ComparatorType operator, java.lang.String value, BaseSearchQuery.MATCHER match)
          Add a ResourceSearchQuery to this ResourceSearchQuery.
 void addQuery(ResourceSearchQuery query)
          Add a preconfigured ResourceSearchQuery
 ResourceSearchQuery.SEARCH_PROPERTY getSearchByProperty()
          Get the search property to use in the search.
 ResourceSearchQuery[] getSearchQueryInOrder()
          Get all added queries in the order they were added.

 

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

 

Constructor Detail

ResourceSearchQuery

public ResourceSearchQuery()
No arg constructor

Method Detail

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

Oracle Fusion Middleware Oracle Platform Security Services API Reference
11g Release 1 (11.1.1)

E14650-01


Copyright © 2009, Oracle. All rights reserved.