Package com.bytedesk.service.agent
Interface AgentRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AgentEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<AgentEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<AgentEntity>
,org.springframework.data.repository.ListCrudRepository<AgentEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<AgentEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<AgentEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<AgentEntity>
,org.springframework.data.repository.Repository<AgentEntity,
Long>
@Repository
public interface AgentRepository
extends org.springframework.data.jpa.repository.JpaRepository<AgentEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<AgentEntity>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
existsByUid
(String uid) existsByUserUidAndOrgUidAndDeletedFalse
(String userUid, String orgUid) findByConnectedAndDeletedFalse
(boolean connected) findByConnectedAndEnabled
(boolean connected) findByEmailAndOrgUidAndDeletedFalse
(String email, String orgUid) findByMobileAndOrgUidAndDeletedFalse
(String mobile, String orgUid) findByOrgUid
(String orgUid) findByStatusAndEnabled
(String status) findByUserUid
(String userUid) findByUserUidAndOrgUidAndDeletedFalse
(String userUid, String orgUid) getAgentStatus
(String agentUid) void
updateConnectedByUserUid
(Boolean connected, String userUid) void
updateDeletedByUid
(Boolean deleted, String uid) void
updateStatus
(String agentUid, String status) void
updateStatusByUid
(String status, String uid) 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
-
findByUserUid
-
findByOrgUid
-
findByEmailAndOrgUidAndDeletedFalse
-
findByMobileAndOrgUidAndDeletedFalse
-
findByUserUidAndOrgUidAndDeletedFalse
-
findByConnectedAndDeletedFalse
-
existsByUserUidAndOrgUidAndDeletedFalse
-
updateConnectedByUserUid
-
updateDeletedByUid
-
updateStatusByUid
-
findByStatusAndEnabled
-
findByConnectedAndEnabled
-
getAgentStatus
-
updateStatus
-
existsByUid
-