예제 #1
0
  @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;
  }
예제 #2
0
  @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;
  }