コード例 #1
0
  @Override
  public QuotaDirectoryBulkRep queryBulkResourceReps(List<URI> ids) {

    Iterator<QuotaDirectory> _dbIterator = _dbClient.queryIterativeObjects(getResourceClass(), ids);
    return new QuotaDirectoryBulkRep(
        BulkList.wrapping(_dbIterator, MapQuotaDirectory.getInstance()));
  }
コード例 #2
0
 @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));
 }