|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the generic typeID
- the generic type@Transactional(propagation=SUPPORTS) public interface GenericDAO<T extends PersistedModelObject,ID extends Serializable>
The Interface GenericDAO.
Modifier and Type | Method and Description |
---|---|
void |
delete(T entity)
Delete. |
List<T> |
getAll()
Gets the all. |
T |
loadById(ID id)
Load by id. |
T |
save(T entity)
Save. |
Method Detail |
---|
void delete(T entity)
entity
- the entity@Transactional(readOnly=true) List<T> getAll()
@Transactional(readOnly=true) T loadById(ID id)
id
- the idT save(T entity)
entity
- the entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |