com.netscape.jndi.ldap.schema
Class SchemaAttributeContainer

java.lang.Object
  extended by com.netscape.jndi.ldap.common.DirContextAdapter
      extended by com.netscape.jndi.ldap.schema.SchemaDirContext
          extended by com.netscape.jndi.ldap.schema.SchemaElementContainer
              extended by com.netscape.jndi.ldap.schema.SchemaAttributeContainer
All Implemented Interfaces:
javax.naming.Context, javax.naming.directory.DirContext

public class SchemaAttributeContainer
extends SchemaElementContainer


Nested Class Summary
 
Nested classes/interfaces inherited from class com.netscape.jndi.ldap.schema.SchemaDirContext
SchemaDirContext.EmptyNamingEnumeration, SchemaDirContext.SchemaObjectSubordinateNamePair
 
Field Summary
 
Fields inherited from class com.netscape.jndi.ldap.schema.SchemaElementContainer
m_schemaMgr
 
Fields inherited from class com.netscape.jndi.ldap.schema.SchemaDirContext
ATTRDEF, CLASSDEF, m_path, MRULEDEF
 
Fields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE
 
Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
 
Constructor Summary
SchemaAttributeContainer(SchemaManager schemaMgr)
           
 
Method Summary
 javax.naming.directory.DirContext createSchemaElement(java.lang.String name, javax.naming.directory.Attributes attrs)
          Ldap entry operations
 javax.naming.NamingEnumeration getBindingsList(java.lang.String name)
          Return a list of bindings for subordinate SchemaElement.
 javax.naming.NamingEnumeration getNameList(java.lang.String name)
          List Operations
 java.lang.Object lookupSchemaElement(java.lang.String name)
          Lookup Operations
 void removeSchemaElement(java.lang.String name)
          Delete a new SchemaElement.
 
Methods inherited from class com.netscape.jndi.ldap.schema.SchemaElementContainer
bind, bind, createSubcontext, createSubcontext, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getAttributes, getAttributes, getAttributes, getAttributes, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, rename, rename, unbind, unbind
 
Methods inherited from class com.netscape.jndi.ldap.schema.SchemaDirContext
close, composeName, composeName, getNameInNamespace, getNameParser, getNameParser
 
Methods inherited from class com.netscape.jndi.ldap.common.DirContextAdapter
addToEnvironment, bind, bind, getEnvironment, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, rebind, rebind, removeFromEnvironment, search, search, search, search, search, search, search, search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaAttributeContainer

public SchemaAttributeContainer(SchemaManager schemaMgr)
                         throws javax.naming.NamingException
Throws:
javax.naming.NamingException
Method Detail

createSchemaElement

public javax.naming.directory.DirContext createSchemaElement(java.lang.String name,
                                                             javax.naming.directory.Attributes attrs)
                                                      throws javax.naming.NamingException
Ldap entry operations

Specified by:
createSchemaElement in class SchemaElementContainer
Throws:
javax.naming.NamingException

removeSchemaElement

public void removeSchemaElement(java.lang.String name)
                         throws javax.naming.NamingException
Description copied from class: SchemaElementContainer
Delete a new SchemaElement. Called by destroySubcontext

Specified by:
removeSchemaElement in class SchemaElementContainer
Throws:
javax.naming.NamingException

getNameList

public javax.naming.NamingEnumeration getNameList(java.lang.String name)
                                           throws javax.naming.NamingException
List Operations

Specified by:
getNameList in class SchemaElementContainer
Throws:
javax.naming.NamingException

getBindingsList

public javax.naming.NamingEnumeration getBindingsList(java.lang.String name)
                                               throws javax.naming.NamingException
Description copied from class: SchemaElementContainer
Return a list of bindings for subordinate SchemaElement. Called by listBindings()

Specified by:
getBindingsList in class SchemaElementContainer
Throws:
javax.naming.NamingException

lookupSchemaElement

public java.lang.Object lookupSchemaElement(java.lang.String name)
                                     throws javax.naming.NamingException
Lookup Operations

Specified by:
lookupSchemaElement in class SchemaElementContainer
Throws:
javax.naming.NamingException