|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sas.edir.EnterpriseDirectorySearchConstraint
Field Summary | |
static int |
SCOPE_BASE
Scope which applies only to base DN. |
static int |
SCOPE_ONELEVEL
Scope which limits search to one level below base. |
static int |
SCOPE_SUBTREE
Scope which searches an entire subtree below the base DN. |
Constructor Summary | |
EnterpriseDirectorySearchConstraint()
|
|
EnterpriseDirectorySearchConstraint(int sizeLimit,
int timeLimit,
int scope,
java.lang.String[] attributes,
boolean refFlag)
|
Method Summary | |
boolean |
getReferralFlag()
Get the referral chase flag. |
java.lang.String[] |
getReturnedAttributes()
Get the attributes to return in the results. |
int |
getSearchScope()
Get the scope of the search |
int |
getSizeLimit()
Get the sizelimit. |
int |
getTimeLimit()
Get the timelimit. |
void |
setReferralFlag(boolean refFlag)
Set whether to chase referrals |
void |
setReturnedAttributes(java.lang.String[] retAttrs)
Set the attributes to return in the results. |
void |
setSearchScope(int scope)
Set the scope of the search |
void |
setSizeLimit(int sizeLimit)
Set the number of results to allow |
void |
setTimeLimit(int timeLimit)
Set the time limit in milliseconds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SCOPE_BASE
public static final int SCOPE_ONELEVEL
public static final int SCOPE_SUBTREE
Constructor Detail |
public EnterpriseDirectorySearchConstraint(int sizeLimit, int timeLimit, int scope, java.lang.String[] attributes, boolean refFlag)
public EnterpriseDirectorySearchConstraint()
Method Detail |
public void setSizeLimit(int sizeLimit)
sizeLimit
- Size limitpublic int getSizeLimit()
public void setTimeLimit(int timeLimit)
timeLimit
- The time to wait for a response in milliseconds.public int getTimeLimit()
public void setReturnedAttributes(java.lang.String[] retAttrs)
retAttrs
- An array of strings containing the attribute names to return.public java.lang.String[] getReturnedAttributes()
public void setSearchScope(int scope)
scope
- The scope of the search to perform.public int getSearchScope()
public void setReferralFlag(boolean refFlag)
refFlag
- True to chase referrals.public boolean getReferralFlag()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |