Пример #1
0
 @Override
 public <P> Page<P> reportPage(
     Class<P> projectClass,
     ProjectionList projectionList,
     DetachedCriteria dc,
     Pageable pageable) {
   return reportPage(
       projectClass, projectionList, dc.getExecutableCriteria(getSession()), pageable);
 }
Пример #2
0
 @Override
 public <P> List<P> reportList(
     Class<P> projectClass,
     ProjectionList projectionList,
     DetachedCriteria dc,
     int firstResult,
     int maxResults) {
   return reportList(
       projectClass,
       projectionList,
       dc.getExecutableCriteria(getSession()),
       firstResult,
       maxResults);
 }
Пример #3
0
 @Override
 public void deleteAll(Class<?> clazz, DetachedCriteria dc) {
   deleteAll(clazz, dc.getExecutableCriteria(getSession()));
 }
Пример #4
0
 @Override
 public <P> List<P> reportList(
     Class<P> projectClass, ProjectionList projectionList, DetachedCriteria dc) {
   return reportList(projectClass, projectionList, dc.getExecutableCriteria(getSession()));
 }
Пример #5
0
 @Override
 public boolean exists(Class<?> clazz, DetachedCriteria dc) {
   return exists(clazz, dc.getExecutableCriteria(getSession()));
 }
Пример #6
0
 @Override
 public long count(DetachedCriteria dc) {
   return count(dc.getExecutableCriteria(getSession()));
 }
Пример #7
0
 @Override
 public <T> T findFirst(Class<T> clazz, DetachedCriteria dc, Order... orders) {
   return findFirst(clazz, dc.getExecutableCriteria(getSession()), orders);
 }
Пример #8
0
 @Override
 public <T> T findUnique(Class<T> clazz, DetachedCriteria dc) {
   return findUnique(clazz, dc.getExecutableCriteria(getSession()));
 }
Пример #9
0
 @Override
 public <T> Page<T> getPage(Class<T> clazz, DetachedCriteria dc, Pageable pageable) {
   return getPage(clazz, dc.getExecutableCriteria(getSession()), pageable);
 }
Пример #10
0
 @Override
 public <T> List<T> find(
     Class<T> clazz, DetachedCriteria dc, int firstResult, int maxResults, Order... orders) {
   return find(clazz, dc.getExecutableCriteria(getSession()), firstResult, maxResults, orders);
 }
Пример #11
0
 @Override
 public ScrollableResults scroll(DetachedCriteria dc, ScrollMode scrollMode) {
   return dc.getExecutableCriteria(getSession()).scroll(scrollMode);
 }