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>
public interface AgentRepository
extends org.springframework.data.jpa.repository.JpaRepository<AgentEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<AgentEntity>
-
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 TypeMethodDescriptionexistsByUid(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) findByOrgUidAndDeletedFalse(String orgUid) findByStatusAndEnabled(String status) findByUserUid(String userUid) findByUserUidAndOrgUidAndDeletedFalse(String userUid, String orgUid) getAgentStatus(String agentUid) voidupdateConnectedByUserUid(Boolean connected, String userUid) voidupdateDeletedByUid(Boolean deleted, String uid) voidupdateStatus(String agentUid, String status) voidupdateStatusByUid(String status, String uid) 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
-
findByUid
-
findByUserUid
-
findByOrgUid
-
findByEmailAndOrgUidAndDeletedFalse
-
findByMobileAndOrgUidAndDeletedFalse
-
findByUserUidAndOrgUidAndDeletedFalse
-
findByConnectedAndDeletedFalse
-
findByDeletedFalse
List<AgentEntity> findByDeletedFalse() -
findByOrgUidAndDeletedFalse
-
existsByUserUidAndOrgUidAndDeletedFalse
-
updateConnectedByUserUid
-
updateDeletedByUid
-
updateStatusByUid
-
findByStatusAndEnabled
-
findByConnectedAndEnabled
-
getAgentStatus
-
updateStatus
-
existsByUid
-