Interface UserRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<User,java.lang.String>,org.springframework.data.mongodb.repository.MongoRepository<User,java.lang.String>,org.springframework.data.repository.PagingAndSortingRepository<User,java.lang.String>,org.springframework.data.repository.query.QueryByExampleExecutor<User>,org.springframework.data.querydsl.binding.QuerydslBinderCustomizer<QUser>,org.springframework.data.querydsl.QuerydslPredicateExecutor<User>,org.springframework.data.repository.Repository<User,java.lang.String>
- All Known Implementing Classes:
UserRepositoryImpl
@Repository public interface UserRepository extends org.springframework.data.mongodb.repository.MongoRepository<User,java.lang.String>, org.springframework.data.querydsl.QuerydslPredicateExecutor<User>, org.springframework.data.querydsl.binding.QuerydslBinderCustomizer<QUser>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidcustomize(org.springframework.data.querydsl.binding.QuerydslBindings bindings, QUser qUser)booleanexistsByEmail(java.lang.String email)java.util.List<User>findAllBy_idIn(java.util.Set<org.bson.types.ObjectId> ids)org.springframework.data.domain.Page<User>findAllBy_idInAndState(java.util.Set<org.bson.types.ObjectId> ids, UserState state, org.springframework.data.domain.Pageable pageable)java.util.List<User>findAllByIdIn(java.util.Set<java.lang.String> ids)java.util.List<User>findAllByProcessRoles__idIn(java.util.List<java.lang.String> roleId)java.util.List<User>findAllByStateAndExpirationDateBefore(UserState userState, java.time.LocalDateTime dateTime)UserfindByEmail(java.lang.String email)org.springframework.data.domain.Page<User>findDistinctByStateAndProcessRoles__idIn(UserState state, java.util.List<java.lang.String> roleId, org.springframework.data.domain.Pageable pageable)java.util.List<User>removeAllByStateAndExpirationDateBefore(UserState state, java.time.LocalDateTime dateTime)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, save
-
Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, findAll, insert, insert, saveAll
-
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
-
-
-
-
Method Detail
-
findAllBy_idInAndState
org.springframework.data.domain.Page<User> findAllBy_idInAndState(java.util.Set<org.bson.types.ObjectId> ids, UserState state, org.springframework.data.domain.Pageable pageable)
-
findByEmail
User findByEmail(java.lang.String email)
-
findAllByStateAndExpirationDateBefore
java.util.List<User> findAllByStateAndExpirationDateBefore(UserState userState, java.time.LocalDateTime dateTime)
-
findDistinctByStateAndProcessRoles__idIn
org.springframework.data.domain.Page<User> findDistinctByStateAndProcessRoles__idIn(UserState state, java.util.List<java.lang.String> roleId, org.springframework.data.domain.Pageable pageable)
-
findAllByProcessRoles__idIn
java.util.List<User> findAllByProcessRoles__idIn(java.util.List<java.lang.String> roleId)
-
removeAllByStateAndExpirationDateBefore
java.util.List<User> removeAllByStateAndExpirationDateBefore(UserState state, java.time.LocalDateTime dateTime)
-
findAllByIdIn
java.util.List<User> findAllByIdIn(java.util.Set<java.lang.String> ids)
-
findAllBy_idIn
java.util.List<User> findAllBy_idIn(java.util.Set<org.bson.types.ObjectId> ids)
-
existsByEmail
boolean existsByEmail(java.lang.String email)
-
-