public class DitContentRuleSynchronizer extends AbstractRegistrySynchronizer
factory, m_oidAT, schemaManagerSCHEMA_MODIFIED, SCHEMA_UNCHANGED| Modifier | Constructor and Description |
|---|---|
protected |
DitContentRuleSynchronizer(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
Creates a new instance of DitContentRuleSynchronizer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.directory.shared.ldap.schema.DITContentRule dcr) |
void |
add(org.apache.directory.shared.ldap.entry.ServerEntry entry)
Adds a new SchemaObject to its registry
|
void |
delete(org.apache.directory.shared.ldap.schema.DITContentRule dcr,
boolean cascade) |
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 newRn,
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, unregisterOidsprotected DitContentRuleSynchronizer(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
throws Exception
schemaManager - The global schemaManagerException - If the initialization failedpublic boolean modify(ModifyOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry targetEntry, boolean cascade) throws NamingException
modify in interface RegistrySynchronizermodify in class AbstractRegistrySynchronizeropContext - The OperationContext, which contains the entry and the modifications to applytargetEntry - The modified entrycascade - UnusedNamingExceptionpublic void add(org.apache.directory.shared.ldap.entry.ServerEntry entry)
throws NamingException
entry - The SchemObject to addNamingExceptionpublic void delete(org.apache.directory.shared.ldap.entry.ServerEntry entry,
boolean cascade)
throws NamingException
entry - The entry associated with the SchemaObject to deletecascade - unusedNamingExceptionpublic 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 cascade)
throws NamingException
NamingExceptionpublic 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)
throws NamingException
NamingExceptionpublic void rename(org.apache.directory.shared.ldap.entry.ServerEntry entry,
org.apache.directory.shared.ldap.name.RDN newRdn,
boolean cascade)
throws NamingException
entry - The entry to be renamednewRdn - The new entry namecascade - unusedNamingExceptionpublic void add(org.apache.directory.shared.ldap.schema.DITContentRule dcr)
public void delete(org.apache.directory.shared.ldap.schema.DITContentRule dcr,
boolean cascade)
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.