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>
-
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, 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, 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
-
findByStatus
-
findByStatusAndReceiverAndContent
Optional<PushEntity> findByStatusAndReceiverAndContent(String status, String receiver, String content) -
findByDeviceUid
-
findByDeviceUidAndContent
-
existsByStatusAndTypeAndReceiver
-
existsByStatusAndTypeAndReceiverAndContent
-