public void addToCart(int artId) {

    ArticleBean art = dao.getArticle(artId * 1L);
    BasketBean newBean = new BasketBean();
    newBean.setArticle(art);

    // todo: Add Basket to Database

    getUserBasket().add(newBean);
  }
  private void countTotalPayment() {

    logger.debug("Read out Total Price from all articles");

    for (BasketBean entry : userBasket) {
      int price = entry.getArticle().getPrice().intValue();
      sum += price;
    }

    logger.debug("Total price: " + sum);
  }