|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.registries.synchronizers.RegistrySynchronizerAdaptor
public class RegistrySynchronizerAdaptor
Central point of control for schemas enforced by the server. The following duties are presently performed by this class:
Constructor Summary | |
---|---|
RegistrySynchronizerAdaptor(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistrySynchronizerAdaptor(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public void add(AddOperationContext opContext) throws java.lang.Exception
opContext
- The Add context, containing the entry to be added
java.lang.Exception
- If the addition failedpublic void delete(DeleteOperationContext opContext, boolean doCascadeDelete) throws java.lang.Exception
java.lang.Exception
public boolean modify(ModifyOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry targetEntry, boolean doCascadeModify) throws java.lang.Exception
opContext
- The contexttargetEntry
- The modified entrydoCascadeModify
- Not used
java.lang.Exception
- If the modification failedpublic void rename(RenameOperationContext opContext, boolean doCascadeModify) throws java.lang.Exception
opContext
- The contect contaoning the rename informationsdoCascadeModify
- unused
java.lang.Exception
- If the rename failedpublic void move(MoveOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws java.lang.Exception
java.lang.Exception
public void moveAndRename(MoveAndRenameOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |