javax.naming.directory |
|
Java Source File Name | Type | Comment |
Attribute.java | Interface | This interface defines the valid operations on a particular attribute of a
directory entry.
An attribute can have zero or more values. |
AttributeInUseException.java | Class | Thrown when attempting to add an attribute that is already defined for an
object. |
AttributeModificationException.java | Class | Thrown when a caller attempts to make an attribute modification that is not
permitted.
Modifications such as addition, removal, and change of value to an entry's
attributes are made via calls to the API on a DirContext .
Where the modification is invalid by reference to the attributes' schema an
AttributeModificationException is thrown describing the
attributes that were unmodified.
The list of attributes that were not modified are returned in the same order
as the original modification request. |
Attributes.java | Interface | This is the interface to a collection of attributes associated with a
directory entry.
This interface defines the methods that are implemented by a collection of a
particular directory entry's attributes.
A directory entry can have zero or more attributes comprising its attributes
collection. |
BasicAttribute.java | Class | A simple attribute of a directory entry.
A basic attribute does not have any schema associated with it, and attempts
to get the schema result in an OperationNotSupportedException
being thrown.
The definition of equals for an attribute is simply
Object.equals
on the value, except for values that are collections where the definition of
equals is an equivalence test (i.e. |
BasicAttributes.java | Class | A simple implementation of the Attributes interface.
The BasicAttributes provides operations on any types of
attribute. |
BasicNamingEnumeration.java | Class | |
DirContext.java | Interface | This is the main interface to a directory service.
A DirContext is the interface through which a client interacts
with a particular concrete directory service provider. |
InitialDirContext.java | Class | This is the root context for directory service operations. |
InvalidAttributeIdentifierException.java | Class | Thrown when the identifier part of an attribute is invalid.
Directory service providers may restrict the characteristics of the attribute
identifier. |
InvalidAttributesException.java | Class | Thrown when an attempt is made to set attributes that are invalid for the
entry they are being targeted. |
InvalidAttributeValueException.java | Class | Thrown when the value part of an attribute is invalid.
Directory service providers may restrict the characteristics of the attribute
value. |
InvalidSearchControlsException.java | Class | Thrown when the SearchControls for a given search are invalid. |
InvalidSearchFilterException.java | Class | Thrown when the search filter specification is invalid.
Search filters are part of the search API on a DirContext . |
ModificationItem.java | Class | This class is a combination of a modification code and attribute. |
NoSuchAttributeException.java | Class | Thrown when an attempt is made to access a non-existent attribute. |
SchemaViolationException.java | Class | Thrown when attempting to make a modification that contravenes the directory
schema.
For example, this exception is thrown if an attempt is made to modify the set
of attributes that is defined on an entry to a state that is invalid by the
object attributes schema. |
SearchControls.java | Class | This class represents the scope of a search, and the list of attributes that
the search encompasses. |
SearchResult.java | Class | SearchResult returned from a search on a directory context and
is provided by a NamingEnumeration . |