public void onSaveRow() { if (getEditObjects() != null) { for (ContractDrawing item : getEditObjects()) { item.setDwNo(getContractDrawingServices().findNewIndexNo()); item.setUser(JsfUtil.getLoggedinUser()); getGennericService().create(item); } } onBackHome(); }
private void updateLog(String action) { getContractDrawingServices().insertLogUserAction(JsfUtil.getLoggedinUser().getUserId(), action); }