/** * @param form * @return */ public Form save(Form form) throws Exception { if (form.isNew()) { return getFormService().create(form); } else { return getFormService().edit(form); } } // --------------------------------------------
/** * @param aForm * @return * @throws Exception * @throws RemoteException */ public Form create(Form aForm) throws Exception, RemoteException { // TODO: aForm.setCreateUserID(this.getUser().getLoginID(); aForm.setAccessUser(this.getUser()); return getFormService().create(aForm); } // --------------------------------------------