⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accountaccess.java

📁 我在加拿大学习的一个比较复杂的在线银行程序.
💻 JAVA
字号:
package com.ebusiness.ebank.ejb.sessionbean;/** * <p>Title: </p> * <p>Description: Remote interface for accessing account personal information data. This interface *                  is for the call from outside the eBank application </p> * <p>Copyright: Copyright (c) 2005</p> * <p>Company: </p> * @author not attributable * @version 1.0 */import java.rmi.RemoteException;import javax.ejb.EJBObject;import com.ebusiness.ebank.bean.AccountValue;import com.ebusiness.ebank.bean.StatementValue;import com.ebusiness.ebank.bean.ValueList;import com.ebusiness.ebank.exception.BusinessException;import com.ebusiness.ebank.exception.SystemException;import com.ebusiness.ebank.criteria.SearchCriteria;public interface AccountAccess    extends EJBObject{   /**    * @Description:    View the Account by it's objectId and account type    * @return:         The AccountValue bean    */    public AccountValue viewAccountByOID(long oid, String accountType) throws           RemoteException, SystemException, BusinessException;   /**    * @Description:    View the Account by accountNo and account type    * @return:         The AccountValue bean    */    public AccountValue viewAccountByAccountNo(String accountNo, String accountType) throws           RemoteException, SystemException, BusinessException;   /**    * @Description:    View the Account by it's objectId and account type    * @return:         The AccountValue bean    */    public AccountValue viewAccountByCardID(String cardID, String accountType) throws           RemoteException, SystemException, BusinessException;   /**    * @Description:    Update the specified AccountValue    * @return:         The updated AccountValue bean    */    public AccountValue updateAccount(AccountValue value) throws           RemoteException, SystemException, BusinessException;  /**   * @Description:    Insert a new record for account table   * @param:          AccountValue   * @return:         AccountValue   */   public AccountValue createAccount(AccountValue value) throws          RemoteException, SystemException, BusinessException;  /**   * @Description:    Search a full list of the accounts the user has   * @return:         ValueList that contains a full list of accounts the user has   */   public ValueList searchAccount(String cardID) throws          RemoteException, SystemException, BusinessException;    /**    * @Description:    Deposit the specified money to the specified Account    * @return:         The updated AccountValue bean    */    public AccountValue deposit(StatementValue sValue) throws          RemoteException,SystemException, BusinessException;  /**    * @Description:    Withdrawal the specified money from the specified Account    * @return:         The updated AccountValue bean    */    public AccountValue withdrawal(StatementValue sValue) throws           RemoteException,SystemException, BusinessException;   /**   * @Description:    Transfer the specified money from fromAccount to toAccount   * @return:         Fresh ValueList that contains a full list of accounts the user has   */   public ValueList transferMoney(AccountValue fromAccount, AccountValue toAccount, double amount) throws          RemoteException, SystemException, BusinessException;   /**   * @Description:    Use fast lane to search multiple records based on the specified criteria   * @return:         ValueList that contains a full list of value beans.   */   public ValueList search(SearchCriteria criteria) throws          RemoteException, SystemException, BusinessException;     /**    * @Description:    Delete Account data. Used by Bank Clerk only    * @param:          AccountValue    * @return:    */    public void deleteAccount(AccountValue value) throws           RemoteException, SystemException, BusinessException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -