net.polyv.live.v1.service.chat.impl
类 LiveChatRoomServiceImpl

java.lang.Object
  继承者 net.polyv.live.v1.service.LiveBaseService
      继承者 net.polyv.live.v1.service.chat.impl.LiveChatRoomServiceImpl
所有已实现的接口:
ILiveChatRoomService

public class LiveChatRoomServiceImpl
extends LiveBaseService
implements ILiveChatRoomService

直播签到管理


字段摘要
 
从类 net.polyv.live.v1.service.LiveBaseService 继承的字段
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX
 
构造方法摘要
LiveChatRoomServiceImpl()
           
 
方法摘要
 LiveBadWordResponse addBadWord(LiveBadWordRequest liveBadWordRequest)
          批量导入频道严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addforbiddenwords/
 List<String> addBannedIP(LiveChatBannedIPRequest liveChatBannedIPRequest)
          设置聊天室禁言ip,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addbannedip/
 Boolean cleanChannelAllMsg(LiveCleanChannelAllMsgRequest liveCleanChannelAllMsgRequest)
          删除频道聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/cleanchat/
 Boolean delBanned(LiveDelBannedDataRequest liveDelBannedDataRequest)
          删除禁言IP/严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delbanned/
 Boolean delChatSingleMsg(LiveChatDelSingleMsgRequest liveChatDelSingleMsgRequest)
          删除单条聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delchat/
 List<String> getAccountBadworkList(LiveGetAccountBadWordRequest liveGetAccountBadWordRequest)
          查询账号严禁词列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/user-badword-list/
 List<String> getBannedList(LiveGetBannedListRequest liveGetBannedListRequest)
          查询频道禁言列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-banned-list/
 List<String> getChannelBadworkList(LiveGetBadwordIPRequest liveGetBadwordIPRequest)
          查询频道严禁词/禁言IP列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/
 LiveGetChatAdminDataResponse getChatAdminData(LiveGetChatAdminDataRequest liveGetChatAdminDataRequest)
          查询聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/get-chat-admin/
 List<LiveGetConsultingRecordResponse> getConsultingRecord(LiveGetConsultingRecordRequest liveGetConsultingRecordRequest)
          查询咨询提问记录,API地址:https://dev.polyv.net/2018/liveproduct/zblts/getquestion/
 List<LiveGetHistoryChatMsgResponse> getHistoryChatMsg(LiveGetHistoryChatMsgRequest liveGetHistoryChatMsgRequest)
          查询历史聊天信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/
 List<LiveKickedListResponse> getKickedList(LiveKickedListRequest liveKickedListRequest)
          查询频道踢人列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/list-kicked/
 List<LiveGetQuestionStatisticalResponse> getQuestionStatistical(LiveGetQuestionStatisticalRequest liveGetQuestionStatisticalRequest)
          查询频道的问答统计结果,API地址:https://dev.polyv.net/2018/liveproduct/zblts/get-question-result/
 LiveSendChatMsgResponse sendChatMsg(LiveSendChatMsgRequest liveSendChatMsgRequest)
          通过HTTP接口发送聊天消息请求实体,API地址:https://dev.polyv.net/2019/liveproduct/zblts/send-admin-msg/
 Boolean setChannelTeacherMsg(LiveSetTeacherDataRequest liveSetTeacherDataRequest)
          设置讲师信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/update-channel-teacher/
 Boolean setChatAdminData(LiveSetChatAdminDataRequest liveSetChatAdminDataRequest)
          设置聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/set-chat-admin/
 
从类 net.polyv.live.v1.service.LiveBaseService 继承的方法
baseGet, baseGetReturnArray, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFile, baseUploadFileList, baseUploadFileListReturnArray
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

LiveChatRoomServiceImpl

public LiveChatRoomServiceImpl()
方法详细信息

sendChatMsg

public LiveSendChatMsgResponse sendChatMsg(LiveSendChatMsgRequest liveSendChatMsgRequest)
                                    throws IOException,
                                           NoSuchAlgorithmException
通过HTTP接口发送聊天消息请求实体,API地址:https://dev.polyv.net/2019/liveproduct/zblts/send-admin-msg/

指定者:
接口 ILiveChatRoomService 中的 sendChatMsg
参数:
liveSendChatMsgRequest - 查询签到结果请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setChannelTeacherMsg

public Boolean setChannelTeacherMsg(LiveSetTeacherDataRequest liveSetTeacherDataRequest)
                             throws IOException,
                                    NoSuchAlgorithmException
设置讲师信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/update-channel-teacher/

指定者:
接口 ILiveChatRoomService 中的 setChannelTeacherMsg
参数:
liveSetTeacherDataRequest - 设置讲师信息请求实体
返回:
设置成功返回 "true" , 设置失败抛出异常 BussinessExcepiton
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

addBannedIP

public List<String> addBannedIP(LiveChatBannedIPRequest liveChatBannedIPRequest)
                         throws IOException,
                                NoSuchAlgorithmException
设置聊天室禁言ip,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addbannedip/

指定者:
接口 ILiveChatRoomService 中的 addBannedIP
参数:
liveChatBannedIPRequest - 设置聊天室禁言ip请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

addBadWord

public LiveBadWordResponse addBadWord(LiveBadWordRequest liveBadWordRequest)
                               throws IOException,
                                      NoSuchAlgorithmException
批量导入频道严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addforbiddenwords/

指定者:
接口 ILiveChatRoomService 中的 addBadWord
参数:
liveBadWordRequest - 批量导入频道严禁词请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getBannedList

