Interface HvlSessionDataRedisDocumentUserRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<HvlSessionDataRedisUserDocument,
,String> org.springframework.data.repository.query.QueryByExampleExecutor<HvlSessionDataRedisUserDocument>
,org.springframework.data.repository.Repository<HvlSessionDataRedisUserDocument,
String>
@Repository
@Validated
public interface HvlSessionDataRedisDocumentUserRepository
extends org.springframework.data.repository.CrudRepository<HvlSessionDataRedisUserDocument,String>, org.springframework.data.repository.query.QueryByExampleExecutor<HvlSessionDataRedisUserDocument>
Custom interface for redis operations.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
existsByIdentifier
(@NotBlank String identifier) Exists by identifier.findAllByUsername
(@NotBlank String username) Find all by username list.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findAll, findAll, findBy, findOne
-
Method Details
-
findAllByUsername
Find all by username list.- Parameters:
username
- the username- Returns:
- the list
-
existsByIdentifier
Exists by identifier.- Parameters:
identifier
- the identifier- Returns:
- the boolean
-