/** * Laster import * * @param bunt */ void loadImport(Bunt bunt) { deductImportList.clear(); List<AvdelingAvregningBelop> belop = avdelingAvregningBelopManager.findByBunt(bunt); if (belop != null) { deductImportList.addAll(belop); } table.packAll(); }
public DeductImportViewHandler( Bunt bunt, DeductBatchViewHandler aDeductBatchViewHandler, AvdelingAvregningBelopManager aAvdelingAvregningBelopManager) { avdelingAvregningBelopManager = aAvdelingAvregningBelopManager; deductBatchViewHandler = aDeductBatchViewHandler; deductImportList = new ArrayListModel(); if (bunt != null && bunt.getAvdelingAvregningImports() != null) { deductImportList.addAll(bunt.getAvdelingAvregningImports()); } deductImportSelectionList = new SelectionInList((ListModel) deductImportList); }
/** * Viser rapport * * @param window */ void showReport(WindowInterface window) { GuiUtil.setWaitCursor(window); Batchable batch = (Batchable) batchSelectionList.getSelection(); if (batch != null) { List<ReconcilVInterface> lines = reconcilVManager.findByBatchId(batch.getBatchId()); if (lines != null) { reportList.clear(); reportList.addAll(lines); } } table.packAll(); GuiUtil.setDefaultCursor(window); }
private void loadData_chats(List<to_chats> acc) { tbl_chats_ALM.clear(); tbl_chats_ALM.addAll(acc); }
private void loadData_delivery_trucks(List<to_delivery_trucks> acc) { tbl_delivery_trucks_ALM.clear(); tbl_delivery_trucks_ALM.addAll(acc); }
private void loadData_charges(List<S2_customers.to_cust_charges> acc) { tbl_charges_ALM.clear(); tbl_charges_ALM.addAll(acc); }
private void loadData_baptism(List<S2_customers.to_customers> acc) { tbl_employee_payroll_ALM.clear(); tbl_employee_payroll_ALM.addAll(acc); }
public static void loadData_official_schedule_types(List<to_official_schedule_types> acc) { tbl_official_schedule_types_ALM.clear(); tbl_official_schedule_types_ALM.addAll(acc); }
private void loadData_branch_locations(List<to_branch_locations> acc) { tbl_branch_locations_ALM.clear(); tbl_branch_locations_ALM.addAll(acc); }
public static void loadData_disbursement_categories(List<to_disbursement_categories> acc) { tbl_disbursement_categories_ALM.clear(); tbl_disbursement_categories_ALM.addAll(acc); }