|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the generic typeID
- the generic typepublic interface GenericDAO<T extends BaseEntity,ID extends java.io.Serializable>
The Interface GenericDAO.
Modifier and Type | Method and Description |
---|---|
void |
delete(T entity)
Delete. |
java.util.List<T> |
getAll()
Gets the all. |
T |
load(ID id)
Load. |
T |
save(T entity)
Save. |
Method Detail |
---|
T load(ID id) throws org.springframework.dao.DataAccessException
id
- the idorg.springframework.dao.DataAccessException
- the data access exceptionT save(T entity) throws org.springframework.dao.DataAccessException
entity
- the entityorg.springframework.dao.DataAccessException
- the data access exceptionvoid delete(T entity) throws org.springframework.dao.DataAccessException
entity
- the entityorg.springframework.dao.DataAccessException
- the data access exceptionjava.util.List<T> getAll() throws org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessException
- the data access exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |