Interface LeaseRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<DeedTenantLease,Long>, org.springframework.data.elasticsearch.repository.ElasticsearchRepository<DeedTenantLease,Long>, org.springframework.data.repository.PagingAndSortingRepository<DeedTenantLease,Long>, org.springframework.data.repository.Repository<DeedTenantLease,Long>

public interface LeaseRepository extends org.springframework.data.elasticsearch.repository.ElasticsearchRepository<DeedTenantLease,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    findByTransactionStatusInOrderByCreatedDateAsc(List<io.meeds.deeds.constant.TransactionStatus> asList)
     

    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.elasticsearch.repository.ElasticsearchRepository

    searchSimilar

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll, findAll
  • Method Details

    • findByTransactionStatusInOrderByCreatedDateAsc

      List<DeedTenantLease> findByTransactionStatusInOrderByCreatedDateAsc(List<io.meeds.deeds.constant.TransactionStatus> asList)
    • findByEnabledTrueAndNftIdAndEndDateGreaterThan

      List<DeedTenantLease> findByEnabledTrueAndNftIdAndEndDateGreaterThan(long nftId, Instant now)