DATACMNS-129 - Introduced CrudRepository.findAll(Iterable<ID> ids).

This commit is contained in:
Oliver Gierke
2012-02-02 16:05:56 +01:00
parent b1f2eac2b9
commit 01898131a6

View File

@@ -69,6 +69,14 @@ public interface CrudRepository<T, ID extends Serializable> extends Repository<T
*/
Iterable<T> findAll();
/**
* Returns all instances of the type with the given IDs.
*
* @param ids
* @return
*/
Iterable<T> findAll(Iterable<ID> ids);
/**
* Returns the number of entities available.
*