Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


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

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


public class SecurityModuleSearchQuery
extends BaseSearchQuery

A Class to build search criterias to an OES SM Configurations.

Following code snippet illustrates how to build a search criteria to search by the Security Module Configuration Id.

           ConfigurationSearchQuery configSearchQuery = 
               new ConfigurationSearchQuery(
                       ConfigurationSearchQuery.SEARCH_PROPERTY.NAME,
                       false,
                       ComparatorType.EQUALITY,
                       "Micro SM", // unique configuration id for SM
                       BaseSearchQuery.MATCHER.EXACT);

           List <SMEntry> smEntries = 
                      configManager.getSecurityModules(configSearchQuery); * 

Nested Class Summary
static class SecurityModuleSearchQuery.SEARCH_PROPERTY
          Properties to search a Configuration by.

 

Nested classes/interfaces inherited from class oracle.security.jps.search.SearchQuery
SearchQuery.MATCHER

 

Constructor Summary
SecurityModuleSearchQuery(java.util.List<SecurityModuleSearchQuery> queries, boolean negation, boolean isORMatch)
          Constructor
SecurityModuleSearchQuery(SecurityModuleSearchQuery.SEARCH_PROPERTY property, boolean negation, ComparatorType operator, java.lang.String value, SearchQuery.MATCHER match)
          Constructor

 

Method Summary
 SecurityModuleSearchQuery[] getSearchQueryInOrder()
          Get all added queries in the order they were added.

 

Methods inherited from class oracle.security.jps.service.policystore.search.BaseSearchQuery
getComparator, getQueries, toString

 

Methods inherited from class oracle.security.jps.search.SearchQuery
addBaseQuery, getBaseSearchQueryInOrder, getPreparedQueryId, getSearchByPropertyString, getSearchByValue, getSearchByValueObject, getSearchComparator, getSearchQueries, getSearchValueMatch, hasPageInfo, isANDMatch, isComplexQuery, isNegativeMatch, isORMatch, setPreparedQueryId

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

SecurityModuleSearchQuery

public SecurityModuleSearchQuery(SecurityModuleSearchQuery.SEARCH_PROPERTY property,
                                 boolean negation,
                                 ComparatorType operator,
                                 java.lang.String value,
                                 SearchQuery.MATCHER match)
Constructor
Parameters:
property - the property to search by, See SecurityModuleSearchQuery.SEARCH_PROPERTY for list of valid values
negation - if true, then the NOT operator is applied
operator - the operator to apply
valueObject - 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.

match - 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.

SecurityModuleSearchQuery

public SecurityModuleSearchQuery(java.util.List<SecurityModuleSearchQuery> queries,
                                 boolean negation,
                                 boolean isORMatch)
Constructor
Parameters:
queries - child queries of this query
negation - if true, then the NOT operator is applied.
isORMatch - if true the syntax among the child queries is 'OR', if false, the syntax among child queries is 'AND'

Method Detail

getSearchQueryInOrder

public SecurityModuleSearchQuery[] getSearchQueryInOrder()
Get all added queries in the order they were added.
Returns:
Array of ConfigurationSearchQuery objects

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.