Uses of Class
com.bytedesk.service.agent.AgentEntity
Packages that use AgentEntity
Package
Description
工作组服务包
管理客服工作组相关功能
-
Uses of AgentEntity in com.bytedesk.service.agent
Methods in com.bytedesk.service.agent that return AgentEntityModifier and TypeMethodDescriptionprotected AgentEntityAgentRestService.doSave(AgentEntity entity) AgentRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, AgentEntity agent) Methods in com.bytedesk.service.agent that return types with arguments of type AgentEntityModifier and TypeMethodDescriptionprotected org.springframework.data.jpa.domain.Specification<AgentEntity>AgentRestService.createSpecification(AgentRequest request) protected org.springframework.data.domain.Page<AgentEntity>AgentRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<AgentEntity> spec, org.springframework.data.domain.Pageable pageable) AgentRestService.findAllConnected()AgentRestService.findByConnected(boolean connected) AgentRepository.findByConnectedAndDeletedFalse(boolean connected) AgentRepository.findByDeletedFalse()AgentRestService.findByEmailAndOrgUid(String email, String orgUid) AgentRepository.findByEmailAndOrgUidAndDeletedFalse(String email, String orgUid) AgentRestService.findByMobileAndOrgUid(String mobile, String orgUid) AgentRepository.findByMobileAndOrgUidAndDeletedFalse(String mobile, String orgUid) AgentRepository.findByOrgUid(String orgUid) AgentRepository.findByOrgUidAndDeletedFalse(String orgUid) AgentRepository.findByUserUid(String userUid) AgentRestService.findByUserUid(String userUid) AgentRestService.findByUserUidAndOrgUid(String userUid, String orgUid) AgentRepository.findByUserUidAndOrgUidAndDeletedFalse(String userUid, String orgUid) AgentService.getAvailableAgents()static org.springframework.data.jpa.domain.Specification<AgentEntity>AgentSpecification.search(AgentRequest request, AuthService authService) Methods in com.bytedesk.service.agent with parameters of type AgentEntityModifier and TypeMethodDescriptionAgentRestService.convertToResponse(AgentEntity entity) protected AgentEntityAgentRestService.doSave(AgentEntity entity) AgentRestService.handleOptimisticLockingFailureException(org.springframework.orm.ObjectOptimisticLockingFailureException e, AgentEntity agent) voidAgentEntityListener.postPersist(AgentEntity agent) voidAgentEntityListener.postUpdate(AgentEntity agent) Method parameters in com.bytedesk.service.agent with type arguments of type AgentEntityModifier and TypeMethodDescriptionprotected org.springframework.data.domain.Page<AgentEntity>AgentRestService.executePageQuery(org.springframework.data.jpa.domain.Specification<AgentEntity> spec, org.springframework.data.domain.Pageable pageable) -
Uses of AgentEntity in com.bytedesk.service.agent.event
Fields in com.bytedesk.service.agent.event declared as AgentEntityModifier and TypeFieldDescriptionprivate AgentEntityAgentCreateEvent.agentprivate AgentEntityAgentUpdateEvent.agentprivate AgentEntityAgentUpdateStatusEvent.agentConstructors in com.bytedesk.service.agent.event with parameters of type AgentEntityModifierConstructorDescriptionAgentCreateEvent(Object source, AgentEntity agent) AgentUpdateEvent(Object source, AgentEntity agent, String updateType) AgentUpdateStatusEvent(Object source, AgentEntity agent) -
Uses of AgentEntity in com.bytedesk.service.routing_strategy
Methods in com.bytedesk.service.routing_strategy that return AgentEntityModifier and TypeMethodDescriptionprivate AgentEntityAgentThreadRoutingStrategy.getAgentEntity(String agentUid) 获取客服实体private AgentEntityWorkgroupThreadRoutingStrategy.selectAgent(WorkgroupEntity workgroup, ThreadEntity thread) 选择客服Methods in com.bytedesk.service.routing_strategy with parameters of type AgentEntityModifier and TypeMethodDescriptionprivate StringAgentThreadRoutingStrategy.getAgentOfflineMessage(AgentEntity agent) 获取客服离线消息private StringAgentThreadRoutingStrategy.getAgentWelcomeMessage(AgentEntity agent) 获取客服欢迎消息private StringWorkgroupThreadRoutingStrategy.getAgentWelcomeMessage(AgentEntity agentEntity) 获取客服欢迎消息WorkgroupThreadRoutingStrategy.getOfflineMessage(VisitorRequest visitorRequest, ThreadEntity threadFromRequest, AgentEntity agentEntity, WorkgroupEntity workgroup, QueueMemberEntity queueMemberEntity) 获取离线消息private ThreadEntityAgentThreadRoutingStrategy.getOrCreateThread(VisitorRequest visitorRequest, AgentEntity agentEntity, String topic) 获取或创建线程private MessageProtobufAgentThreadRoutingStrategy.handleAvailableAgent(ThreadEntity threadFromRequest, AgentEntity agent, QueueMemberEntity queueMemberEntity) 处理可用客服(客服在线且未达到最大接待人数)private MessageProtobufWorkgroupThreadRoutingStrategy.handleAvailableWorkgroup(ThreadEntity threadFromRequest, AgentEntity agentEntity, QueueMemberEntity queueMemberEntity) 处理可用工作组客服private MessageProtobufAgentThreadRoutingStrategy.handleExistingThread(ThreadEntity thread, AgentEntity agentEntity) 处理已存在的线程private MessageProtobufAgentThreadRoutingStrategy.handleOfflineAgent(ThreadEntity threadFromRequest, AgentEntity agent, QueueMemberEntity queueMemberEntity) 处理离线客服private MessageProtobufAgentThreadRoutingStrategy.handleQueuedAgent(ThreadEntity threadFromRequest, AgentEntity agent, QueueMemberEntity queueMemberEntity) 处理排队客服(客服在线但已达到最大接待人数)private MessageProtobufWorkgroupThreadRoutingStrategy.handleQueuedWorkgroup(ThreadEntity threadFromRequest, AgentEntity agentEntity, QueueMemberEntity queueMemberEntity) 处理排队工作组客服private MessageProtobufWorkgroupThreadRoutingStrategy.routeByAgentStatus(AgentEntity agentEntity, ThreadEntity thread, QueueMemberEntity queueMemberEntity, WorkgroupEntity workgroup, VisitorRequest visitorRequest) 根据客服状态进行路由private MessageProtobufAgentThreadRoutingStrategy.routeNewThread(ThreadEntity thread, AgentEntity agentEntity, VisitorRequest visitorRequest) 路由新线程private MessageProtobufAgentThreadRoutingStrategy.routeOnlineAgent(ThreadEntity thread, AgentEntity agentEntity, QueueMemberEntity queueMemberEntity) 路由在线客服private voidWorkgroupThreadRoutingStrategy.setThreadOwner(ThreadEntity thread, AgentEntity agentEntity) 设置线程所有者 -
Uses of AgentEntity in com.bytedesk.service.utils
Methods in com.bytedesk.service.utils with parameters of type AgentEntityModifier and TypeMethodDescriptionstatic AgentResponseServiceConvertUtils.convertToAgentResponse(AgentEntity agent) static UserProtobufServiceConvertUtils.convertToUserProtobuf(AgentEntity agent) static StringServiceConvertUtils.convertToUserProtobufJSONString(AgentEntity agent) -
Uses of AgentEntity in com.bytedesk.service.visitor_thread
Methods in com.bytedesk.service.visitor_thread with parameters of type AgentEntityModifier and TypeMethodDescriptionVisitorThreadService.createAgentThread(VisitorRequest visitorRequest, AgentEntity agent, String topic) VisitorThreadService.reInitAgentThreadExtra(ThreadEntity thread, AgentEntity agent) private voidVisitorThreadService.sendRemindMessage(QueueMemberEntity queueMember, ThreadEntity thread, AgentEntity agent) -
Uses of AgentEntity in com.bytedesk.service.workgroup
Fields in com.bytedesk.service.workgroup declared as AgentEntityModifier and TypeFieldDescriptionprivate AgentEntityWorkgroupEntity.messageLeaveAgentAgent responsible for handling offline messagesFields in com.bytedesk.service.workgroup with type parameters of type AgentEntityModifier and TypeFieldDescriptionprivate List<AgentEntity>WorkgroupEntity.agentsAgents assigned to this workgroupMethods in com.bytedesk.service.workgroup that return AgentEntityModifier and TypeMethodDescriptionWorkgroupEntity.getMessageLeaveAgent()WorkgroupRoutingService.selectAgent(WorkgroupEntity workgroup, ThreadEntity thread) 根据工作组路由模式选择客服private AgentEntityWorkgroupRoutingService.selectByConsistentHash(String visitorUid, List<AgentEntity> agents) 一致性哈希算法 相同访客尽量分配给同一个客服private AgentEntityWorkgroupRoutingService.selectByFastestResponse(List<AgentEntity> agents) 最快响应算法 选择平均响应时间最短的客服private AgentEntityWorkgroupRoutingService.selectByLeastActive(List<AgentEntity> agents) 最小活动数算法 选择当前会话数最少的客服private AgentEntityWorkgroupRoutingService.selectByRandom(List<AgentEntity> agents) 随机算法 随机选择一个可用客服private AgentEntityWorkgroupRoutingService.selectByRecent(WorkgroupEntity workgroup, ThreadEntity thread) 选择最近一次会话ThreadEntity接待的客服。private AgentEntityWorkgroupRoutingService.selectByRoundRobin(String workgroupUid, List<AgentEntity> agents) 轮询算法 按顺序将请求分配给每个客服private AgentEntityWorkgroupRoutingService.selectByWeightedRandom(List<AgentEntity> agents) 加权随机算法 根据客服评分和性能给予不同权重Methods in com.bytedesk.service.workgroup that return types with arguments of type AgentEntityMethods in com.bytedesk.service.workgroup with parameters of type AgentEntityModifier and TypeMethodDescriptionprivate doubleWorkgroupRoutingService.calculateWeight(AgentEntity agent) 计算客服权重WorkgroupRepository.findByAgentsContaining(AgentEntity agent) 查找包含指定客服的所有工作组private doubleWorkgroupRoutingService.getAverageResponseTime(AgentEntity agent) TODO: 获取平均响应时间(秒)Method parameters in com.bytedesk.service.workgroup with type arguments of type AgentEntityModifier and TypeMethodDescriptionprivate AgentEntityWorkgroupRoutingService.selectByConsistentHash(String visitorUid, List<AgentEntity> agents) 一致性哈希算法 相同访客尽量分配给同一个客服private AgentEntityWorkgroupRoutingService.selectByFastestResponse(List<AgentEntity> agents) 最快响应算法 选择平均响应时间最短的客服private AgentEntityWorkgroupRoutingService.selectByLeastActive(List<AgentEntity> agents) 最小活动数算法 选择当前会话数最少的客服private AgentEntityWorkgroupRoutingService.selectByRandom(List<AgentEntity> agents) 随机算法 随机选择一个可用客服private AgentEntityWorkgroupRoutingService.selectByRoundRobin(String workgroupUid, List<AgentEntity> agents) 轮询算法 按顺序将请求分配给每个客服private AgentEntityWorkgroupRoutingService.selectByWeightedRandom(List<AgentEntity> agents) 加权随机算法 根据客服评分和性能给予不同权重 -
Uses of AgentEntity in com.bytedesk.ticket.comment
Fields in com.bytedesk.ticket.comment declared as AgentEntity -
Uses of AgentEntity in com.bytedesk.ticket.identity
Methods in com.bytedesk.ticket.identity with parameters of type AgentEntityModifier and TypeMethodDescriptionvoidTicketIdentityService.syncUser(AgentEntity agent) 同步用户到Flowable