@Override @Transactional(readOnly = true, propagation = Propagation.REQUIRED) public List<WoServiceTypeData> findServiceTypeCollection(List<Long> pServiceTypeIds) { EntityManager entityManager = getEntityManager(); ServiceTypeDAO dao = new ServiceTypeDAOImpl(entityManager); List<WoServiceTypeData> result = dao.findServiceTypeCollection(pServiceTypeIds); return result; }
@Override @Transactional(readOnly = true, propagation = Propagation.REQUIRED) public WoServiceTypeData findServiceType(Long pServiceTypeId) { EntityManager entityManager = getEntityManager(); ServiceTypeDAO dao = new ServiceTypeDAOImpl(entityManager); WoServiceTypeData st = dao.findServiceTypeById(pServiceTypeId); return st; }