diff --git a/src/docbkx/reference/programming-model/repositories.xml b/src/docbkx/reference/programming-model/repositories.xml
index 3b7f837a5..1ae4ffeb0 100644
--- a/src/docbkx/reference/programming-model/repositories.xml
+++ b/src/docbkx/reference/programming-model/repositories.xml
@@ -54,9 +54,9 @@
Iterate over all nodes of a node entity type
- Iterable<T> findAll()
+ EndResult<T> findAll()
(supported in future versions:
- Iterable<T> findAll(Sort) and
+ EndResult<T> findAll(Sort) and
Page<T> findAll(Pageable))
@@ -91,7 +91,7 @@
Iterate over all indexed entity instances with a certain field value
- Iterable<T> findAllByPropertyValue(key, value)
+ EndResult<T> findAllByPropertyValue(key, value)
Get a single entity instance with a certain field value
@@ -99,11 +99,11 @@
Iterate over all indexed entity instances with field values in a certain numerical range (inclusive)
- Iterable<T> findAllByRange(key, from, to)
+ EndResult<T> findAllByRange(key, from, to)
Iterate over all indexed entity instances with field values matching the given fulltext string or QueryContext query
- Iterable<T> findAllByQuery(key, queryOrQueryContext)
+ EndResult<T> findAllByQuery(key, queryOrQueryContext)
@@ -212,11 +212,11 @@ Long numberOfPeople = graphRepository.count();
Person mark = graphRepository.findByPropertyValue("name", "mark");
-Iterable devs = graphRepository.findAllByProperyValue("occupation", "developer");
+EndResult devs = graphRepository.findAllByProperyValue("occupation", "developer");
-Iterable middleAgedPeople = graphRepository.findAllByRange("age", 20, 40);
+EndResult middleAgedPeople = graphRepository.findAllByRange("age", 20, 40);
-Iterable aTeam = graphRepository.findAllByQuery("name", "A*");
+EndResult aTeam = graphRepository.findAllByQuery("name", "A*");
Iterable davesFriends = graphRepository.findAllByTraversal(dave,
Traversal.description().pruneAfterDepth(1)
@@ -268,9 +268,9 @@ Person michael = personRepository.save(new Person("Michael",36));
Person dave=personRepository.findOne(123);
-Iterable devs = personRepository.findAllByPropertyValue("occupation","developer");
+EndResult devs = personRepository.findAllByPropertyValue("occupation","developer");
-Iterable aTeam = graphRepository.findAllByQuery( "name","A*");
+EndResult aTeam = graphRepository.findAllByQuery( "name","A*");
Iterable friends = personRepository.findFriends(dave);
]]>