public enum LdapSearchScope extends Enum<LdapSearchScope>
Enum Constant and Description |
---|
OBJECT_SCOPE
search an object
|
ONELEVEL_SCOPE
search in the one level DN of the tree
|
SUBTREE_SCOPE
search in subtrees of the DN of the tree
|
Modifier and Type | Method and Description |
---|---|
abstract int |
getSeachControlsConstant() |
static LdapSearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LdapSearchScope |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static LdapSearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapSearchScope OBJECT_SCOPE
public static final LdapSearchScope ONELEVEL_SCOPE
public static final LdapSearchScope SUBTREE_SCOPE
public static LdapSearchScope[] values()
for (LdapSearchScope c : LdapSearchScope.values()) System.out.println(c);
public static LdapSearchScope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract int getSeachControlsConstant()
public static LdapSearchScope valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.