@Override public ApprovalBulkRep queryBulkResourceReps(List<URI> ids) { Iterator<ApprovalRequest> _dbIterator = _dbClient.queryIterativeObjects(getResourceClass(), ids); return new ApprovalBulkRep(BulkList.wrapping(_dbIterator, ApprovalMapper.getInstance())); }
@Override public ApprovalBulkRep queryFilteredBulkResourceReps(List<URI> ids) { Iterator<ApprovalRequest> _dbIterator = _dbClient.queryIterativeObjects(getResourceClass(), ids); BulkList.ResourceFilter filter = new ApprovalFilter(getUserFromContext(), _permissionsHelper); return new ApprovalBulkRep( BulkList.wrapping(_dbIterator, ApprovalMapper.getInstance(), filter)); }