public class RegistrySynchronizerAdaptor extends Object
Constructor and Description |
---|
RegistrySynchronizerAdaptor(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) |
Modifier and Type | Method and Description |
---|---|
void |
add(AddOperationContext addContext)
Add a new SchemaObject or a new Schema in the Schema partition.
|
void |
delete(DeleteOperationContext deleteContext,
boolean doCascadeDelete) |
boolean |
modify(ModifyOperationContext modifyContext,
org.apache.directory.api.ldap.model.entry.Entry targetEntry,
boolean doCascadeModify)
Modify the schema
|
void |
move(MoveOperationContext moveContext,
org.apache.directory.api.ldap.model.entry.Entry entry,
boolean cascade) |
void |
moveAndRename(MoveAndRenameOperationContext moveAndRenameContext,
org.apache.directory.api.ldap.model.entry.Entry entry,
boolean cascade) |
void |
rename(RenameOperationContext renameContext,
boolean doCascadeModify)
Rename a Schema Object.
|
public RegistrySynchronizerAdaptor(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager) throws Exception
Exception
public void add(AddOperationContext addContext) throws org.apache.directory.api.ldap.model.exception.LdapException
addContext
- The Add context, containing the entry to be addedorg.apache.directory.api.ldap.model.exception.LdapException
- If the addition failedpublic void delete(DeleteOperationContext deleteContext, boolean doCascadeDelete) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public boolean modify(ModifyOperationContext modifyContext, org.apache.directory.api.ldap.model.entry.Entry targetEntry, boolean doCascadeModify) throws org.apache.directory.api.ldap.model.exception.LdapException
modifyContext
- The contexttargetEntry
- The modified entrydoCascadeModify
- Not usedorg.apache.directory.api.ldap.model.exception.LdapException
- If the modification failedpublic void rename(RenameOperationContext renameContext, boolean doCascadeModify) throws org.apache.directory.api.ldap.model.exception.LdapException
renameContext
- The contect contaoning the rename informationsdoCascadeModify
- unusedorg.apache.directory.api.ldap.model.exception.LdapException
- If the rename failedpublic void move(MoveOperationContext moveContext, org.apache.directory.api.ldap.model.entry.Entry entry, boolean cascade) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException
public void moveAndRename(MoveAndRenameOperationContext moveAndRenameContext, org.apache.directory.api.ldap.model.entry.Entry entry, boolean cascade) 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.