public static interface Acl.BatchRetriever
Modifier and Type | Method and Description |
---|---|
Map<DocId,Acl> |
retrieveAcls(Set<DocId> ids)
Retrieve the ACLs for the requested DocIds.
|
Map<DocId,Acl> retrieveAcls(Set<DocId> ids) throws IOException
null
value for a DocId's ACLs. If a DocId does not exist, then it
should be missing in the returned map.
This method should provide any ACLs for named resources (if any are in
use, which is not the common case) in addition to any normal documents.
For more information about named resources, see DocIdPusher.pushNamedResources(java.util.Map<com.google.enterprise.adaptor.DocId, com.google.enterprise.adaptor.Acl>)
.
ids
- idsIOException
- if there was an error contacting the data store