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