Package com.bytedesk.core.rbac.user
Interface UserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<UserEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<UserEntity>
,org.springframework.data.repository.ListCrudRepository<UserEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<UserEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<UserEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<UserEntity>
,org.springframework.data.repository.Repository<UserEntity,
Long>
public interface UserRepository
extends org.springframework.data.jpa.repository.JpaRepository<UserEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<UserEntity>
https://spring.io/guides/tutorials/react-and-spring-data-rest/
You do NOT want this repository exposed for REST operations!: exported =
false
-
Method Summary
Modifier and TypeMethodDescriptionexistsByEmailAndPlatformAndDeletedFalse
(String email, String platform) existsByMobileAndPlatformAndDeletedFalse
(String mobile, String platform) existsBySuperUserAndDeletedFalse
(Boolean superUser) existsByUsernameAndPlatformAndDeletedFalse
(String username, String platform) findByEmailAndPlatformAndDeletedFalse
(String email, String platform) findByMobileAndPlatformAndDeletedFalse
(String mobile, String platform) findByUsernameAndPlatformAndDeletedFalse
(String username, String platform) 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.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOne
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
-
findByUid
-
findByEmailAndPlatformAndDeletedFalse
-
findByMobileAndPlatformAndDeletedFalse
-
findByUsernameAndPlatformAndDeletedFalse
-
existsByUsernameAndPlatformAndDeletedFalse
-
existsByMobileAndPlatformAndDeletedFalse
-
existsByEmailAndPlatformAndDeletedFalse
-
existsBySuperUserAndDeletedFalse
-