Package com.mustafaiev.tair.cts.model

Examples of com.mustafaiev.tair.cts.model.Basket


  @Override
  public Basket retrieveBasket(final Long basketId) {
    final Session session = this.hibernateTemplate.getSessionFactory()
        .openSession();
    Basket basket = null;
    try {
      basket = (Basket) session.get(Basket.class, basketId);
    } catch (final HibernateException e) {
      LOGGER.error(e);
    }
View Full Code Here


    this.mapper = mapper;
  }

  @Override
  public void save(final BasketDTO basketDto) throws DataNotStoredException {
    final Basket basket = this.mapper.map(basketDto, Basket.class);
    this.basketDAO.doSave(basket);
  }
View Full Code Here

TOP

Related Classes of com.mustafaiev.tair.cts.model.Basket

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.