@Override public List<T> findAll(String fetchPath, Iterable<ID> ids) { Assert.notNull(ids, "The given Iterable of Id's must not be null!"); return query(fetchPath) .where() .idIn((Collection<?>) ids) .findList(); }
@Override public List<T> findAllById(Iterable<ID> ids) { Assert.notNull(ids, "The given Iterable of Id's must not be null!"); return query() .where() .idIn((Collection<?>) ids) .findList(); }
@Override public List<T> findAllById(Iterable<ID> ids) { Assert.notNull(ids, "The given Iterable of Id's must not be null!"); return query() .where() .idIn((Collection<?>) ids) .findList(); }
@Override public List<T> findAll(String fetchPath, Iterable<ID> ids) { Assert.notNull(ids, "The given Iterable of Id's must not be null!"); return query(fetchPath) .where() .idIn((Collection<?>) ids) .findList(); }
@Override public List<T> findAllByProperty(String fetchPath, String propertyName, Object propertyValue, Sort sort) { return query(fetchPath, sort) .where() .eq(propertyName, propertyValue) .findList(); }
@Override public List<T> findAllByProperty(String propertyName, Object propertyValue) { return query() .where() .eq(propertyName, propertyValue) .findList(); }
@Override public List<T> findAllByProperty(String fetchPath, String propertyName, Object propertyValue) { return query(fetchPath) .where() .eq(propertyName, propertyValue) .findList(); }
@Override public List<T> findAllByProperty(String fetchPath, String propertyName, Object propertyValue, Sort sort) { return query(fetchPath, sort) .where() .eq(propertyName, propertyValue) .findList(); }
@Override public List<T> findAllByProperty(String propertyName, Object propertyValue) { return query() .where() .eq(propertyName, propertyValue) .findList(); }
@Override public List<T> findAllByProperty(String fetchPath, String propertyName, Object propertyValue) { return query(fetchPath) .where() .eq(propertyName, propertyValue) .findList(); }
model = executeTx(t -> { configureQuery.run(t); List<MODEL> m = query.where().idIn(idCollection.toArray()).findList(); return processFoundByIdsModelList(m, includeDeleted); });