org.apache.directory.server.core.collective
Class CollectiveAttributesSchemaChecker
java.lang.Object
org.apache.directory.server.core.collective.CollectiveAttributesSchemaChecker
public class CollectiveAttributesSchemaChecker
- extends java.lang.Object
Schema checking utilities specifically for operations on collective attributes.
- Version:
- $Rev:$
- Author:
- Apache Directory Project
Method Summary |
void |
checkAdd(org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
Check that the attribute does not contain collective attributes if it does not
have the collectiveAttributeSubentry ObjectClass declared |
void |
checkModify(org.apache.directory.shared.ldap.name.LdapDN normName,
int modOp,
javax.naming.directory.Attributes mods)
|
void |
checkModify(org.apache.directory.shared.ldap.name.LdapDN normName,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectiveAttributesSchemaChecker
public CollectiveAttributesSchemaChecker(PartitionNexus nexus,
AttributeTypeRegistry attrTypeRegistry)
checkAdd
public void checkAdd(org.apache.directory.shared.ldap.name.LdapDN normName,
javax.naming.directory.Attributes entry)
throws org.apache.directory.shared.ldap.exception.LdapSchemaViolationException,
javax.naming.NamingException
- Check that the attribute does not contain collective attributes if it does not
have the collectiveAttributeSubentry ObjectClass declared
- Parameters:
normName
- The entry DNentry
- The entry attributes
- Throws:
org.apache.directory.shared.ldap.exception.LdapSchemaViolationException
javax.naming.NamingException
checkModify
public void checkModify(org.apache.directory.shared.ldap.name.LdapDN normName,
int modOp,
javax.naming.directory.Attributes mods)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
checkModify
public void checkModify(org.apache.directory.shared.ldap.name.LdapDN normName,
org.apache.directory.shared.ldap.message.ModificationItemImpl[] mods)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.