All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bank.manager.BankApplicationManager

java.lang.Object
   |
   +----bank.manager.DomainManager
           |
           +----bank.manager.BankApplicationManager

public class BankApplicationManager
extends DomainManager
implements BankApplicationManagerInterface
銀行アプリケーションに関する操作をまとめて持つマネージャクラス #pattern: Facade

See Also:
AccountFinder

Variable Index

 o accFinder

Constructor Index

 o BankApplicationManager()

Method Index

 o checkBalanceAccount(int)
 o createPolicy()
 o depositAccount(int, int)
 o getDefault()
BankApplicationManagerはシングルトンとして実装される #pattern: Singleton
 o searchAccount(int)
 o verifyAccount(int)
 o withdrawAccount(int, int)

Variables

 o accFinder
 protected AccountFinder accFinder

Constructors

 o BankApplicationManager
 public BankApplicationManager()

Methods

 o checkBalanceAccount
 public synchronized int checkBalanceAccount(int accountNumber) throws AccountNotFoundException
Parameters:
accountNumber - int
Returns:
int
 o createPolicy
 protected DbAdaptorCreatePolicy createPolicy()
 o depositAccount
 public synchronized int depositAccount(int accountNumber,
                                        int amount) throws AccountNotFoundException
Parameters:
accountNo - int
amount - int
Returns:
int
 o getDefault
 public static BankApplicationManager getDefault()
BankApplicationManagerはシングルトンとして実装される #pattern: Singleton

 o searchAccount
 protected Account searchAccount(int accountNum) throws AccountNotFoundException
Parameters:
accountNum - int
Returns:
Account
 o verifyAccount
 public synchronized boolean verifyAccount(int accountNum)
Parameters:
accountNum - int
Returns:
Account
 o withdrawAccount
 public synchronized int withdrawAccount(int accountNumber,
                                         int amount) throws AccountNotFoundException
Parameters:
accountNumber - int
amount - int
Returns:
int

All Packages  Class Hierarchy  This Package  Previous  Next  Index