|
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 SimpleSearchFilter
This interface represents a simple search filter to be used while searching the identity respository. Each simple search filter is a logical expression consisting of a search attribute/property, evaluation operator and value. This logical expression will be applied to underlying identity repository while searching and matching results will be filtered out. A simple search filter can be created as follows:
// A simple search filter with following logical expression // (name == "john") IdentityStore store = .......; SimpleSearchFilter filter = store.getSimpleSearchFilter(UserProfile.NAME, SimpleSearchFilter.TYPE_EQUAL, "john");
IdentityStore.getSimpleSearchFilter(String, int, Object)
Field Summary | |
---|---|
static int |
TYPE_EQUAL |
static int |
TYPE_GREATER |
static int |
TYPE_GREATEREQUAL |
static int |
TYPE_LESS |
static int |
TYPE_LESSEQUAL |
static int |
TYPE_NOTEQUAL |
Method Summary | |
---|---|
java.lang.String |
getAttributeName() |
int |
getType() |
java.lang.Object |
getValue() |
java.lang.String |
getWildCardChar() Get wild card character to be used in attribute value matching. |
void |
setAttribute(java.lang.String name) Set attribute name. |
void |
setType(int type) Set filter type. |
void |
setValue(java.lang.Object value) Set attribute value. |
Methods inherited from interface oracle.security.idm.SearchFilter |
---|
getNativeRepresentation, isNegated, negate, setNegate |
Field Detail |
---|
static final int TYPE_EQUAL
static final int TYPE_NOTEQUAL
static final int TYPE_GREATEREQUAL
static final int TYPE_GREATER
static final int TYPE_LESSEQUAL
static final int TYPE_LESS
Method Detail |
---|
void setAttribute(java.lang.String name)
void setType(int type)
void setValue(java.lang.Object value)
java.lang.String getAttributeName()
java.lang.Object getValue()
int getType()
java.lang.String getWildCardChar()
|
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 |