|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CrudInvoker<T>
Interface for components that can invoke simple CRUD operations on repositories. Useful to be able to abstract being
backed by a CrudRepository implementation or a raw repository declaration with signature compatible methods
for CrudRepository.findOne(Serializable) and CrudRepository.save(Object).
| Method Summary | |
|---|---|
T |
invokeFindOne(Serializable id)
Invokes the method equivalent to CrudRepository.findOne(Serializable). |
T |
invokeSave(T object)
Invokes the method equivalent to CrudRepository.save(Object). |
| Method Detail |
|---|
T invokeSave(T object)
CrudRepository.save(Object).
object - must not be null.T invokeFindOne(Serializable id)
CrudRepository.findOne(Serializable).
id - must not be null.
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||