From 6858f8c609d75c04635c8e7ae81b933149c8103d Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Fri, 3 Dec 2010 10:53:38 -0500 Subject: [PATCH] README updates. --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0696d6d6e..262c86e4f 100644 --- a/README.md +++ b/README.md @@ -45,26 +45,26 @@ Future plans are to support optional logging and/or exception throwing based on * To simplify the creation of Data Repositories a generic Repository interface and base class is provided. Furthermore, Spring will automatically create a Repository implementation for you that add implementations of finder methods you specify on an interface. For example the Repository interface is -public interface Repository { + public interface Repository { - T save(T entity); + T save(T entity); - List save(Iterable entities); + List save(Iterable entities); - T findById(ID id); + T findById(ID id); - boolean exists(ID id); + boolean exists(ID id); - List findAll(); + List findAll(); - Long count(); + Long count(); - void delete(T entity); + void delete(T entity); - void delete(Iterable entities); + void delete(Iterable entities); - void deleteAll(); -} + void deleteAll(); + } and there is a placeholder interface called MongoRepository that will in future add more Mongo specific methods.