use of com.kyj.fx.voeditor.visual.util.DialogUtil in project Gargoyle by callakrsos.
the class DaoWizardViewController method save.
/**
* DAO 모델을 데이터베이스에 저장.
*
* @작성자 : KYJ
* @작성일 : 2015. 10. 30.
* @param tbmSysDaoDVO
*/
public void save(TbmSysDaoDVO tbmSysDaoDVO) {
FxDAOSaveFunction save = new FxDAOSaveFunction(DialogUtil::showExceptionDailog);
if (save.apply(tbmSysDaoDVO) == 1) {
DialogUtil.showMessageDialog("저장완료.!");
// 저장후 재조회
tbmSysDaoDVO.getTbpSysDaoMethodsDVOList().clear();
tbMethods.getItems().clear();
tbParams.getItems().clear();
tbMappings.getItems().clear();
setTbmSysDaoProperty(tbmSysDaoDVO);
} else {
DialogUtil.showMessageDialog("저장실패.!");
}
}
Aggregations