|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface CountryDAO extends GenericDAO<Country,java.lang.Long>
The Interface CountryDAO.
| Modifier and Type | Method and Description |
|---|---|
Country |
findByName(java.lang.String name)
Find by name. |
Region |
findRegionByName(java.lang.String name)
Find region by name. |
Region |
saveRegion(Region region)
Save region. |
| Methods inherited from interface org.directdemocracyportal.democracy.service.dao.GenericDAO |
|---|
delete, getAll, load, save |
| Method Detail |
|---|
Country findByName(java.lang.String name)
throws org.springframework.dao.DataAccessException
name - the nameorg.springframework.dao.DataAccessException - the data access exception
Region findRegionByName(java.lang.String name)
throws org.springframework.dao.DataAccessException
name - the nameorg.springframework.dao.DataAccessException - the data access exceptionRegion saveRegion(Region region)
region - the region
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||