Interface MongoKeyStoreRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<KeyStoreEntity,,String> org.springframework.data.repository.ListCrudRepository<KeyStoreEntity,,String> org.springframework.data.repository.ListPagingAndSortingRepository<KeyStoreEntity,,String> org.springframework.data.mongodb.repository.MongoRepository<KeyStoreEntity,,String> org.springframework.data.repository.PagingAndSortingRepository<KeyStoreEntity,,String> org.springframework.data.repository.query.QueryByExampleExecutor<KeyStoreEntity>,org.springframework.data.repository.Repository<KeyStoreEntity,String>
public interface MongoKeyStoreRepository
extends org.springframework.data.mongodb.repository.MongoRepository<KeyStoreEntity,String>
-
Method Summary
Modifier and TypeMethodDescriptionlongcountByName(String name) findByName(String name) findLastUpdate(String name) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, insert, insertMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByName
-
countByName
-
findLastUpdate
@Query(value="{ \'name\' : ?0 }", fields="{ lastUpdate : 1 }") List<KeyStoreEntity> findLastUpdate(String name)
-