Package com.sogou.qadev.service.cynthia.bean.impl

Examples of com.sogou.qadev.service.cynthia.bean.impl.TemplateTypeImpl


      pstm.setInt(1, Integer.parseInt(templateTypeId.getValue()));
      rs = pstm.executeQuery();
      TemplateType templateType = null;
      if(rs.next())
      {
        templateType = new TemplateTypeImpl();
        templateType.setId(DataAccessFactory.getInstance().createUUID(Integer.toString(rs.getInt("id"))));
        templateType.setName(rs.getString("name"));
        templateType.setDisplayIndex(rs.getInt("displayIndex"));
      }
      return templateType;
View Full Code Here


      String sql = "select * from template_type";
      pstm = conn.prepareStatement(sql);
      rs = pstm.executeQuery();
      while(rs.next())
      {
        TemplateType templateType = new TemplateTypeImpl();
        templateType.setId(DataAccessFactory.getInstance().createUUID(Integer.toString(rs.getInt("id"))));
        templateType.setName(rs.getString("name"));
        templateType.setDisplayIndex(rs.getInt("displayIndex"));
        templateTypeList.add(templateType);
      }
    }catch(Exception e)
    {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.sogou.qadev.service.cynthia.bean.impl.TemplateTypeImpl

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.