|
Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14658-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComplexSearchFilter
A complex search filter represents a complex logical expression that can be used to filter results from underlying identity repository. Complex search filter combines multiple SearchFilter instances together with a single logical operator(AND/OR). Each of these component SearchFilter can itself be a complex filter thus resulting in capability to form really complex nested search filter. A complex search filter can be created as follows:
// A complex search filter with following logical expression // (name == "john") OR (userid == "jdoe") IdentityStore store = ....... SimpleSearchFilter filters[] = new SimpleSearchFilter[2]; filters[0] = store.getSimpleSearchFilter(UserProfile.NAME, SimpleSearchFilter.TYPE_EQUAL, "john"); filters[1] = store.getSimpleSearchFilter(UserProfile.USER_ID, SimpleSearchFilter.TYPE_EQUAL, "jdoe"); ComplexSearchFilter cf = store.getComplexSearchFilter(filters, ComplexSearchFilter.TYPE_OR);
IdentityStore.getComplexSearchFilter(SearchFilter[], int)
, SimpleSearchFilter
Field Summary | |
---|---|
static int |
TYPE_AND Boolean AND operator to specify complex filter type |
static int |
TYPE_OR Boolean OR operator to specify complex filter type |
Method Summary | |
---|---|
void |
addFilterComponent(SearchFilter filter) Add the SearchFilter component to this Complex filter's list |
int |
getOperatorType() Logical operator type which binds the SearchFilter components together |
Methods inherited from interface oracle.security.idm.SearchFilter |
---|
getNativeRepresentation, isNegated, negate, setNegate |
Field Detail |
---|
static final int TYPE_AND
static final int TYPE_OR
Method Detail |
---|
void addFilterComponent(SearchFilter filter)
int getOperatorType()
|
Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14658-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |