예제 #1
0
  private Vector<Header> getHeaders() {
    ExportDAO dao = new ExportDAO(database, database2);
    Vector<Header> headers;

    try {
      headers = dao.getHeaderInformation();
      return headers;
    } catch (SQLException e) {
      e.printStackTrace();
    }

    return null;
  }
예제 #2
0
  private Vector<com.order.src.objects.Line> getDetails(String number) {
    ExportDAO dao = new ExportDAO(database, database2);
    Vector<com.order.src.objects.Line> lines;

    try {
      lines = dao.getDetailLineInformation(number);
      return lines;
    } catch (SQLException e) {
      e.printStackTrace();
    }

    return null;
  }
예제 #3
0
  private com.order.src.objects.ShipTo getShipTo(String number) {
    ExportDAO dao = new ExportDAO(database, database2);
    com.order.src.objects.ShipTo shipTo;

    try {
      shipTo = dao.getShipToInformation(number);
      return shipTo;
    } catch (SQLException e) {
      e.printStackTrace();
    }

    return null;
  }