Package com.bytedesk.control.license
Interface LicenseRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<LicenseEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<LicenseEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<LicenseEntity>
,org.springframework.data.repository.ListCrudRepository<LicenseEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<LicenseEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<LicenseEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<LicenseEntity>
,org.springframework.data.repository.Repository<LicenseEntity,
Long>
public interface LicenseRepository
extends org.springframework.data.jpa.repository.JpaRepository<LicenseEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<LicenseEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object>
-
Method Summary
Modifier and TypeMethodDescriptionlong
countByEditionAndOrgUidAndDeletedFalse
(String edition, String orgUid) findByLicenseKey
(String licenseKey) 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.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOne
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
-
findByLicenseKey
-
findByUid
-
findFirstByOrderByActivatedAtDesc
Optional<LicenseEntity> findFirstByOrderByActivatedAtDesc() -
findFirstByOrderByCreatedAtAsc
Optional<LicenseEntity> findFirstByOrderByCreatedAtAsc() -
countByEditionAndOrgUidAndDeletedFalse
-