|
||||||||||
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.AbstractRegistrySynchronizer
org.apache.directory.server.core.schema.registries.synchronizers.MatchingRuleUseSynchronizer
public class MatchingRuleUseSynchronizer
A schema entity change handler for DitMatchingRuleUses.
Field Summary |
---|
Fields inherited from class org.apache.directory.server.core.schema.registries.synchronizers.AbstractRegistrySynchronizer |
---|
factory, m_oidAT, schemaManager |
Fields inherited from interface org.apache.directory.server.core.schema.registries.synchronizers.RegistrySynchronizer |
---|
SCHEMA_MODIFIED, SCHEMA_UNCHANGED |
Constructor Summary | |
---|---|
protected |
MatchingRuleUseSynchronizer(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
Creates a new instance of MatchingRuleUseSynchronizer. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.directory.server.core.schema.registries.synchronizers.AbstractRegistrySynchronizer |
---|
addToSchema, checkOidExists, checkOidIsUnique, checkOidIsUnique, checkOidIsUnique, checkParent, deleteFromSchema, getOid, getOids, getReferenced, getSchemaName, isSchemaEnabled, isSchemaLoaded, isSchemaLoaded, registerOids, unregisterOids |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MatchingRuleUseSynchronizer(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager) throws java.lang.Exception
schemaManager
- The global schemaManager
java.lang.Exception
- If the initialization failedMethod Detail |
---|
public boolean modify(ModifyOperationContext opContext, org.apache.directory.shared.ldap.entry.ServerEntry targetEntry, boolean cascade) throws javax.naming.NamingException
modify
in interface RegistrySynchronizer
modify
in class AbstractRegistrySynchronizer
opContext
- The OperationContext, which contains the entry and the modifications to applytargetEntry
- The modified entrycascade
- Unused
javax.naming.NamingException
public void add(org.apache.directory.shared.ldap.entry.ServerEntry entry) throws javax.naming.NamingException
entry
- The SchemObject to add
javax.naming.NamingException
public void delete(org.apache.directory.shared.ldap.entry.ServerEntry entry, boolean cascade) throws javax.naming.NamingException
entry
- The entry associated with the SchemaObject to deletecascade
- unused
javax.naming.NamingException
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 javax.naming.NamingException
javax.naming.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 javax.naming.NamingException
javax.naming.NamingException
public void rename(org.apache.directory.shared.ldap.entry.ServerEntry entry, org.apache.directory.shared.ldap.name.RDN newRdn, boolean cascade) throws javax.naming.NamingException
entry
- The entry to be renamednewRdn
- The new entry namecascade
- unused
javax.naming.NamingException
public void add(org.apache.directory.shared.ldap.schema.MatchingRuleUse mru) throws javax.naming.NamingException
javax.naming.NamingException
public void delete(org.apache.directory.shared.ldap.schema.MatchingRuleUse mru, boolean cascade) throws javax.naming.NamingException
javax.naming.NamingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |