|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-01 ESAPI |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.jps.search.SearchQuery
oracle.security.jps.service.policystore.search.BaseSearchQuery
oracle.security.jps.service.policystore.search.SecurityModuleSearchQuery
public class SecurityModuleSearchQuery
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_PROPERTYProperties 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, 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 |
| Constructor Detail |
|---|
public SecurityModuleSearchQuery(SecurityModuleSearchQuery.SEARCH_PROPERTY property,
boolean negation,
ComparatorType operator,
java.lang.String value,
SearchQuery.MATCHER match)
property - the property to search by, See SecurityModuleSearchQuery.SEARCH_PROPERTY for list of valid valuesnegation - if true, then the NOT operator is appliedoperator - the operator to applyvalueObject - 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.
public SecurityModuleSearchQuery(java.util.List<SecurityModuleSearchQuery> queries,
boolean negation,
boolean isORMatch)
queries - child queries of this querynegation - 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 |
|---|
public SecurityModuleSearchQuery[] getSearchQueryInOrder()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-01 ESAPI |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||