Package org.tailormap.api.repository
Interface TemporaryTokenRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<TemporaryToken,
,UUID> org.springframework.data.jpa.repository.JpaRepository<TemporaryToken,
,UUID> org.springframework.data.repository.ListCrudRepository<TemporaryToken,
,UUID> org.springframework.data.repository.ListPagingAndSortingRepository<TemporaryToken,
,UUID> org.springframework.data.repository.PagingAndSortingRepository<TemporaryToken,
,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<TemporaryToken>
,org.springframework.data.repository.Repository<TemporaryToken,
UUID>
public interface TemporaryTokenRepository
extends org.springframework.data.jpa.repository.JpaRepository<TemporaryToken,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionlong
countByUsername
(@NotNull String username) void
deleteByExpirationTimeBefore
(@NotNull ZonedDateTime time) 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.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
-
countByUsername
-
deleteByExpirationTimeBefore
-