public List<String> getBannedList(LiveGetBannedListRequest liveGetBannedListRequest)
                           throws IOException,
                                  NoSuchAlgorithmException
查询频道禁言列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-banned-list/

指定者:
接口 ILiveChatRoomService 中的 getBannedList
参数:
liveGetBannedListRequest - 查询频道禁言列表请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getKickedList

public List<LiveKickedListResponse> getKickedList(LiveKickedListRequest liveKickedListRequest)
                                           throws IOException,
                                                  NoSuchAlgorithmException
查询频道踢人列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/list-kicked/

指定者:
接口 ILiveChatRoomService 中的 getKickedList
参数:
liveKickedListRequest - 查询频道踢人列表请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

delBanned

public Boolean delBanned(LiveDelBannedDataRequest liveDelBannedDataRequest)
                  throws IOException,
                         NoSuchAlgorithmException
删除禁言IP/严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delbanned/

指定者:
接口 ILiveChatRoomService 中的 delBanned
参数:
liveDelBannedDataRequest - 删除禁言IP/严禁词请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getChannelBadworkList

public List<String> getChannelBadworkList(LiveGetBadwordIPRequest liveGetBadwordIPRequest)
                                   throws IOException,
                                          NoSuchAlgorithmException
查询频道严禁词/禁言IP列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/

指定者:
接口 ILiveChatRoomService 中的 getChannelBadworkList
参数:
liveGetBadwordIPRequest - 查询频道严禁词/禁言IP列表请求实体
返回:
禁言IP 或者 禁言词
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getAccountBadworkList

public List<String> getAccountBadworkList(LiveGetAccountBadWordRequest liveGetAccountBadWordRequest)
                                   throws IOException,
                                          NoSuchAlgorithmException
查询账号严禁词列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/user-badword-list/

指定者:
接口 ILiveChatRoomService 中的 getAccountBadworkList
参数:
liveGetAccountBadWordRequest - 查询账号严禁词列表请求实体
返回:
禁言词列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

cleanChannelAllMsg

public Boolean cleanChannelAllMsg(LiveCleanChannelAllMsgRequest liveCleanChannelAllMsgRequest)
                           throws IOException,
                                  NoSuchAlgorithmException
删除频道聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/cleanchat/

指定者:
接口 ILiveChatRoomService 中的 cleanChannelAllMsg
参数:
liveCleanChannelAllMsgRequest - 删除频道聊天记录请求实体
返回:
频道号
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

getChatAdminData

public LiveGetChatAdminDataResponse getChatAdminData(LiveGetChatAdminDataRequest liveGetChatAdminDataRequest)
                                              throws IOException,
                                                     NoSuchAlgorithmException
查询聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/get-chat-admin/

指定者:
接口 ILiveChatRoomService 中的 getChatAdminData
参数:
liveGetChatAdminDataRequest - 查询聊天室管理员信息请求实体
返回:
频道号
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

getHistoryChatMsg

public List<LiveGetHistoryChatMsgResponse> getHistoryChatMsg(LiveGetHistoryChatMsgRequest liveGetHistoryChatMsgRequest)
                                                      throws IOException,
                                                             NoSuchAlgorithmException
查询历史聊天信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/

指定者:
接口 ILiveChatRoomService 中的 getHistoryChatMsg
参数:
liveGetHistoryChatMsgRequest - 查询历史聊天信息请求实体
返回:
想要实体列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

delChatSingleMsg

public Boolean delChatSingleMsg(LiveChatDelSingleMsgRequest liveChatDelSingleMsgRequest)
                         throws IOException,
                                NoSuchAlgorithmException
删除单条聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delchat/

指定者:
接口 ILiveChatRoomService 中的 delChatSingleMsg
参数:
liveChatDelSingleMsgRequest - 删除单条聊天记录请求实体
返回:
是否成功
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

setChatAdminData

public Boolean setChatAdminData(LiveSetChatAdminDataRequest liveSetChatAdminDataRequest)
                         throws IOException,
                                NoSuchAlgorithmException
设置聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/set-chat-admin/

指定者:
接口 ILiveChatRoomService 中的 setChatAdminData
参数:
liveSetChatAdminDataRequest - 设置聊天室管理员信息请求实体
返回:
是否成功
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

getConsultingRecord

public List<LiveGetConsultingRecordResponse> getConsultingRecord(LiveGetConsultingRecordRequest liveGetConsultingRecordRequest)
                                                          throws IOException,
                                                                 NoSuchAlgorithmException
查询咨询提问记录,API地址:https://dev.polyv.net/2018/liveproduct/zblts/getquestion/

指定者:
接口 ILiveChatRoomService 中的 getConsultingRecord
参数:
liveGetConsultingRecordRequest - 查询咨询提问记录请求实体
返回:
实体列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getQuestionStatistical

public List<LiveGetQuestionStatisticalResponse> getQuestionStatistical(LiveGetQuestionStatisticalRequest liveGetQuestionStatisticalRequest)
                                                                throws IOException,
                                                                       NoSuchAlgorithmException
查询频道的问答统计结果,API地址:https://dev.polyv.net/2018/liveproduct/zblts/get-question-result/

指定者:
接口 ILiveChatRoomService 中的 getQuestionStatistical
参数:
liveGetQuestionStatisticalRequest - 查询频道的问答统计结果请求实体
返回:
想要实体列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常


Copyright © 2020. All Rights Reserved.