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会议服务类 处理会议室创建、管理、成员控制等业务逻辑
  • Field Details

  • Constructor Details

    • CallConferenceService

      public CallConferenceService()
  • Method Details

    • createConference

      @Transactional public CallConferenceEntity createConference(String conferenceName, String description, String password, Integer maxMembers)
      创建新会议室
    • findById

      public Optional<CallConferenceEntity> findById(Long id)
      根据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

      public Optional<CallConferenceEntity> findByConferenceName(String conferenceName)
      根据会议室名称查找会议室
    • validateAccess

      public boolean validateAccess(String conferenceName, String password)
      验证会议室访问权限
    • updateConference

      @Transactional public CallConferenceEntity updateConference(Long id, String conferenceName, String description, String password, Integer maxMembers, Boolean recordEnabled)
      更新会议室信息
    • toggleConferenceStatus

      @Transactional public boolean toggleConferenceStatus(Long id)
      启用/禁用会议室
    • deleteConference

      @Transactional public boolean deleteConference(Long id)
      删除会议室
    • deleteById

      @Transactional public void deleteById(Long id)
      根据ID删除会议室
    • toggleStatus

      @Transactional public void toggleStatus(Long id)
      切换会议室状态
    • findByEnabled

      public List<CallConferenceEntity> findByEnabled(Boolean enabled)
      根据启用状态查找会议室
    • findByMaxMembersGreaterThanEqual

      public List<CallConferenceEntity> findByMaxMembersGreaterThanEqual(Integer minCapacity)
      查找最大成员数量大于等于指定值的会议室
    • 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

      public List<CallConferenceEntity> getEnabledConferences()
      获取启用的会议室列表
    • getStatistics

      获取会议室统计信息
    • existsByConferenceName

      public boolean existsByConferenceName(String conferenceName)
      检查会议室名称是否存在
    • getPublicConferences

      public List<CallConferenceEntity> getPublicConferences()
      获取公开会议室(无密码保护)
    • getPasswordProtectedConferences

      public List<CallConferenceEntity> getPasswordProtectedConferences()
      获取密码保护的会议室