Package com.bytedesk.call.conference
Class CallConferenceService
java.lang.Object
com.bytedesk.call.conference.CallConferenceService
@Service
@ConditionalOnProperty(name="bytedesk.call.freeswitch.enabled",
havingValue="true")
public class CallConferenceService
extends Object
Call会议服务类
处理会议室创建、管理、成员控制等业务逻辑
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
会议室统计信息类 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConference
(String conferenceName, String description, String password, Integer maxMembers) 创建新会议室void
deleteById
(Long id) 根据ID删除会议室boolean
deleteConference
(Long id) 删除会议室boolean
existsByConferenceName
(String conferenceName) 检查会议室名称是否存在org.springframework.data.domain.Page<CallConferenceEntity>
findAll
(org.springframework.data.domain.Pageable pageable) 分页查询所有会议室findByConferenceName
(String conferenceName) 根据会议室名称查找会议室org.springframework.data.domain.Page<CallConferenceEntity>
findByConferenceNameContaining
(String keyword, org.springframework.data.domain.Pageable pageable) 根据会议室名称模糊查询findByEnabled
(Boolean enabled) 根据启用状态查找会议室根据ID查找会议室findByMaxMembersGreaterThanEqual
(Integer minCapacity) 查找最大成员数量大于等于指定值的会议室org.springframework.data.domain.Page<CallConferenceEntity>
getAllConferences
(org.springframework.data.domain.Pageable pageable) 获取所有会议室(分页)获取启用的会议室列表获取密码保护的会议室获取公开会议室(无密码保护)获取会议室统计信息org.springframework.data.domain.Page<CallConferenceEntity>
searchConferences
(String keyword, org.springframework.data.domain.Pageable pageable) 搜索会议室boolean
启用/禁用会议室void
toggleStatus
(Long id) 切换会议室状态updateConference
(Long id, String conferenceName, String description, String password, Integer maxMembers, Boolean recordEnabled) 更新会议室信息boolean
validateAccess
(String conferenceName, String password) 验证会议室访问权限
-
Field Details
-
conferenceRepository
-
-
Constructor Details
-
CallConferenceService
public CallConferenceService()
-
-
Method Details
-
createConference
@Transactional public CallConferenceEntity createConference(String conferenceName, String description, String password, Integer maxMembers) 创建新会议室 -
findById
根据ID查找会议室 -
findAll
public org.springframework.data.domain.Page<CallConferenceEntity> findAll(org.springframework.data.domain.Pageable pageable) 分页查询所有会议室 -
findByConferenceNameContaining
public org.springframework.data.domain.Page<CallConferenceEntity> findByConferenceNameContaining(String keyword, org.springframework.data.domain.Pageable pageable) 根据会议室名称模糊查询 -
findByConferenceName
根据会议室名称查找会议室 -
validateAccess
验证会议室访问权限 -
updateConference
@Transactional public CallConferenceEntity updateConference(Long id, String conferenceName, String description, String password, Integer maxMembers, Boolean recordEnabled) 更新会议室信息 -
toggleConferenceStatus
启用/禁用会议室 -
deleteConference
删除会议室 -
deleteById
根据ID删除会议室 -
toggleStatus
切换会议室状态 -
findByEnabled
根据启用状态查找会议室 -
findByMaxMembersGreaterThanEqual
查找最大成员数量大于等于指定值的会议室 -
getAllConferences
public org.springframework.data.domain.Page<CallConferenceEntity> getAllConferences(org.springframework.data.domain.Pageable pageable) 获取所有会议室(分页) -
searchConferences
public org.springframework.data.domain.Page<CallConferenceEntity> searchConferences(String keyword, org.springframework.data.domain.Pageable pageable) 搜索会议室 -
getEnabledConferences
获取启用的会议室列表 -
getStatistics
获取会议室统计信息 -
existsByConferenceName
检查会议室名称是否存在 -
getPublicConferences
获取公开会议室(无密码保护) -
getPasswordProtectedConferences
获取密码保护的会议室
-