@Override protected BucketBulkRep queryFilteredBulkResourceReps(List<URI> ids) { Iterator<Bucket> _dbIterator = _dbClient.queryIterativeObjects(getResourceClass(), ids); BulkList.ResourceFilter<Bucket> filter = new BulkList.ProjectResourceFilter<Bucket>(getUserFromContext(), _permissionsHelper); return new BucketBulkRep(BulkList.wrapping(_dbIterator, MapBucket.getInstance(), filter)); }
@Override public BucketBulkRep queryBulkResourceReps(List<URI> ids) { Iterator<Bucket> _dbIterator = _dbClient.queryIterativeObjects(getResourceClass(), ids); return new BucketBulkRep(BulkList.wrapping(_dbIterator, MapBucket.getInstance())); }