Interface LookupStrategy
-
- All Known Implementing Classes:
BasicLookupStrategy
public interface LookupStrategy
Performs lookups forAclService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<ObjectIdentity,Acl>
readAclsById(java.util.List<ObjectIdentity> objects, java.util.List<Sid> sids)
Perform database-specific optimized lookup.
-
-
-
Method Detail
-
readAclsById
java.util.Map<ObjectIdentity,Acl> readAclsById(java.util.List<ObjectIdentity> objects, java.util.List<Sid> sids)
Perform database-specific optimized lookup.- Parameters:
objects
- the identities to lookup (required)sids
- the SIDs for which identities are required (may be null - implementations may elect not to provide SID optimisations)- Returns:
- a Map where keys represent the
ObjectIdentity
of the locatedAcl
and values are the locatedAcl
(never null although some entries may be missing; this method should not throwNotFoundException
, as a chain ofLookupStrategy
s may be used to automatically create entries if required)
-
-