javax.naming.directory
18 classes of the module java.naming.
Load them with:
using {
"javax.naming.directory"
}
AttributeInUseException#
class · extends NamingException · javax.naming.directory.AttributeInUseException
Constructors
new AttributeInUseException() |
new AttributeInUseException(String explanation) |
Ring: new AttributeInUseException(args) uses the constructor with the fewest parameters (at least one); new AttributeInUseException makes the object with the constructor without parameters; the others: (new AttributeInUseException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
AttributeModificationException#
class · extends NamingException · javax.naming.directory.AttributeModificationException
Constructors
new AttributeModificationException() |
new AttributeModificationException(String explanation) |
Ring: new AttributeModificationException(args) uses the constructor with the fewest parameters (at least one); new AttributeModificationException makes the object with the constructor without parameters; the others: (new AttributeModificationException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getUnexecutedModifications | getUnexecutedModifications() | ModificationItem[] getUnexecutedModifications() |
setUnexecutedModifications | setUnexecutedModifications(e) | void setUnexecutedModifications(ModificationItem[] e) |
The methods and fields of NamingException are inherited.
BasicAttribute#
class · extends Object · javax.naming.directory.BasicAttribute
Implements: DirectoryAttribute
Constructors
new BasicAttribute(String id) |
new BasicAttribute(String id, Object value) |
new BasicAttribute(String id, boolean ordered) |
new BasicAttribute(String id, Object value, boolean ordered) |
Ring: new BasicAttribute(args) uses the constructor with the fewest parameters (at least one); new BasicAttribute makes the object with the constructor without parameters; the others: (new BasicAttribute).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@@get | @@get(ix) | Object get(int ix) |
@get | @get() | Object get() |
add | add(attrVal)add([ix,attrVal])add([ :ix = v, :attrVal = v ]) | boolean add(Object attrVal)void add(int ix, Object attrVal) |
clear | clear() | void clear() |
clone | clone() | Object clone() |
contains | contains(attrVal) | boolean contains(Object attrVal) |
getAll | getAll() | NamingEnumeration getAll() |
getAttributeDefinition | getAttributeDefinition() | DirContext getAttributeDefinition() |
getAttributeSyntaxDefinition | getAttributeSyntaxDefinition() | DirContext getAttributeSyntaxDefinition() |
getID | getID() | String getID() |
isOrdered | isOrdered() | boolean isOrdered() |
remove | remove(attrval) | boolean remove(Object attrval)Object remove(int ix) |
set | set(ix,attrVal) | Object set(int ix, Object attrVal) |
size | size() | int size() |
The methods and fields of Object are inherited.
BasicAttributes#
class · extends Object · javax.naming.directory.BasicAttributes
Implements: DirectoryAttributes
Constructors
new BasicAttributes() |
new BasicAttributes(boolean ignoreCase) |
new BasicAttributes(String attrID, Object val) |
new BasicAttributes(String attrID, Object val, boolean ignoreCase) |
Ring: new BasicAttributes(args) uses the constructor with the fewest parameters (at least one); new BasicAttributes makes the object with the constructor without parameters; the others: (new BasicAttributes).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(attrID) | Attribute get(String attrID) |
@put | @put(attr)@put([attrID,val])@put([ :attrID = v, :val = v ]) | Attribute put(Attribute attr)Attribute put(String attrID, Object val) |
clone | clone() | Object clone() |
getAll | getAll() | NamingEnumeration getAll() |
getIDs | getIDs() | NamingEnumeration getIDs() |
isCaseIgnored | isCaseIgnored() | boolean isCaseIgnored() |
remove | remove(attrID) | Attribute remove(String attrID) |
size | size() | int size() |
The methods and fields of Object are inherited.
DirContext#
interface · javax.naming.directory.DirContext
Extends: Context
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ADD_ATTRIBUTE | int | constant · static | o.ADD_ATTRIBUTE |
REPLACE_ATTRIBUTE | int | constant · static | o.REPLACE_ATTRIBUTE |
REMOVE_ATTRIBUTE | int | constant · static | o.REMOVE_ATTRIBUTE |
INITIAL_CONTEXT_FACTORY | String | constant · static | o.INITIAL_CONTEXT_FACTORY |
OBJECT_FACTORIES | String | constant · static | o.OBJECT_FACTORIES |
STATE_FACTORIES | String | constant · static | o.STATE_FACTORIES |
URL_PKG_PREFIXES | String | constant · static | o.URL_PKG_PREFIXES |
PROVIDER_URL | String | constant · static | o.PROVIDER_URL |
DNS_URL | String | constant · static | o.DNS_URL |
AUTHORITATIVE | String | constant · static | o.AUTHORITATIVE |
BATCHSIZE | String | constant · static | o.BATCHSIZE |
REFERRAL | String | constant · static | o.REFERRAL |
SECURITY_PROTOCOL | String | constant · static | o.SECURITY_PROTOCOL |
SECURITY_AUTHENTICATION | String | constant · static | o.SECURITY_AUTHENTICATION |
SECURITY_PRINCIPAL | String | constant · static | o.SECURITY_PRINCIPAL |
SECURITY_CREDENTIALS | String | constant · static | o.SECURITY_CREDENTIALS |
LANGUAGE | String | constant · static | o.LANGUAGE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addToEnvironment | addToEnvironment(propName,propVal) | Object addToEnvironment(String propName, Object propVal) |
bind | bind([name,obj])bind([ :name = v, :obj = v ])bind([name,obj,attrs])bind([ :name = v, :obj = v, :attrs = v ]) | void bind(String name, Object obj)void bind(Name name, Object obj)void bind(Name name, Object obj, Attributes attrs)void bind(String name, Object obj, Attributes attrs) |
close | close() | void close() |
composeName | composeName(name,prefix) | String composeName(String name, String prefix)Name composeName(Name name, Name prefix) |
createSubcontext | createSubcontext(name)createSubcontext([name,attrs])createSubcontext([ :name = v, :attrs = v ]) | Context createSubcontext(String name)Context createSubcontext(Name name)DirContext createSubcontext(String name, Attributes attrs)DirContext createSubcontext(Name name, Attributes attrs) |
destroySubcontext | destroySubcontext(name) | void destroySubcontext(Name name)void destroySubcontext(String name) |
getAttributes | getAttributes(name)getAttributes([name,attrIds])getAttributes([ :name = v, :attrIds = v ]) | Attributes getAttributes(Name name)Attributes getAttributes(String name)Attributes getAttributes(String name, String[] attrIds)Attributes getAttributes(Name name, String[] attrIds) |
getEnvironment | getEnvironment() | Hashtable getEnvironment() |
getNameInNamespace | getNameInNamespace() | String getNameInNamespace() |
getNameParser | getNameParser(name) | NameParser getNameParser(String name)NameParser getNameParser(Name name) |
getSchema | getSchema(name) | DirContext getSchema(Name name)DirContext getSchema(String name) |
getSchemaClassDefinition | getSchemaClassDefinition(name) | DirContext getSchemaClassDefinition(Name name)DirContext getSchemaClassDefinition(String name) |
list | list(name) | NamingEnumeration list(String name)NamingEnumeration list(Name name) |
listBindings | listBindings(name) | NamingEnumeration listBindings(Name name)NamingEnumeration listBindings(String name) |
lookup | lookup(name) | Object lookup(Name name)Object lookup(String name) |
lookupLink | lookupLink(name) | Object lookupLink(Name name)Object lookupLink(String name) |
modifyAttributes | modifyAttributes([name,mods])modifyAttributes([ :name = v, :mods = v ])modifyAttributes([name,mod_op,attrs])modifyAttributes([ :name = v, :mod_op = v, :attrs = v ]) | void modifyAttributes(Name name, ModificationItem[] mods)void modifyAttributes(String name, ModificationItem[] mods)void modifyAttributes(String name, int mod_op, Attributes attrs)void modifyAttributes(Name name, int mod_op, Attributes attrs) |
rebind | rebind([name,obj])rebind([ :name = v, :obj = v ])rebind([name,obj,attrs])rebind([ :name = v, :obj = v, :attrs = v ]) | void rebind(String name, Object obj)void rebind(Name name, Object obj)void rebind(Name name, Object obj, Attributes attrs)void rebind(String name, Object obj, Attributes attrs) |
removeFromEnvironment | removeFromEnvironment(propName) | Object removeFromEnvironment(String propName) |
rename | rename(oldName,newName) | void rename(Name oldName, Name newName)void rename(String oldName, String newName) |
search | search([name,matchingAttributes])search([ :name = v, :matchingAttributes = v ])search([name,matchingAttributes,attributesToReturn])search([ :name = v, :matchingAttributes = v, :attributesToReturn = v ])search([name,filterExpr,filterArgs,cons])search([ :name = v, :filterExpr = v, :filterArgs = v, :cons = v ]) | NamingEnumeration search(String name, Attributes matchingAttributes)NamingEnumeration search(Name name, Attributes matchingAttributes)NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn)NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn)NamingEnumeration search(String name, String filter, SearchControls cons)NamingEnumeration search(Name name, String filter, SearchControls cons)NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) |
unbind | unbind(name) | void unbind(String name)void unbind(Name name) |
DirectoryAttribute#
interface · javax.naming.directory.Attribute
Extends: Cloneable, Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
serialVersionUID | long | constant · static | o.serialVersionUID |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@@get | @@get(ix) | Object get(int ix) |
@get | @get() | Object get() |
add | add(attrVal)add([ix,attrVal])add([ :ix = v, :attrVal = v ]) | boolean add(Object attrVal)void add(int ix, Object attrVal) |
clear | clear() | void clear() |
clone | clone() | Object clone() |
contains | contains(attrVal) | boolean contains(Object attrVal) |
getAll | getAll() | NamingEnumeration getAll() |
getAttributeDefinition | getAttributeDefinition() | DirContext getAttributeDefinition() |
getAttributeSyntaxDefinition | getAttributeSyntaxDefinition() | DirContext getAttributeSyntaxDefinition() |
getID | getID() | String getID() |
isOrdered | isOrdered() | boolean isOrdered() |
remove | remove(attrval) | boolean remove(Object attrval)Object remove(int ix) |
set | set(ix,attrVal) | Object set(int ix, Object attrVal) |
size | size() | int size() |
DirectoryAttributes#
interface · javax.naming.directory.Attributes
Extends: Cloneable, Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(attrID) | Attribute get(String attrID) |
@put | @put(attr)@put([attrID,val])@put([ :attrID = v, :val = v ]) | Attribute put(Attribute attr)Attribute put(String attrID, Object val) |
clone | clone() | Object clone() |
getAll | getAll() | NamingEnumeration getAll() |
getIDs | getIDs() | NamingEnumeration getIDs() |
isCaseIgnored | isCaseIgnored() | boolean isCaseIgnored() |
remove | remove(attrID) | Attribute remove(String attrID) |
size | size() | int size() |
DirectoryInvalidAttributeValueException#
class · extends NamingException · javax.naming.directory.InvalidAttributeValueException
Constructors
new DirectoryInvalidAttributeValueException() |
new DirectoryInvalidAttributeValueException(String explanation) |
Ring: new DirectoryInvalidAttributeValueException(args) uses the constructor with the fewest parameters (at least one); new DirectoryInvalidAttributeValueException makes the object with the constructor without parameters; the others: (new DirectoryInvalidAttributeValueException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
InitialDirContext#
class · extends InitialContext · javax.naming.directory.InitialDirContext
Implements: DirContext
Constructors
new InitialDirContext() |
new InitialDirContext(Hashtable environment) |
Ring: new InitialDirContext(args) uses the constructor with the fewest parameters (at least one); new InitialDirContext makes the object with the constructor without parameters; the others: (new InitialDirContext).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ADD_ATTRIBUTE | int | constant · static | o.ADD_ATTRIBUTE |
REPLACE_ATTRIBUTE | int | constant · static | o.REPLACE_ATTRIBUTE |
REMOVE_ATTRIBUTE | int | constant · static | o.REMOVE_ATTRIBUTE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
bind | bind([name,obj])bind([ :name = v, :obj = v ])bind([name,obj,attrs])bind([ :name = v, :obj = v, :attrs = v ]) | void bind(Name name, Object obj)void bind(String name, Object obj)void bind(Name name, Object obj, Attributes attrs)void bind(String name, Object obj, Attributes attrs) |
createSubcontext | createSubcontext(name)createSubcontext([name,attrs])createSubcontext([ :name = v, :attrs = v ]) | Context createSubcontext(String name)Context createSubcontext(Name name)DirContext createSubcontext(Name name, Attributes attrs)DirContext createSubcontext(String name, Attributes attrs) |
getAttributes | getAttributes(name)getAttributes([name,attrIds])getAttributes([ :name = v, :attrIds = v ]) | Attributes getAttributes(Name name)Attributes getAttributes(String name)Attributes getAttributes(Name name, String[] attrIds)Attributes getAttributes(String name, String[] attrIds) |
getSchema | getSchema(name) | DirContext getSchema(Name name)DirContext getSchema(String name) |
getSchemaClassDefinition | getSchemaClassDefinition(name) | DirContext getSchemaClassDefinition(String name)DirContext getSchemaClassDefinition(Name name) |
modifyAttributes | modifyAttributes([name,mods])modifyAttributes([ :name = v, :mods = v ])modifyAttributes([name,mod_op,attrs])modifyAttributes([ :name = v, :mod_op = v, :attrs = v ]) | void modifyAttributes(Name name, ModificationItem[] mods)void modifyAttributes(String name, ModificationItem[] mods)void modifyAttributes(String name, int mod_op, Attributes attrs)void modifyAttributes(Name name, int mod_op, Attributes attrs) |
rebind | rebind([name,obj])rebind([ :name = v, :obj = v ])rebind([name,obj,attrs])rebind([ :name = v, :obj = v, :attrs = v ]) | void rebind(Name name, Object obj)void rebind(String name, Object obj)void rebind(Name name, Object obj, Attributes attrs)void rebind(String name, Object obj, Attributes attrs) |
search | search([name,matchingAttributes])search([ :name = v, :matchingAttributes = v ])search([name,matchingAttributes,attributesToReturn])search([ :name = v, :matchingAttributes = v, :attributesToReturn = v ])search([name,filterExpr,filterArgs,cons])search([ :name = v, :filterExpr = v, :filterArgs = v, :cons = v ]) | NamingEnumeration search(Name name, Attributes matchingAttributes)NamingEnumeration search(String name, Attributes matchingAttributes)NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn)NamingEnumeration search(Name name, String filter, SearchControls cons)NamingEnumeration search(String name, String filter, SearchControls cons)NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn)NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) |
The methods and fields of InitialContext are inherited.
InvalidAttributeIdentifierException#
class · extends NamingException · javax.naming.directory.InvalidAttributeIdentifierException
Constructors
new InvalidAttributeIdentifierException() |
new InvalidAttributeIdentifierException(String explanation) |
Ring: new InvalidAttributeIdentifierException(args) uses the constructor with the fewest parameters (at least one); new InvalidAttributeIdentifierException makes the object with the constructor without parameters; the others: (new InvalidAttributeIdentifierException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
InvalidAttributesException#
class · extends NamingException · javax.naming.directory.InvalidAttributesException
Constructors
new InvalidAttributesException() |
new InvalidAttributesException(String explanation) |
Ring: new InvalidAttributesException(args) uses the constructor with the fewest parameters (at least one); new InvalidAttributesException makes the object with the constructor without parameters; the others: (new InvalidAttributesException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
InvalidSearchControlsException#
class · extends NamingException · javax.naming.directory.InvalidSearchControlsException
Constructors
new InvalidSearchControlsException() |
new InvalidSearchControlsException(String msg) |
Ring: new InvalidSearchControlsException(args) uses the constructor with the fewest parameters (at least one); new InvalidSearchControlsException makes the object with the constructor without parameters; the others: (new InvalidSearchControlsException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
InvalidSearchFilterException#
class · extends NamingException · javax.naming.directory.InvalidSearchFilterException
Constructors
new InvalidSearchFilterException() |
new InvalidSearchFilterException(String msg) |
Ring: new InvalidSearchFilterException(args) uses the constructor with the fewest parameters (at least one); new InvalidSearchFilterException makes the object with the constructor without parameters; the others: (new InvalidSearchFilterException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
ModificationItem#
class · extends Object · javax.naming.directory.ModificationItem
Implements: Serializable
Constructors
new ModificationItem(int mod_op, Attribute attr) |
Ring: new ModificationItem(args) uses the constructor with the fewest parameters (at least one); new ModificationItem makes the object with the constructor without parameters; the others: (new ModificationItem).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttribute | getAttribute() | Attribute getAttribute() |
getModificationOp | getModificationOp() | int getModificationOp() |
The methods and fields of Object are inherited.
NoSuchAttributeException#
class · extends NamingException · javax.naming.directory.NoSuchAttributeException
Constructors
new NoSuchAttributeException() |
new NoSuchAttributeException(String explanation) |
Ring: new NoSuchAttributeException(args) uses the constructor with the fewest parameters (at least one); new NoSuchAttributeException makes the object with the constructor without parameters; the others: (new NoSuchAttributeException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
SchemaViolationException#
class · extends NamingException · javax.naming.directory.SchemaViolationException
Constructors
new SchemaViolationException() |
new SchemaViolationException(String explanation) |
Ring: new SchemaViolationException(args) uses the constructor with the fewest parameters (at least one); new SchemaViolationException makes the object with the constructor without parameters; the others: (new SchemaViolationException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of NamingException are inherited.
SearchControls#
class · extends Object · javax.naming.directory.SearchControls
Implements: Serializable
Constructors
new SearchControls() |
new SearchControls(int scope, long countlim, int timelim, String[] attrs, boolean retobj, boolean deref) |
Ring: new SearchControls(args) uses the constructor with the fewest parameters (at least one); new SearchControls makes the object with the constructor without parameters; the others: (new SearchControls).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
OBJECT_SCOPE | int | constant · static | o.OBJECT_SCOPE |
ONELEVEL_SCOPE | int | constant · static | o.ONELEVEL_SCOPE |
SUBTREE_SCOPE | int | constant · static | o.SUBTREE_SCOPE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCountLimit | getCountLimit() | long getCountLimit() |
getDerefLinkFlag | getDerefLinkFlag() | boolean getDerefLinkFlag() |
getReturningAttributes | getReturningAttributes() | String[] getReturningAttributes() |
getReturningObjFlag | getReturningObjFlag() | boolean getReturningObjFlag() |
getSearchScope | getSearchScope() | int getSearchScope() |
getTimeLimit | getTimeLimit() | int getTimeLimit() |
setCountLimit | setCountLimit(limit) | void setCountLimit(long limit) |
setDerefLinkFlag | setDerefLinkFlag(on) | void setDerefLinkFlag(boolean on) |
setReturningAttributes | setReturningAttributes(attrs) | void setReturningAttributes(String[] attrs) |
setReturningObjFlag | setReturningObjFlag(on) | void setReturningObjFlag(boolean on) |
setSearchScope | setSearchScope(scope) | void setSearchScope(int scope) |
setTimeLimit | setTimeLimit(ms) | void setTimeLimit(int ms) |
The methods and fields of Object are inherited.
SearchResult#
class · extends Binding · javax.naming.directory.SearchResult
Constructors
new SearchResult(String name, Object obj, Attributes attrs) |
new SearchResult(String name, String className, Object obj, Attributes attrs) |
new SearchResult(String name, Object obj, Attributes attrs, boolean isRelative) |
new SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative) |
Ring: new SearchResult(args) uses the constructor with the fewest parameters (at least one); new SearchResult makes the object with the constructor without parameters; the others: (new SearchResult).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | Attributes getAttributes() |
setAttributes | setAttributes(attrs) | void setAttributes(Attributes attrs) |
The methods and fields of Binding are inherited.