Interface QueueMemberRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<QueueMemberEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<QueueMemberEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<QueueMemberEntity>
,org.springframework.data.repository.ListCrudRepository<QueueMemberEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<QueueMemberEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<QueueMemberEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<QueueMemberEntity>
,org.springframework.data.repository.Repository<QueueMemberEntity,
Long>
@Repository
public interface QueueMemberRepository
extends org.springframework.data.jpa.repository.JpaRepository<QueueMemberEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<QueueMemberEntity>
-
Method Summary
Modifier and TypeMethodDescriptionfindByOrgUidAndCreatedAtBetweenAndAgentAcceptType
(String orgUid, LocalDateTime startTime, LocalDateTime endTime, String acceptType) findByOrgUidAndCreatedAtBetweenAndResolved
(String orgUid, LocalDateTime startTime, LocalDateTime endTime, boolean resolved) findByThreadUid
(String threadUid) 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
-
findByUid
-
findByOrgUidAndCreatedAtBetweenAndResolved
List<QueueMemberEntity> findByOrgUidAndCreatedAtBetweenAndResolved(String orgUid, LocalDateTime startTime, LocalDateTime endTime, boolean resolved) -
findByOrgUidAndCreatedAtBetweenAndAgentAcceptType
List<QueueMemberEntity> findByOrgUidAndCreatedAtBetweenAndAgentAcceptType(String orgUid, LocalDateTime startTime, LocalDateTime endTime, String acceptType) -
findByThreadUid
@Query("SELECT qm FROM QueueMemberEntity qm WHERE qm.thread.uid = :threadUid") Optional<QueueMemberEntity> findByThreadUid(@Param("threadUid") String threadUid)
-