Interface ActiveTokensRepo

All Superinterfaces:
systems.dennis.shared.repository.AbstractFilterRepo<ActiveToken,Long>, systems.dennis.shared.repository.AbstractRepository<ActiveToken,Long>, org.springframework.data.repository.CrudRepository<ActiveToken,Long>, systems.dennis.shared.postgres.repository.PaginationRepository<ActiveToken>, org.springframework.data.repository.Repository<ActiveToken,Long>

public interface ActiveTokensRepo extends systems.dennis.shared.postgres.repository.PaginationRepository<ActiveToken>
  • Method Details

    • findFirstByUserDataIdAndActiveIsTrueAndDueGreaterThanAndTypeAndScope

      Optional<ActiveToken> findFirstByUserDataIdAndActiveIsTrueAndDueGreaterThanAndTypeAndScope(Long userDataId, Date date, String type, systems.dennis.shared.scopes.model.ScopeModel scope)
    • findFirstByTokenAndActiveIsTrueAndTypeAndScope

      Optional<ActiveToken> findFirstByTokenAndActiveIsTrueAndTypeAndScope(String token, String type, systems.dennis.shared.scopes.model.ScopeModel scope)
    • findByUserDataIdAndActiveIsTrueAndDueGreaterThan

      List<ActiveToken> findByUserDataIdAndActiveIsTrueAndDueGreaterThan(Long userDataId, Date date)