Examples of PjGr


Examples of org.svnadmin.entity.PjGr

   * @return 项目组
   * @throws SQLException
   *             jdbc异常
   */
  PjGr readPjGr(ResultSet rs) throws SQLException {
    PjGr result = new PjGr();
    result.setPj(rs.getString("pj"));
    result.setGr(rs.getString("gr"));
    result.setDes(rs.getString("des"));
    return result;
  }
View Full Code Here

Examples of org.svnadmin.entity.PjGr

  }

  @Override
  protected void save(HttpServletRequest request, HttpServletResponse response) {

    PjGr entity = new PjGr();
    entity.setPj(request.getParameter("pj"));
    entity.setGr(request.getParameter("gr"));
    entity.setDes(request.getParameter("des"));
    request.setAttribute("entity", entity);

    pjGrService.save(entity);
  }
View Full Code Here

Examples of org.svnadmin.entity.PjGr

    }
    if (insert) {
      // 增加默认的组
      this.pjDao.insert(pj);
      for (String gr : Constants.GROUPS) {
        PjGr pjGr = new PjGr();
        pjGr.setPj(pj.getPj());
        pjGr.setGr(gr);
        pjGr.setDes(gr);
        pjGrDao.save(pjGr);
      }
      // 增加默认的权限 @see Issue 29
      PjAuth pjAuth = new PjAuth();
      pjAuth.setPj(pj.getPj());
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.