Package backend.Users
Interface UserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<User,java.lang.Long>
,org.springframework.data.jpa.repository.JpaRepository<User,java.lang.Long>
,org.springframework.data.repository.PagingAndSortingRepository<User,java.lang.Long>
,org.springframework.data.repository.query.QueryByExampleExecutor<User>
,org.springframework.data.repository.Repository<User,java.lang.Long>
public interface UserRepository extends org.springframework.data.jpa.repository.JpaRepository<User,java.lang.Long>
- Author:
- Vivek Bengre
-
Method Summary
Modifier and Type Method Description void
deleteById(int id)
void
deleteUserByEmailId(java.lang.String EmailId)
User
findById(int id)
User
findUserByEmailId(java.lang.String EmailId)
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
-
Method Details
-
findById
-
deleteById
void deleteById(int id) -
findUserByEmailId
-
deleteUserByEmailId
void deleteUserByEmailId(java.lang.String EmailId)
-