|
@ -17,6 +17,7 @@ public interface DaoService<E,ID extends Serializable,R extends DaoRepository<E, |
|
|
|
|
|
|
|
|
public E findById(ID id); |
|
|
public E findById(ID id); |
|
|
public E findByUniqueKey(E entity); |
|
|
public E findByUniqueKey(E entity); |
|
|
|
|
|
public String[] getDefaultSortBy(); |
|
|
|
|
|
|
|
|
public E add(E entity) throws Exception; |
|
|
public E add(E entity) throws Exception; |
|
|
public List<E> add(List<E> entities) throws Exception; |
|
|
public List<E> add(List<E> entities) throws Exception; |
|
@ -36,13 +37,6 @@ public interface DaoService<E,ID extends Serializable,R extends DaoRepository<E, |
|
|
public List<E> list(Specification<E> specification, QueryParameter queryParameter) throws Exception; |
|
|
public List<E> list(Specification<E> specification, QueryParameter queryParameter) throws Exception; |
|
|
public Page<E> query(QueryParameter queryParameter) throws Exception; |
|
|
public Page<E> query(QueryParameter queryParameter) throws Exception; |
|
|
public Page<E> query(Specification<E> specification, QueryParameter queryParameter) throws Exception; |
|
|
public Page<E> query(Specification<E> specification, QueryParameter queryParameter) throws Exception; |
|
|
/* |
|
|
public List<E> getDefaultValues() throws Exception; |
|
|
public ExampleMatcher buildExampleMatcher(); |
|
|
public void resetDefaultValues() throws Exception; |
|
|
|
|
|
|
|
|
public List<T> listByExample(T queryEntity,QueryParameter queryParameter) throws Exception; |
|
|
|
|
|
public List<T> listByExample(T queryEntity,QueryParameter queryParameter,ExampleMatcher matcher) throws Exception; |
|
|
|
|
|
|
|
|
|
|
|
public Page<T> pageByExample(T queryEntity,QueryParameter queryParameter) throws Exception; |
|
|
|
|
|
public Page<T> pageByExample(T queryEntity,QueryParameter queryParameter,ExampleMatcher matcher) throws Exception; |
|
|
|
|
|
*/ |
|
|
|
|
|
} |
|
|
} |
|
|