|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccountDao
Account dao interface.
| Method Summary | |
|---|---|
java.util.List |
getAccounts()
Get list of accounts. |
Account |
loadAccount(java.lang.String username)
Load an account from the username. |
Account |
loadAccount(java.lang.String username,
java.lang.String password)
Load an account from the username accessed by a password. |
| Method Detail |
|---|
java.util.List getAccounts()
throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessException - in case of data access I/O problems
Account loadAccount(java.lang.String username)
throws org.springframework.dao.DataAccessException
username - Username of the account to load.
org.springframework.dao.DataAccessException - in case of data access I/O problems
Account loadAccount(java.lang.String username,
java.lang.String password)
throws org.springframework.dao.DataAccessException,
org.springframework.dao.PermissionDeniedDataAccessException
username - Username of the account.password - Password of the account to verify.
org.springframework.dao.DataAccessException - in case of data access I/O
org.springframework.dao.PermissionDeniedDataAccessException - if password is incorrect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||