|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DAO<T,I>
Method Summary | |
---|---|
long |
count()
get the count of rows in table |
void |
delete(T t)
delete |
void |
deletebyId(I i)
delete |
T |
findById(I i)
find by id |
List<T> |
getAll()
get all |
List<T> |
getAll(int start,
int count)
get all |
Class<I> |
getIdentifierClazz()
|
Pager<T> |
getPager(int batchsize)
get pager |
Class<T> |
getTypeClazz()
|
void |
reloadConfig()
do a config reload |
void |
save(T t)
save object |
void |
update(T t)
update object |
Method Detail |
---|
long count() throws PragmatachException
PragmatachException
void delete(T t) throws PragmatachException
PragmatachException
void deletebyId(I i) throws PragmatachException
PragmatachException
T findById(I i) throws PragmatachException
PragmatachException
List<T> getAll() throws PragmatachException
PragmatachException
List<T> getAll(int start, int count) throws PragmatachException
PragmatachException
Class<I> getIdentifierClazz()
Pager<T> getPager(int batchsize) throws PragmatachException
PragmatachException
Class<T> getTypeClazz()
void reloadConfig()
void save(T t) throws PragmatachException
PragmatachException
void update(T t) throws PragmatachException
PragmatachException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |