|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AccountDaoGeneric<T extends Account>
Used to create, save, retrieve, update and delete Account objects from persistent storage
| Method Summary | |
|---|---|
Account |
findByName(String name)
Returns an Account by names, or null if the Account is not found. |
org.jasypt.digest.StringDigester |
getPasswordEncryptor()
|
SortedSet<Account> |
loadAll(boolean initializeAccounts)
Loads all Accounts defined in the system |
Account |
loadByName(String name)
loads an Account object, or throws exception if Account with that name is not found |
Account |
newAccount()
returns a new Account instance |
void |
setPasswordEncryptor(org.jasypt.digest.StringDigester passwordEncryptor)
|
| Methods inherited from interface org.janux.bus.persistence.GenericDaoWrite |
|---|
attachClean, clear, delete, evict, flush, merge, refresh, save, saveOrUpdate, update |
| Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnlyWithFacets |
|---|
getDefaultFacetSetOnLoad, initialize, initialize, load, setDefaultFacetSetOnLoad |
| Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnly |
|---|
count, findByCriteria, load |
| Method Detail |
|---|
Account findByName(String name)
null if the Account is not found.
name - the Account name
Account loadByName(String name)
throws EntityNotFoundException
name - a name that uniquely identifies this Account
EntityNotFoundException - if a Account object with that name is not foundSortedSet<Account> loadAll(boolean initializeAccounts)
Account newAccount()
org.jasypt.digest.StringDigester getPasswordEncryptor()
void setPasswordEncryptor(org.jasypt.digest.StringDigester passwordEncryptor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||