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; }
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; }
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; }