public interface IGenericRepository<T,ID extends Serializable>
| Modifier and Type | Method and Description |
|---|---|
Integer |
delete(GenericWhere q) |
Integer |
delete(ID id) |
<S extends T> |
delete(S obj) |
PageableList<T> |
find(GenericQuery q) |
T |
find(ID id) |
<S extends T> |
find(S obj) |
<S extends T> |
find(S obj,
Pageable pager) |
PageableList<T> |
findAll(Pageable pager) |
T |
findOne(GenericQuery q) |
T |
findOne(T q) |
<S extends T> |
insert(List<S> obj) |
<S extends T> |
insert(S obj) |
Integer |
save(GenericSet q) |
<S extends T> |
save(S obj) |
Integer save(GenericSet q) throws Exception
ExceptionInteger delete(GenericWhere q) throws Exception
ExceptionPageableList<T> findAll(Pageable pager) throws Exception
Exception<S extends T> PageableList<T> find(S obj) throws Exception
ExceptionPageableList<T> find(GenericQuery q) throws Exception
ExceptionT findOne(GenericQuery q) throws Exception
ExceptionCopyright © 2016. All rights reserved.