Skip navigation links

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

E14658-01


oracle.security.idm
Interface SimpleSearchFilter

All Superinterfaces:
SearchFilter

public interface SimpleSearchFilter
extends SearchFilter

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");
  
Since:
10.1.3
See Also:
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

TYPE_EQUAL

static final int TYPE_EQUAL
See Also:
Constant Field Values

TYPE_NOTEQUAL

static final int TYPE_NOTEQUAL
See Also:
Constant Field Values

TYPE_GREATEREQUAL

static final int TYPE_GREATEREQUAL
See Also:
Constant Field Values

TYPE_GREATER

static final int TYPE_GREATER
See Also:
Constant Field Values

TYPE_LESSEQUAL

static final int TYPE_LESSEQUAL
See Also:
Constant Field Values

TYPE_LESS

static final int TYPE_LESS
See Also:
Constant Field Values

Method Detail

setAttribute

void setAttribute(java.lang.String name)
Set attribute name. Filter format will be: "ATTRNAME FILTERTYPE VALUE"

setType

void setType(int type)
Set filter type.

setValue

void setValue(java.lang.Object value)
Set attribute value.

getAttributeName

java.lang.String getAttributeName()

getValue

java.lang.Object getValue()

getType

int getType()

getWildCardChar

java.lang.String getWildCardChar()
Get wild card character to be used in attribute value matching.

Skip navigation links

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

E14658-01


Copyright © 2005, 2009, Oracle. All rights reserved.