public interface RegistrySynchronizer
Modifier and Type | Field and Description |
---|---|
static boolean |
SCHEMA_MODIFIED
A constant to tell the caller that the schema has been modified
|
static boolean |
SCHEMA_UNCHANGED
A constant to tell the caller that the schema has not been modified
|
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.directory.shared.ldap.entry.ServerEntry entry)
Adds a new SchemaObject to its registry
|
void |
delete(org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascaded)
Delete the schema object and update the registries
|
boolean |
modify(ModifyOperationContext opContext,
org.apache.directory.shared.ldap.entry.ServerEntry targetEntry,
boolean cascaded)
Applies a set of modification to an entry
|
void |
move(org.apache.directory.shared.ldap.name.DN oriChildName,
org.apache.directory.shared.ldap.name.DN newParentName,
org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascaded) |
void |
moveAndRename(org.apache.directory.shared.ldap.name.DN oriChildName,
org.apache.directory.shared.ldap.name.DN newParentName,
org.apache.directory.shared.ldap.name.RDN newRn,
boolean deleteOldRn,
org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascaded) |
void |
rename(org.apache.directory.shared.ldap.entry.ServerEntry entry,
org.apache.directory.shared.ldap.name.RDN newRdn,
boolean cascaded)
Rename a schemaObject.
|
static final boolean SCHEMA_MODIFIED
static final boolean SCHEMA_UNCHANGED
void add(org.apache.directory.shared.ldap.entry.ServerEntry entry) throws Exception
entry
- The SchemObject to addException
- If the addition failedvoid delete(org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascaded) throws Exception
entry
- The entry associated with the SchemaObject to deletecascaded
- unusedException
- If the deletion failedvoid rename(org.apache.directory.shared.ldap.entry.ServerEntry entry, org.apache.directory.shared.ldap.name.RDN newRdn, boolean cascaded) throws Exception
entry
- The entry to be renamednewRdn
- The new entry namecascaded
- unusedException
- If the rename failedboolean modify(ModifyOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry targetEntry, boolean cascaded) throws Exception
opContext
- The OperationContext, which contains the entry and the modifications to applytargetEntry
- The modified entrycascaded
- UnusedException
- If the modification failedvoid moveAndRename(org.apache.directory.shared.ldap.name.DN oriChildName, org.apache.directory.shared.ldap.name.DN newParentName, org.apache.directory.shared.ldap.name.RDN newRn, boolean deleteOldRn, org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascaded) throws Exception
Exception
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.