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.api.ldap.model.entry.Entry entry)
Adds a new SchemaObject to its registry
|
void |
delete(org.apache.directory.api.ldap.model.entry.Entry entry,
boolean cascaded)
Delete the schema object and update the registries
|
boolean |
modify(ModifyOperationContext modifyContext,
org.apache.directory.api.ldap.model.entry.Entry targetEntry,
boolean cascaded)
Applies a set of modification to an entry
|
void |
move(org.apache.directory.api.ldap.model.name.Dn oriChildName,
org.apache.directory.api.ldap.model.name.Dn newParentName,
org.apache.directory.api.ldap.model.entry.Entry entry,
boolean cascaded) |
void |
moveAndRename(org.apache.directory.api.ldap.model.name.Dn oriChildName,
org.apache.directory.api.ldap.model.name.Dn newParentName,
org.apache.directory.api.ldap.model.name.Rdn newRn,
boolean deleteOldRn,
org.apache.directory.api.ldap.model.entry.Entry entry,
boolean cascaded) |
void |
rename(org.apache.directory.api.ldap.model.entry.Entry entry,
org.apache.directory.api.ldap.model.name.Rdn newRdn,
boolean cascaded)
Rename a schemaObject.
|
static final boolean SCHEMA_MODIFIED
static final boolean SCHEMA_UNCHANGED
void add(org.apache.directory.api.ldap.model.entry.Entry entry) throws org.apache.directory.api.ldap.model.exception.LdapException
entry
- The SchemObject to addorg.apache.directory.api.ldap.model.exception.LdapException
- If the addition failedvoid delete(org.apache.directory.api.ldap.model.entry.Entry entry, boolean cascaded) throws org.apache.directory.api.ldap.model.exception.LdapException
entry
- The entry associated with the SchemaObject to deletecascaded
- unusedorg.apache.directory.api.ldap.model.exception.LdapException
- If the deletion failedvoid rename(org.apache.directory.api.ldap.model.entry.Entry entry, org.apache.directory.api.ldap.model.name.Rdn newRdn, boolean cascaded) throws org.apache.directory.api.ldap.model.exception.LdapException
entry
- The entry to be renamednewRdn
- The new entry namecascaded
- unusedorg.apache.directory.api.ldap.model.exception.LdapException
- If the rename failedboolean modify(ModifyOperationContext modifyContext, org.apache.directory.api.ldap.model.entry.Entry targetEntry, boolean cascaded) throws org.apache.directory.api.ldap.model.exception.LdapException
modifyContext
- The OperationContext, which contains the entry and the modifications to applytargetEntry
- The modified entrycascaded
- Unusedorg.apache.directory.api.ldap.model.exception.LdapException
- If the modification failedvoid moveAndRename(org.apache.directory.api.ldap.model.name.Dn oriChildName, org.apache.directory.api.ldap.model.name.Dn newParentName, org.apache.directory.api.ldap.model.name.Rdn newRn, boolean deleteOldRn, org.apache.directory.api.ldap.model.entry.Entry entry, boolean cascaded) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
void move(org.apache.directory.api.ldap.model.name.Dn oriChildName, org.apache.directory.api.ldap.model.name.Dn newParentName, org.apache.directory.api.ldap.model.entry.Entry entry, boolean cascaded) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.