Interface UserRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<User,​Long>, org.springframework.data.jpa.repository.JpaRepository<User,​Long>, org.springframework.data.repository.PagingAndSortingRepository<User,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<User>, org.springframework.data.repository.Repository<User,​Long>

public interface UserRepository
extends org.springframework.data.jpa.repository.JpaRepository<User,​Long>
Spring Data JPA repository for the User entity.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static String USERS_BY_EMAIL_CACHE  
    static String USERS_BY_LOGIN_CACHE  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.data.domain.Page<User> findAllByLoginNot​(org.springframework.data.domain.Pageable pageable, String login)  
    Optional<User> findOneByLogin​(String login)  
    User findOneWithAuthoritiesById​(Long id)  
    Optional<User> findOneWithAuthoritiesByLogin​(String login)  

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findOne