public class RegistrySynchronizerAdaptor extends Object
Constructor and Description |
---|
RegistrySynchronizerAdaptor(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager) |
Modifier and Type | Method and Description |
---|---|
void |
add(AddOperationContext opContext)
Add a new SchemaObject or a new Schema in the Schema partition.
|
void |
delete(DeleteOperationContext opContext,
boolean doCascadeDelete) |
boolean |
modify(ModifyOperationContext opContext,
org.apache.directory.shared.ldap.entry.ServerEntry targetEntry,
boolean doCascadeModify)
Modify the schema
|
void |
move(MoveOperationContext opContext,
org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascade) |
void |
moveAndRename(MoveAndRenameOperationContext opContext,
org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascade) |
void |
rename(RenameOperationContext opContext,
boolean doCascadeModify)
Rename a Schema Object.
|
public void add(AddOperationContext opContext) throws Exception
opContext
- The Add context, containing the entry to be addedException
- If the addition failedpublic void delete(DeleteOperationContext opContext, boolean doCascadeDelete) throws Exception
Exception
public boolean modify(ModifyOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry targetEntry, boolean doCascadeModify) throws Exception
opContext
- The contexttargetEntry
- The modified entrydoCascadeModify
- Not usedException
- If the modification failedpublic void rename(RenameOperationContext opContext, boolean doCascadeModify) throws Exception
opContext
- The contect contaoning the rename informationsdoCascadeModify
- unusedException
- If the rename failedpublic void move(MoveOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws Exception
Exception
public void moveAndRename(MoveAndRenameOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws Exception
Exception
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.