Package com.mustafaiev.tair.cts.model

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


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


  @Override
  public void save(final BasketsBatchDTO basketsBatch)
      throws DataNotStoredException {
    setBatchFields(basketsBatch);
    final BasketsBatch batch = this.mapper.map(basketsBatch,
        BasketsBatch.class);
    this.basketsBatchDAO.doSave(batch);
  }
View Full Code Here

  }

  @Override
  public void delete(final BasketsBatchDTO basketsBatch)
      throws DataNotRemovedException {
    final BasketsBatch batch = this.mapper.map(basketsBatch,
        BasketsBatch.class);
    this.basketsBatchDAO.doDelete(batch);
  }
View Full Code Here

    return batchesDTO;
  }

  @Override
  public BasketsBatchDTO retrieveBatch(final Long batchId) {
    final BasketsBatch basketsBatch = this.basketsBatchDAO
        .retrieveBatch(batchId);
    return this.mapper.map(basketsBatch, BasketsBatchDTO.class);
  }
View Full Code Here

TOP

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

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.