Skip navigation links

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

E14650-06


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

java.lang.Object
  extended by oracle.security.jps.search.SearchQuery
      extended by oracle.security.jps.service.policystore.search.BaseSearchQuery

Direct Known Subclasses:
ChangeLogSearchQuery, GrantSearchQuery, PermissionSetSearchQuery, ResourceSearchQuery, ResourceTypeSearchQuery, RoleCategorySearchQuery, StoreAppRoleSearchQuery

public class BaseSearchQuery
extends SearchQuery

A class represents generic Search Queries to aid with retrieving information from a persistent store.

The search query comprises

  1. EntryContext - of an entity to to search for
  2. property - the property to search by
  3. apply Negative operator - specificies if the property match should be negated.
  4. searchValue - the value of the property to match
  5. a match algorithm - dictates how the searchValue should match the searchValue in the persisted entity.

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

 

Method Summary
 BaseSearchQuery[] getBaseSearchQueryInOrder()
          Get the base search queries in order.
 ComparatorType getComparator()
           
 EntryReference.EntryType getEntityType()
           
 java.util.ArrayList<BaseSearchQuery> 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

 

Method Detail

getQueries

public java.util.ArrayList<BaseSearchQuery> getQueries()
Get the Queries.
Returns:
list of queries.

getBaseSearchQueryInOrder

public BaseSearchQuery[] getBaseSearchQueryInOrder()
Get the base search queries in order.
Overrides:
getBaseSearchQueryInOrder in class SearchQuery
Returns:
array of base search queries

getEntityType

public final EntryReference.EntryType getEntityType()
Returns:
the entity to search for

getComparator

public ComparatorType getComparator()

toString

public java.lang.String toString()
Overrides:
toString in class SearchQuery

Skip navigation links

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

E14650-06


Copyright © 2013 Oracle. All rights reserved.