public interface CrudMethods
Modifier and Type | Method and Description |
---|---|
Optional<Method> |
getDeleteMethod()
Returns the delete method of the repository.
|
Optional<Method> |
getFindAllMethod()
Returns the find all method of the repository.
|
Optional<Method> |
getFindOneMethod()
Returns the find one method of the repository.
|
Optional<Method> |
getSaveMethod()
Returns the method to be used for saving entities.
|
boolean |
hasDelete()
Returns whether the repository esposes a delete method.
|
boolean |
hasFindAllMethod()
Returns whether the repository exposes a find all method at all.
|
boolean |
hasFindOneMethod()
Returns whether the repository exposes a find one method.
|
boolean |
hasSaveMethod()
Returns whether the repository exposes a save method at all.
|
Optional<Method> getSaveMethod()
CrudRepository.save(Object)
.hasSaveMethod()
boolean hasSaveMethod()
Optional<Method> getFindAllMethod()
PagingAndSortingRepository
's taking a Pageable
or Sort
instance.hasFindAllMethod()
boolean hasFindAllMethod()
Optional<Method> getFindOneMethod()
CrudRepository.findOne(java.io.Serializable)
hasFindOneMethod()
boolean hasFindOneMethod()
Optional<Method> getDeleteMethod()
hasDelete()
boolean hasDelete()
Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.