public class MatchingRuleUseSynchronizer extends AbstractRegistrySynchronizer
factory, m_oidAT, schemaManager
SCHEMA_MODIFIED, SCHEMA_UNCHANGED
Modifier | Constructor and Description |
---|---|
protected |
MatchingRuleUseSynchronizer(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
Creates a new instance of MatchingRuleUseSynchronizer.
|
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.directory.shared.ldap.schema.MatchingRuleUse mru) |
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.MatchingRuleUse mru,
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, unregisterOids
protected MatchingRuleUseSynchronizer(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 RegistrySynchronizer
modify
in class AbstractRegistrySynchronizer
opContext
- The OperationContext, which contains the entry and the modifications to applytargetEntry
- The modified entrycascade
- UnusedNamingException
public void add(org.apache.directory.shared.ldap.entry.ServerEntry entry) throws NamingException
entry
- The SchemObject to addNamingException
public void delete(org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws NamingException
entry
- The entry associated with the SchemaObject to deletecascade
- unusedNamingException
public 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
NamingException
public 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
NamingException
public 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
- unusedNamingException
public void add(org.apache.directory.shared.ldap.schema.MatchingRuleUse mru) throws NamingException
NamingException
public void delete(org.apache.directory.shared.ldap.schema.MatchingRuleUse mru, boolean cascade) throws NamingException
NamingException
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.