|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RegistrySynchronizer
Interface used to detect and react to changes performed on schema entities to update registries so they're synchronized with entries on disk.
| Field Summary | |
|---|---|
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 |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final boolean SCHEMA_MODIFIED
static final boolean SCHEMA_UNCHANGED
| Method Detail |
|---|
void add(org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws java.lang.Exception
entry - The SchemObject to add
java.lang.Exception - If the addition failed
void delete(org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascaded)
throws java.lang.Exception
entry - The entry associated with the SchemaObject to deletecascaded - unused
java.lang.Exception - If the deletion failed
void rename(org.apache.directory.shared.ldap.entry.ServerEntry entry,
org.apache.directory.shared.ldap.name.RDN newRdn,
boolean cascaded)
throws java.lang.Exception
entry - The entry to be renamednewRdn - The new entry namecascaded - unused
java.lang.Exception - If the rename failed
boolean modify(ModifyOperationContext opContext,
org.apache.directory.shared.ldap.entry.ServerEntry targetEntry,
boolean cascaded)
throws java.lang.Exception
opContext - The OperationContext, which contains the entry and the modifications to applytargetEntry - The modified entrycascaded - Unused
java.lang.Exception - If the modification failed
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)
throws java.lang.Exception
java.lang.Exception
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)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||