Package pl.zgora.uz.wmie.fe.sps.business.service

Examples of pl.zgora.uz.wmie.fe.sps.business.service.CompanyService.findByParams()


//                    + Administrator.PROPERTY_LASTNAME)));
//      }
    }
   
    if (orders==null) {
      dataResult = companyService.findByParams(projectionList,
          criterions, startIndex, ROW_AMOUNT)
    } else {
      dataResult = companyService.findByParams(projectionList,
          criterions, orders, startIndex, ROW_AMOUNT);
    }
View Full Code Here


   
    if (orders==null) {
      dataResult = companyService.findByParams(projectionList,
          criterions, startIndex, ROW_AMOUNT)
    } else {
      dataResult = companyService.findByParams(projectionList,
          criterions, orders, startIndex, ROW_AMOUNT);
    }
    return dataResult;
   
  }
View Full Code Here

  public String isLoginUnique(String login) throws Exception {
    CompanyService companyService=(CompanyService) BusinessUtil
        .findBusiness("CompanyService");
    List<Criterion> criterions = new ArrayList<Criterion>();
    criterions.add(Restrictions.eq("userLogin", login));
    List<Company> lista=companyService.findByParams(criterions);
    if (lista.size()==0) {
      return "ok";
    } else {
      return String.valueOf(lista.get(0).getIdCompany());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.