org.apache.directory.server.core.schema
Class MetaNameFormHandler

java.lang.Object
  extended by org.apache.directory.server.core.schema.AbstractSchemaChangeHandler
      extended by org.apache.directory.server.core.schema.MetaNameFormHandler
All Implemented Interfaces:
SchemaChangeHandler

public class MetaNameFormHandler
extends AbstractSchemaChangeHandler

A schema entity change handler for NameForms.

Version:
$Rev$
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.server.core.schema.AbstractSchemaChangeHandler
factory, loader, m_oidAT, targetRegistries
 
Constructor Summary
protected MetaNameFormHandler(Registries targetRegistries, PartitionSchemaLoader loader)
           
 
Method Summary
 void add(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry)
           
 void add(org.apache.directory.shared.ldap.schema.NameForm nf)
           
 void delete(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry, boolean cascade)
           
 void delete(org.apache.directory.shared.ldap.schema.NameForm nf, boolean cascade)
           
protected  void modify(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry, ServerEntry targetEntry, boolean cascade)
           
 void move(org.apache.directory.shared.ldap.name.LdapDN oriChildName, org.apache.directory.shared.ldap.name.LdapDN newParentName, org.apache.directory.shared.ldap.name.Rdn newRn, boolean deleteOldRn, ServerEntry entry, boolean cascade)
           
 void rename(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry, org.apache.directory.shared.ldap.name.Rdn newRdn, boolean cascade)
           
 void replace(org.apache.directory.shared.ldap.name.LdapDN oriChildName, org.apache.directory.shared.ldap.name.LdapDN newParentName, ServerEntry entry, boolean cascade)
           
 
Methods inherited from class org.apache.directory.server.core.schema.AbstractSchemaChangeHandler
checkOidIsUnique, checkOidIsUnique, checkOidIsUnique, getOid, getOids, getSchema, getSchemaName, modify, modify, registerOids, unregisterOids
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaNameFormHandler

protected MetaNameFormHandler(Registries targetRegistries,
                              PartitionSchemaLoader loader)
                       throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

modify

protected void modify(org.apache.directory.shared.ldap.name.LdapDN name,
                      ServerEntry entry,
                      ServerEntry targetEntry,
                      boolean cascade)
               throws javax.naming.NamingException
Specified by:
modify in class AbstractSchemaChangeHandler
Throws:
javax.naming.NamingException

add

public void add(org.apache.directory.shared.ldap.name.LdapDN name,
                ServerEntry entry)
         throws javax.naming.NamingException
Throws:
javax.naming.NamingException

delete

public void delete(org.apache.directory.shared.ldap.name.LdapDN name,
                   ServerEntry entry,
                   boolean cascade)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

move

public void move(org.apache.directory.shared.ldap.name.LdapDN oriChildName,
                 org.apache.directory.shared.ldap.name.LdapDN newParentName,
                 org.apache.directory.shared.ldap.name.Rdn newRn,
                 boolean deleteOldRn,
                 ServerEntry entry,
                 boolean cascade)
          throws javax.naming.NamingException
Throws:
javax.naming.NamingException

replace

public void replace(org.apache.directory.shared.ldap.name.LdapDN oriChildName,
                    org.apache.directory.shared.ldap.name.LdapDN newParentName,
                    ServerEntry entry,
                    boolean cascade)
             throws javax.naming.NamingException
Throws:
javax.naming.NamingException

rename

public void rename(org.apache.directory.shared.ldap.name.LdapDN name,
                   ServerEntry entry,
                   org.apache.directory.shared.ldap.name.Rdn newRdn,
                   boolean cascade)
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

add

public void add(org.apache.directory.shared.ldap.schema.NameForm nf)

delete

public void delete(org.apache.directory.shared.ldap.schema.NameForm nf,
                   boolean cascade)


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.