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 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 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)
throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionCopyright © 2021. All rights reserved.