Interface UsuarioAutenticavelRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<UsuarioAutenticavel,Long>, org.springframework.data.jpa.repository.JpaRepository<UsuarioAutenticavel,Long>, org.springframework.data.repository.ListCrudRepository<UsuarioAutenticavel,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<UsuarioAutenticavel,Long>, org.springframework.data.repository.PagingAndSortingRepository<UsuarioAutenticavel,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<UsuarioAutenticavel>, org.springframework.data.repository.Repository<UsuarioAutenticavel,Long>

@Repository public interface UsuarioAutenticavelRepository extends org.springframework.data.jpa.repository.JpaRepository<UsuarioAutenticavel,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.core.userdetails.UserDetails
     
     

    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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

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

    findAll, findAllById, saveAll

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

    findAll

    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 Details

    • findByEmail

      org.springframework.security.core.userdetails.UserDetails findByEmail(String email)
    • findByEmailCustom

      @Query("SELECT u FROM UsuarioAutenticavel u WHERE u.email = :email") UsuarioAutenticavel findByEmailCustom(@Param("email") String email)