BasketsBatchFilter.class);
final List<BasketsBatch> batches = this.basketsBatchDAO
.retrieveBatchesByFilter(batchFilter);
final List<BasketsBatchDTO> batchesDTO = new ArrayList<BasketsBatchDTO>();
for (final BasketsBatch basketsBatch : batches) {
final BasketsBatchDTO dto = this.mapper.map(basketsBatch,
BasketsBatchDTO.class);
batchesDTO.add(dto);
}
return batchesDTO;
}