|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CountryDaoGeneric
public interface CountryDao
Performs commonly requested operations on Country objects
| Method Summary | |
|---|---|
Country |
findByCode(String code)
Deprecated. retrieves a Country using a standard ISO code, or returns null if a Country with that code is not found |
Country |
findByName(String code)
Deprecated. attempts to find a Country with the name provided TODO: this method needs to be internationalized |
Country |
load(Integer id)
Deprecated. loads a Country object from persistence using its id |
Map<String,Country> |
loadAll()
Deprecated. Returns a map of all Countries in the system, keyed by ISO code; the keys of the map may be ordered by the implementation (for example according to Country.getSortOrder()) |
| Methods inherited from interface org.janux.bus.persistence.DataAccessObject |
|---|
delete, merge, refresh, save, saveOrUpdate, update |
| Method Detail |
|---|
Country load(Integer id)
throws EntityNotFoundException
EntityNotFoundExceptionMap<String,Country> loadAll()
Country findByCode(String code)
null if a Country with that code is not found
Country findByName(String code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||