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 TypeMethodDescriptionfindByEnabledTrueAndNftIdAndEndDateGreaterThan(long nftId, Instant now) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface org.springframework.data.elasticsearch.repository.ElasticsearchRepository
delete, deleteAll, deleteAll, deleteAllById, deleteById, save, saveAll, searchSimilarMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findByTransactionStatusInOrderByCreatedDateAsc
List<DeedTenantLease> findByTransactionStatusInOrderByCreatedDateAsc(List<TransactionStatus> asList) -
findByEnabledTrueAndNftIdAndEndDateGreaterThan
-
getByEnabledTrueAndConfirmedTrueAndEndDateBetween
-