|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - key classE - entity classpublic interface IGenericHome<K,E>
Interface IGenericLuteceHome
| Method Summary | |
|---|---|
void |
create(E entity)
Creates the entity |
List<E> |
findAll()
Finds all |
E |
findByPrimaryKey(K pKey)
Loads an entity by its key |
void |
remove(K key)
Removes the entity if exists |
void |
update(E entity)
Merges the entity |
| Method Detail |
|---|
void create(E entity)
entity - objectvoid update(E entity)
entity - objectvoid remove(K key)
key - The entity key@Transactional(readOnly=true) E findByPrimaryKey(K pKey)
pKey - primary key
null otherwise.@Transactional(readOnly=true) List<E> findAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||