Interface NtsUserRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<NtsUserEntity,​String>, org.springframework.data.jpa.repository.JpaRepository<NtsUserEntity,​String>, org.springframework.data.repository.PagingAndSortingRepository<NtsUserEntity,​String>, org.springframework.data.repository.query.QueryByExampleExecutor<NtsUserEntity>, org.springframework.data.repository.Repository<NtsUserEntity,​String>

    @Repository
    public interface NtsUserRepository
    extends org.springframework.data.jpa.repository.JpaRepository<NtsUserEntity,​String>
    Spring Data JPA repository for the NtsUserEntity entity.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.springframework.data.domain.Page<NtsUserEntity> findAllByIdNotNullAndActivatedIsTrue​(org.springframework.data.domain.Pageable pageable)  
      Optional<NtsUserEntity> findOneByLogin​(String login)  
      Optional<NtsUserEntity> findOneWithAuthoritiesByLogin​(String login)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

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

        count, exists, findAll, findBy, findOne
    • Method Detail

      • findOneWithAuthoritiesByLogin

        @EntityGraph(attributePaths="authorities")
        @Cacheable(cacheNames="usersByLogin")
        Optional<NtsUserEntity> findOneWithAuthoritiesByLogin​(String login)
      • findAllByIdNotNullAndActivatedIsTrue

        org.springframework.data.domain.Page<NtsUserEntity> findAllByIdNotNullAndActivatedIsTrue​(org.springframework.data.domain.Pageable pageable)