|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OnmsDao<T,K extends Serializable>
OnmsDao interface.
| Method Summary | |
|---|---|
void |
clear()
clear |
int |
countAll()
countAll |
int |
countMatching(OnmsCriteria onmsCrit)
countMatching |
void |
delete(T entity)
delete |
List<T> |
findAll()
findAll |
List<T> |
findMatching(OnmsCriteria criteria)
findMatching |
void |
flush()
flush |
T |
get(K id)
get |
void |
initialize(Object obj)
initialize |
T |
load(K id)
load |
void |
save(T entity)
save |
void |
saveOrUpdate(T entity)
saveOrUpdate |
void |
update(T entity)
update |
| Method Detail |
|---|
void initialize(Object obj)
initialize
T - a T object.K - a K object.obj - a Object object.void flush()
flush
void clear()
clear
int countAll()
countAll
void delete(T entity)
delete
entity - a T object.List<T> findAll()
findAll
List object.List<T> findMatching(OnmsCriteria criteria)
findMatching
criteria - a OnmsCriteria object.
List object.int countMatching(OnmsCriteria onmsCrit)
countMatching
onmsCrit - a OnmsCriteria object.
T get(K id)
get
id - a K object.
T load(K id)
load
id - a K object.
void save(T entity)
save
entity - a T object.void saveOrUpdate(T entity)
saveOrUpdate
entity - a T object.void update(T entity)
update
entity - a T object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||