コード例 #1
0
  /**
   * 初始化
   *
   * @param user
   * @param dto
   * @param conn
   */
  private void init(SfUserDTO user, UrgentDTO dto, Connection conn) {
    this.userAccount = user;
    this.conn = conn;
    this.leaseDTO = dto;

    this.lines = leaseDTO.getLines();
    this.headerDTO = leaseDTO.getHeaderDTO();
    this.headerDAO = new UrgentDAO(user, headerDTO, conn);
  }
コード例 #2
0
 public void setForm(UrgentDTO leaseDTO) {
   this.leaseDTO = leaseDTO;
   this.lines = leaseDTO.getLines();
   this.headerDTO = leaseDTO.getHeaderDTO();
   this.headerDAO = new UrgentDAO(userAccount, headerDTO, conn);
 }