public class MaxValueCountFilter extends java.lang.Object implements ACITupleFilter
ACITupleFilter that discards all tuples that doesn't satisfy
MaxValueCountItem constraint if available. (18.8.3.3, X.501)ACI_LOG| Constructor and Description |
|---|
MaxValueCountFilter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<org.apache.directory.api.ldap.aci.ACITuple> |
filter(AciContext aciContext,
OperationScope scope,
org.apache.directory.api.ldap.model.entry.Entry userEntry)
Returns the collection of the filtered tuples using the specified
extra information.
|
private boolean |
isRemovable(org.apache.directory.api.ldap.aci.protectedItem.MaxValueCountItem mvc,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Entry entryView) |
public java.util.Collection<org.apache.directory.api.ldap.aci.ACITuple> filter(AciContext aciContext, OperationScope scope, org.apache.directory.api.ldap.model.entry.Entry userEntry) throws org.apache.directory.api.ldap.model.exception.LdapException
ACITupleFilterfilter in interface ACITupleFilteraciContext - the container for ACI itemsscope - the scope of the operation to be performeduserEntry - the Entry of the current user entry in the DITorg.apache.directory.api.ldap.model.exception.LdapException - if failed to filter the specific tuplesprivate boolean isRemovable(org.apache.directory.api.ldap.aci.protectedItem.MaxValueCountItem mvc,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Entry entryView)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapException