public class ObjectClassSynchronizer extends AbstractRegistrySynchronizer
factory, m_oidAT, schemaManager
SCHEMA_MODIFIED, SCHEMA_UNCHANGED
Constructor and Description |
---|
ObjectClassSynchronizer(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
Creates a new instance of ObjectClassSynchronizer.
|
Modifier and Type | Method and Description |
---|---|
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 cascade)
Delete the schema object and update the registries
|
boolean |
modify(ModifyOperationContext opContext,
org.apache.directory.shared.ldap.entry.ServerEntry targetEntry,
boolean cascade)
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 cascade) |
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 newRdn,
boolean deleteOldRn,
org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascade) |
void |
rename(org.apache.directory.shared.ldap.entry.ServerEntry entry,
org.apache.directory.shared.ldap.name.RDN newRdn,
boolean cascade)
Rename a schemaObject.
|
addToSchema, checkOidExists, checkOidIsUnique, checkOidIsUnique, checkOidIsUnique, checkParent, deleteFromSchema, getOid, getOids, getReferenced, getSchemaName, isSchemaEnabled, isSchemaLoaded, isSchemaLoaded, registerOids, unregisterOids
public boolean modify(ModifyOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry targetEntry, boolean cascade) throws Exception
modify
in interface RegistrySynchronizer
modify
in class AbstractRegistrySynchronizer
opContext
- The OperationContext, which contains the entry and the modifications to applytargetEntry
- The modified entrycascade
- UnusedException
- If the modification failedpublic void add(org.apache.directory.shared.ldap.entry.ServerEntry entry) throws Exception
entry
- The SchemObject to addException
- If the addition failedpublic void delete(org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws Exception
entry
- The entry associated with the SchemaObject to deletecascade
- unusedException
- If the deletion failedpublic void rename(org.apache.directory.shared.ldap.entry.ServerEntry entry, org.apache.directory.shared.ldap.name.RDN newRdn, boolean cascade) throws Exception
entry
- The entry to be renamednewRdn
- The new entry namecascade
- unusedException
- If the rename failedpublic 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 newRdn, boolean deleteOldRn, org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws Exception
Exception
Copyright © 2003-2013 Apache Software Foundation. All Rights Reserved.