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

T - the generic typeID - the generic typepublic interface AbstractGenericDAO<T extends Serializable,ID extends Serializable>
The Interface AbstractGenericDAO.
| Method Summary | |
|---|---|
void |
delete(T entity)
Delete. |
T |
findFirstByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
Find first by property. |
List<T> |
findListByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
Find list by property. |
List<T> |
getAll()
Gets the all. |
Long |
getSize()
Gets the size. |
T |
load(ID id)
Load. |
T |
merge(T entity)
Merge. |
void |
persist(List<T> list)
Persist. |
void |
persist(T entity)
Persist. |
| Method Detail |
|---|
void delete(T entity)
entity - the entity
T findFirstByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
property - the propertyvalue - the value
List<T> findListByProperty(javax.persistence.metamodel.SingularAttribute<T,? extends Object> property,
Object value)
property - the propertyvalue - the value
List<T> getAll()
Long getSize()
T load(ID id)
id - the id
T merge(T entity)
entity - the entity
void persist(List<T> list)
list - the listvoid persist(T entity)
entity - the entity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||