コード例 #1
0
 /*
  * (non-Javadoc)
  *
  * @see
  * com.softserveinc.edu.oms.service.interfaces.Service#findAll(com.softserveinc
  * .edu.oms.persistence.dao.params.SortProperties)
  */
 @Transactional
 @Deprecated
 @Override
 public List<OrderStatus> findAll(final SortProperties sortProperties) {
   // TODO Auto-generated method stub
   return dao.findAll(sortProperties);
 }
コード例 #2
0
 /*
  * (non-Javadoc)
  *
  * @see
  * com.softserveinc.edu.oms.service.interfaces.Service#insertOrUpdate(com
  * .softserveinc.edu.oms.domain.AbstractEntity)
  */
 @Transactional
 @Deprecated
 @Override
 public OrderStatus insertOrUpdate(final OrderStatus entity) {
   // TODO Auto-generated method stub
   return dao.insertOrUpdate(entity);
 }
コード例 #3
0
 @Transactional
 @Deprecated
 @Override
 public Long getRowCount() {
   // TODO Auto-generated method stub
   return dao.getRowCount();
 }
コード例 #4
0
 @Transactional
 @Override
 public OrderStatus getByName(final String name) {
   Criterion nameCriteria = Restrictions.eq("orderStatusName", name);
   List<OrderStatus> entities = dao.findByCriterions(nameCriteria);
   return entities.size() < 1 ? null : entities.get(0);
 }
コード例 #5
0
 /*
  * (non-Javadoc)
  *
  * @see
  * com.softserveinc.edu.oms.service.interfaces.Service#findByID(java.lang
  * .Integer)
  */
 @Transactional
 @Override
 public OrderStatus findByID(final Integer id) {
   // TODO Auto-generated method stub
   return dao.findByID(id);
 }
コード例 #6
0
 /*
  * (non-Javadoc)
  *
  * @see com.softserveinc.edu.oms.service.interfaces.Service#findAll()
  */
 @Transactional
 @Override
 public List<OrderStatus> findAll() {
   // TODO Auto-generated method stub
   return dao.findAll();
 }
コード例 #7
0
 /*
  * (non-Javadoc)
  *
  * @see
  * com.softserveinc.edu.oms.service.interfaces.Service#delete(com.softserveinc
  * .edu.oms.domain.AbstractEntity)
  */
 @Transactional
 @Deprecated
 @Override
 public void delete(final OrderStatus entity) {
   dao.delete(entity);
 }