...
The following method saves the data objects to the database. Any business logic required can be added (i.e. saving related data objects). saveDataObject(CRMDO dto) method, which is implemented inĀ com.crm.businessobject.CRMBO superclass, must be used for saving a data object.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/** * Saves a bank branch. * * @param dto - the bank branch to save * @return the saved bank branch * @throws Exception */ @Override protected CRMDO saveDO(CRMDO dto) throws Exception { CRMDOBankBranch bankBranch = (CRMDOBankBranch)dto; saveDataObject(bankBranch); return bankBranch; } |
...