org.apache.directory.server.core.schema
Interface SchemaChangeHandler

All Known Implementing Classes:
AbstractSchemaChangeHandler, MetaAttributeTypeHandler, MetaComparatorHandler, MetaDitContentRuleHandler, MetaDitStructureRuleHandler, MetaMatchingRuleHandler, MetaMatchingRuleUseHandler, MetaNameFormHandler, MetaNormalizerHandler, MetaObjectClassHandler, MetaSchemaHandler, MetaSyntaxCheckerHandler, MetaSyntaxHandler

public interface SchemaChangeHandler

A common interface used by schema change handlers which react to changes performed on schema entities.

Version:
$Rev$
Author:
Apache Directory Project

Method Summary
 void add(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry)
           
 void delete(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry, boolean cascaded)
           
 void modify(org.apache.directory.shared.ldap.name.LdapDN name, java.util.List<org.apache.directory.shared.ldap.entry.Modification> mods, ServerEntry entry, ServerEntry targetEntry, boolean cascaded)
           
 void modify(org.apache.directory.shared.ldap.name.LdapDN name, org.apache.directory.shared.ldap.entry.ModificationOperation modOp, ServerEntry mods, ServerEntry entry, ServerEntry targetEntry, boolean cascaded)
           
 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 cascaded)
           
 void rename(org.apache.directory.shared.ldap.name.LdapDN name, ServerEntry entry, org.apache.directory.shared.ldap.name.Rdn newRdn, boolean cascaded)
           
 void replace(org.apache.directory.shared.ldap.name.LdapDN oriChildName, org.apache.directory.shared.ldap.name.LdapDN newParentName, ServerEntry entry, boolean cascaded)
           
 

Method Detail

add

void add(org.apache.directory.shared.ldap.name.LdapDN name,
         ServerEntry entry)
         throws java.lang.Exception
Throws:
java.lang.Exception

delete

void delete(org.apache.directory.shared.ldap.name.LdapDN name,
            ServerEntry entry,
            boolean cascaded)
            throws java.lang.Exception
Throws:
java.lang.Exception

rename

void rename(org.apache.directory.shared.ldap.name.LdapDN name,
            ServerEntry entry,
            org.apache.directory.shared.ldap.name.Rdn newRdn,
            boolean cascaded)
            throws java.lang.Exception
Throws:
java.lang.Exception

modify

void modify(org.apache.directory.shared.ldap.name.LdapDN name,
            org.apache.directory.shared.ldap.entry.ModificationOperation modOp,
            ServerEntry mods,
            ServerEntry entry,
            ServerEntry targetEntry,
            boolean cascaded)
            throws java.lang.Exception
Throws:
java.lang.Exception

modify

void modify(org.apache.directory.shared.ldap.name.LdapDN name,
            java.util.List<org.apache.directory.shared.ldap.entry.Modification> mods,
            ServerEntry entry,
            ServerEntry targetEntry,
            boolean cascaded)
            throws java.lang.Exception
Throws:
java.lang.Exception

move

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 cascaded)
          throws java.lang.Exception
Throws:
java.lang.Exception

replace

void replace(org.apache.directory.shared.ldap.name.LdapDN oriChildName,
             org.apache.directory.shared.ldap.name.LdapDN newParentName,
             ServerEntry entry,
             boolean cascaded)
             throws java.lang.Exception
Throws:
java.lang.Exception


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