}
@Override
public List<BasketsBatchDTO> retrieveBatchesByFilter(
final BasketsBatchFilterDTO filter) {
final BasketsBatchFilter batchFilter = this.mapper.map(filter,
BasketsBatchFilter.class);
final List<BasketsBatch> batches = this.basketsBatchDAO
.retrieveBatchesByFilter(batchFilter);
final List<BasketsBatchDTO> batchesDTO = new ArrayList<BasketsBatchDTO>();
for (final BasketsBatch basketsBatch : batches) {