Interface HvlSessionDataRedisSystemDocumentRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<HvlSessionDataRedisSystemDocument,String>, org.springframework.data.repository.query.QueryByExampleExecutor<HvlSessionDataRedisSystemDocument>, org.springframework.data.repository.Repository<HvlSessionDataRedisSystemDocument,String>

@Repository @Validated public interface HvlSessionDataRedisSystemDocumentRepository extends org.springframework.data.repository.CrudRepository<HvlSessionDataRedisSystemDocument,String>, org.springframework.data.repository.query.QueryByExampleExecutor<HvlSessionDataRedisSystemDocument>
Custom interface for redis operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

      List<HvlSessionDataRedisSystemDocument> findAllByUsername(@NotBlank @NotBlank String username)
      Find all by username list.
      Parameters:
      username - the username
      Returns:
      the list
    • existsByIdentifier

      boolean existsByIdentifier(@NotBlank @NotBlank String identifier)
      Exists by identifier.
      Parameters:
      identifier - the identifier
      Returns:
      the boolean