@Override public <P> Page<P> reportPage( Class<P> projectClass, ProjectionList projectionList, DetachedCriteria dc, Pageable pageable) { return reportPage( projectClass, projectionList, dc.getExecutableCriteria(getSession()), pageable); }
@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); }
@Override public ScrollableResults scroll(Class<?> clazz) { return scroll(DetachedCriteria.forClass(clazz)); }
@Override public <T> List<T> getIn(Class<T> clazz, Serializable[] ids) { DetachedCriteria dc = CriteriaTool.addIn(DetachedCriteria.forClass(clazz), "id", ids); return find(clazz, dc); }
@Override public void deleteAll(Class<?> clazz, DetachedCriteria dc) { deleteAll(clazz, dc.getExecutableCriteria(getSession())); }
@Override public <P> List<P> reportList( Class<P> projectClass, ProjectionList projectionList, DetachedCriteria dc) { return reportList(projectClass, projectionList, dc.getExecutableCriteria(getSession())); }
@Override public boolean exists(Class<?> clazz, DetachedCriteria dc) { return exists(clazz, dc.getExecutableCriteria(getSession())); }
@Override public long count(DetachedCriteria dc) { return count(dc.getExecutableCriteria(getSession())); }
@Override public <T> T findFirst(Class<T> clazz, DetachedCriteria dc, Order... orders) { return findFirst(clazz, dc.getExecutableCriteria(getSession()), orders); }
@Override public <T> T findUnique(Class<T> clazz, DetachedCriteria dc) { return findUnique(clazz, dc.getExecutableCriteria(getSession())); }
@Override public <T> Page<T> getPage(Class<T> clazz, DetachedCriteria dc, Pageable pageable) { return getPage(clazz, dc.getExecutableCriteria(getSession()), pageable); }
@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); }
@Override public ScrollableResults scroll(DetachedCriteria dc, ScrollMode scrollMode) { return dc.getExecutableCriteria(getSession()).scroll(scrollMode); }