public interface CrudInvoker<T>
CrudRepository
implementation or a raw repository declaration with signature compatible methods
for CrudRepository.findOne(Serializable)
and CrudRepository.save(Object)
.Modifier and Type | Method and Description |
---|---|
T |
invokeFindOne(Serializable id)
Invokes the method equivalent to
CrudRepository.findOne(Serializable) . |
T |
invokeSave(T object)
Invokes the method equivalent to
CrudRepository.save(Object) . |
T invokeSave(T object)
CrudRepository.save(Object)
.object
- must not be null.T invokeFindOne(Serializable id)
CrudRepository.findOne(Serializable)
.id
- must not be null.Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.