public List<BasketDTO> retrieveNonBatchedBaskets() {
final List<BasketDTO> basketDtos = new ArrayList<BasketDTO>();
final List<Basket> baskets = this.basketDAO.retrieveNonBatchedBaskets();
if (baskets != null) {
for (final Basket basket : baskets) {
final BasketDTO basketDto = this.mapper.map(basket,
BasketDTO.class);
basketDtos.add(basketDto);
}
}
return basketDtos;