Package de.xanders.data.customer.dao

Examples of de.xanders.data.customer.dao.BankAccount


    /**
     * @see BankAccountService#getBankAccountById(java.lang.Long)
     */
    protected BankAccountVO handleGetBankAccountById(java.lang.Long bankAccountId)
        throws java.lang.Exception {
      BankAccount bankAccount = this.getBankAccountDao().load(bankAccountId);
      return this.getBankAccountDao().toBankAccountVO(bankAccount);
    }
View Full Code Here


    /**
     * @see BankAccountService#saveBankAccount(BankAccountVO)
     */
    protected BankAccountVO handleSaveBankAccount(BankAccountVO bankAccountVO)
        throws java.lang.Exception {
      BankAccount bankAccount = this.getBankAccountDao().bankAccountVOToEntity(bankAccountVO);
        if (bankAccount.getBankAccountId() == null) {
            bankAccount = this.getBankAccountDao().create(bankAccount);
            bankAccountVO.setBankAccountId(bankAccount.getBankAccountId());
        }
        else {
            this.getBankAccountDao().update(bankAccount);           
        }
        return bankAccountVO;
View Full Code Here

TOP

Related Classes of de.xanders.data.customer.dao.BankAccount

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.