Package io.meeds.deeds.storage
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) 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, saveAllMethods inherited from interface org.springframework.data.elasticsearch.repository.ElasticsearchRepository
searchSimilarMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findByTransactionStatusInOrderByCreatedDateAsc
List<DeedTenantLease> findByTransactionStatusInOrderByCreatedDateAsc(List<io.meeds.deeds.constant.TransactionStatus> asList) -
findByEnabledTrueAndNftIdAndEndDateGreaterThan
-