Package com.bytedesk.core.push
Interface PushRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PushEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<PushEntity,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<PushEntity>,org.springframework.data.repository.ListCrudRepository<PushEntity,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<PushEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<PushEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<PushEntity>,org.springframework.data.repository.Repository<PushEntity,Long>
public interface PushRepository
extends org.springframework.data.jpa.repository.JpaRepository<PushEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<PushEntity>
-
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 TypeMethodDescriptionexistsByStatusAndTypeAndReceiver(String status, String type, String receiver) existsByStatusAndTypeAndReceiverAndContent(String status, String type, String receiver, String content) findByDeviceUid(String deviceUid) findByDeviceUidAndContent(String deviceUid, String code) findByStatus(String status) findByStatusAndReceiverAndContent(String status, String receiver, String content) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByStatus
-
findByStatusAndReceiverAndContent
Optional<PushEntity> findByStatusAndReceiverAndContent(String status, String receiver, String content) -
findByDeviceUid
-
findByDeviceUidAndContent
-
existsByStatusAndTypeAndReceiver
-
existsByStatusAndTypeAndReceiverAndContent
-