| 构造器和说明 |
|---|
CtMsgClient(String personId,
Class<V> clazz) |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
cloneMsg(Msg msg) |
V |
creatMsg()
创建消息
|
V |
creatMsg2Person(String toPersonId)
创建向指定用户发送的消息
|
void |
deleteMsg(String msgId) |
<T extends List<V>> |
getAllReceiveMsg()
获取所有接收到的消息V
|
<T extends List<V>> |
getAllSendMsg()
获取所有消息(包含已发送及接受)
|
V |
getMsgById(String msgId) |
<T extends List<V>> |
getMsgList(Condition<MsgConditionKey,JLuceneIndex> condition)
查询消息
|
<T extends List<V>> |
getReceiveMsgByPerson(String fromPersonId)
获取指定接收对象的消息集合
|
<T extends List<V>> |
getSendMsgByPerson(String sendPersonId)
获取指定参与者信息列表
|
void |
sendMassMsg(V msg,
List<String> personIds)
群发信息
|
void |
updateMsg(V msg) |
public <T extends List<V>> ListResultModel<T> getAllSendMsg() throws JDSException
MsgClientgetAllSendMsg 在接口中 MsgClient<V extends Msg>JDSExceptionpublic <T extends List<V>> ListResultModel<T> getSendMsgByPerson(String sendPersonId) throws JDSException
MsgClientgetSendMsgByPerson 在接口中 MsgClient<V extends Msg>JDSExceptionpublic <T extends List<V>> ListResultModel<T> getAllReceiveMsg() throws JDSException
MsgClientgetAllReceiveMsg 在接口中 MsgClient<V extends Msg>JDSExceptionpublic <T extends List<V>> ListResultModel<T> getReceiveMsgByPerson(String fromPersonId) throws JDSException
MsgClientgetReceiveMsgByPerson 在接口中 MsgClient<V extends Msg>JDSExceptionpublic V creatMsg2Person(String toPersonId) throws JDSException
MsgClientcreatMsg2Person 在接口中 MsgClient<V extends Msg>JDSExceptionpublic V creatMsg() throws JDSException
MsgClientcreatMsg 在接口中 MsgClient<V extends Msg>JDSExceptionpublic <T extends List<V>> ListResultModel<T> getMsgList(Condition<MsgConditionKey,JLuceneIndex> condition) throws JDSException
MsgClientgetMsgList 在接口中 MsgClient<V extends Msg>JDSExceptionpublic void sendMassMsg(V msg, List<String> personIds) throws JDSException
MsgClientsendMassMsg 在接口中 MsgClient<V extends Msg>JDSExceptionCopyright © 2023 onecode. All rights reserved.