Package ejava.projects.esales.blimpl
Class AccountMgmtImpl
- java.lang.Object
-
- ejava.projects.esales.blimpl.AccountMgmtImpl
-
- All Implemented Interfaces:
AccountMgmt
public class AccountMgmtImpl extends Object implements AccountMgmt
This class provides a simple example of the account mgmt implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private AccountDAO
accountDAO
-
Constructor Summary
Constructors Constructor Description AccountMgmtImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Account>
getAccounts(int index, int count)
void
setAccountDAO(AccountDAO accountDAO)
-
-
-
Field Detail
-
accountDAO
private AccountDAO accountDAO
-
-
Method Detail
-
setAccountDAO
public void setAccountDAO(AccountDAO accountDAO)
-
getAccounts
public List<Account> getAccounts(int index, int count) throws AccountMgmtException
- Specified by:
getAccounts
in interfaceAccountMgmt
- Throws:
AccountMgmtException
-
-