public class RestrictedByFilter extends Object implements ACITupleFilter
ACITupleFilter
that discards all tuples that doesn't satisfy
RestrictedByItem
constraint if available. (18.8.3.3, X.501)ACI_LOG
Constructor and Description |
---|
RestrictedByFilter() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isRemovable(org.apache.directory.api.ldap.aci.ACITuple tuple,
org.apache.directory.api.ldap.model.schema.AttributeType attributeType,
org.apache.directory.api.ldap.model.entry.Value attrValue,
org.apache.directory.api.ldap.model.entry.Entry entry) |
public RestrictedByFilter()
public 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
ACITupleFilter
filter
in interface ACITupleFilter
aciContext
- 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 tuplespublic boolean isRemovable(org.apache.directory.api.ldap.aci.ACITuple tuple, org.apache.directory.api.ldap.model.schema.AttributeType attributeType, org.apache.directory.api.ldap.model.entry.Value attrValue, org.apache.directory.api.ldap.model.entry.Entry entry)
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.