javax.naming.directory

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
Java Source Code / Java Documentation  » Apache Harmony Java SE » javax package » javax.naming.directory 
javax.naming.directory
Java Source File NameTypeComment
Attribute.javaInterface This interface defines the valid operations on a particular attribute of a directory entry.

An attribute can have zero or more values.

AttributeInUseException.javaClass Thrown when attempting to add an attribute that is already defined for an object.
AttributeModificationException.javaClass 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.javaInterface 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.javaClass 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.javaClass A simple implementation of the Attributes interface.

The BasicAttributes provides operations on any types of attribute.

BasicNamingEnumeration.javaClass
DirContext.javaInterface 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.javaClass This is the root context for directory service operations.
InvalidAttributeIdentifierException.javaClass Thrown when the identifier part of an attribute is invalid.

Directory service providers may restrict the characteristics of the attribute identifier.

InvalidAttributesException.javaClass Thrown when an attempt is made to set attributes that are invalid for the entry they are being targeted.
InvalidAttributeValueException.javaClass Thrown when the value part of an attribute is invalid.

Directory service providers may restrict the characteristics of the attribute value.

InvalidSearchControlsException.javaClass Thrown when the SearchControls for a given search are invalid.
InvalidSearchFilterException.javaClass Thrown when the search filter specification is invalid.

Search filters are part of the search API on a DirContext.

ModificationItem.javaClass This class is a combination of a modification code and attribute.
NoSuchAttributeException.javaClass Thrown when an attempt is made to access a non-existent attribute.
SchemaViolationException.javaClass 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.javaClass This class represents the scope of a search, and the list of attributes that the search encompasses.
SearchResult.javaClass SearchResult returned from a search on a directory context and is provided by a NamingEnumeration.
www___._j__a__v__a_2___s.c__o_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.