|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.ietf.ldap.LDAPConstraints | +--org.ietf.ldap.LDAPSearchConstraints
Defines the options controlling search operations.
Field Summary | |
static int |
DEREF_ALWAYS
Used to indicate that aliases are dereferenced when searching for the starting entry and when searching the entries beneath the starting point. |
static int |
DEREF_FINDING
Used to indicate that aliases are dereferenced when searching for the starting entry but are not dereferenced when searching the entries beneath the starting point. |
static int |
DEREF_NEVER
Used to indicate that aliases are never dereferenced. |
static int |
DEREF_SEARCHING
Used to indicate that aliases are are derefrenced when searching the entries beneath the starting point but not when searching for the starting entry. |
Constructor Summary | |
LDAPSearchConstraints()
Constructs an LDAPSearchConstraints object using the default values for the search constraints. |
|
LDAPSearchConstraints(int msLimit,
int serverTimeLimit,
int dereference,
int maxResults,
boolean doReferrals,
int batchSize,
LDAPReferralHandler binder,
int hop_limit)
Constructs a new LDAPSearchConstraints object and allows specifying the operational constraints in that object, including the LDAPBind object. |
|
LDAPSearchConstraints(LDAPConstraints cons)
Constructs an LDAPSearchConstraints object using the values from an existing Constraints object. |
Method Summary | |
int |
getBatchSize()
Returns how results are returned during a search. |
int |
getDereference()
Specifies when aliases should be dereferenced. |
int |
getMaxResults()
Returns the maximum number of search results to be returned; 0 means no limit. |
int |
getServerTimeLimit()
Reports the maximum number of seconds that the server is to wait when returning search results while using this constraint object. |
void |
setBatchSize(int batchSize)
Specifies how results are returned during a search operation. |
void |
setDereference(int dereference)
Sets a preference indicating whether or not aliases should be dereferenced, and if so, when. |
void |
setMaxResults(int maxResults)
Sets the maximum number of search results to be returned; 0 means no limit. |
void |
setServerTimeLimit(int seconds)
Sets the maximum number of seconds that the server is to wait when returning search results. |
Methods inherited from class org.ietf.ldap.LDAPConstraints |
clone, getControls, getHopLimit, getProperty, getReferralFollowing, getTimeLimit, setControls, setControls, setHopLimit, setProperty, setReferralFollowing, setReferralHandler, setTimeLimit |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEREF_NEVER
public static final int DEREF_SEARCHING
public static final int DEREF_FINDING
public static final int DEREF_ALWAYS
Constructor Detail |
public LDAPSearchConstraints()
public LDAPSearchConstraints(LDAPConstraints cons)
public LDAPSearchConstraints(int msLimit, int serverTimeLimit, int dereference, int maxResults, boolean doReferrals, int batchSize, LDAPReferralHandler binder, int hop_limit)
Method Detail |
public int getBatchSize()
public int getDereference()
public int getMaxResults()
public int getServerTimeLimit()
public void setBatchSize(int batchSize)
public void setDereference(int dereference)
public void setMaxResults(int maxResults)
public void setServerTimeLimit(int seconds)
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |