public void onNewRow() { editObject = new ContractDrawing(); editObjects = new ArrayList<ContractDrawing>(); editMode = "New"; onInitValue(); JsfUtil.addSuccessMessage("Start New"); }
public void onSaveRow() { if (getEditObjects() != null) { for (ContractDrawing item : getEditObjects()) { item.setDwNo(getContractDrawingServices().findNewIndexNo()); item.setUser(JsfUtil.getLoggedinUser()); getGennericService().create(item); } } onBackHome(); }
public void onBackHome() { JsfUtil.redirectPage("/pages/commons/contractDrawing.xhtml"); }
public void onUpload() { JsfUtil.openDialog("dlgUpload"); }
private void updateLog(String action) { getContractDrawingServices().insertLogUserAction(JsfUtil.getLoggedinUser().getUserId(), action); }