org.apache.directory.shared.ldap.aci
Class ProtectedItem.MaxValueCount
java.lang.Object
org.apache.directory.shared.ldap.aci.ProtectedItem
org.apache.directory.shared.ldap.aci.ProtectedItem.MaxValueCount
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ProtectedItem
public static class ProtectedItem.MaxValueCount
- extends ProtectedItem
Restricts the maximum number of attribute values allowed for a specified
attribute type. It is examined if the protected item is an attribute
value of the specified type and the permission sought is add. Values of
that attribute in the entry are counted without regard to context or
access control and as though the operation which adds the values were
successful. If the number of values in the attribute exceeds maxCount,
the ACI item is treated as not granting add access.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.apache.directory.shared.ldap.aci.ProtectedItem |
ProtectedItem.AllAttributeValues, ProtectedItem.AllUserAttributeTypes, ProtectedItem.AllUserAttributeTypesAndValues, ProtectedItem.AttributeType, ProtectedItem.AttributeValue, ProtectedItem.Classes, ProtectedItem.Entry, ProtectedItem.MaxImmSub, ProtectedItem.MaxValueCount, ProtectedItem.MaxValueCountItem, ProtectedItem.RangeOfValues, ProtectedItem.RestrictedBy, ProtectedItem.RestrictedByItem, ProtectedItem.SelfValue |
ProtectedItem.MaxValueCount
public ProtectedItem.MaxValueCount(Collection items)
- Creates a new instance.
- Parameters:
items
- the collection of ProtectedItem.MaxValueCountItem
s.
iterator
public Iterator iterator()
- Returns an iterator of all
ProtectedItem.MaxValueCountItem
s.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2012. All Rights Reserved.