Interface UserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PersistedUser,,String> org.springframework.data.repository.ListCrudRepository<PersistedUser,,String> org.springframework.data.repository.ListPagingAndSortingRepository<PersistedUser,,String> org.springframework.data.mongodb.repository.MongoRepository<PersistedUser,,String> org.springframework.data.repository.PagingAndSortingRepository<PersistedUser,,String> org.springframework.data.repository.query.QueryByExampleExecutor<PersistedUser>,org.springframework.data.repository.Repository<PersistedUser,String>
public interface UserRepository
extends org.springframework.data.mongodb.repository.MongoRepository<PersistedUser,String>
-
Method Summary
Modifier and TypeMethodDescriptionfindByIssuerAndUsername(String issuer, String username) findByUsername(String username) 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
-
findByIssuerAndUsername
@Query("{ \'issuer\': ?0, \'username\': ?1 }") Optional<PersistedUser> findByIssuerAndUsername(String issuer, String username) -
findByUsername
-