public interface MsgClient<V extends Msg>
| 限定符和类型 | 方法和说明 |
|---|---|
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 personId)
获取指定参与者信息列表
|
void |
sendMassMsg(V msg,
List<String> personIds)
群发信息
|
void |
updateMsg(V msg) |
<T extends List<V>> ListResultModel<T> getAllSendMsg() throws JDSException
JDSException<T extends List<V>> ListResultModel<T> getSendMsgByPerson(String personId) throws JDSException
personId - JDSException<T extends List<V>> ListResultModel<T> getAllReceiveMsg() throws JDSException
JDSException<T extends List<V>> ListResultModel<T> getReceiveMsgByPerson(String fromPersonId) throws JDSException
fromPersonId - JDSExceptionV creatMsg2Person(String toPersonId) throws JDSException
toPersonId - JDSExceptionV creatMsg() throws JDSException
JDSException<T extends List<V>> ListResultModel<T> getMsgList(Condition<MsgConditionKey,JLuceneIndex> condition) throws JDSException
condition - JDSExceptionvoid sendMassMsg(V msg, List<String> personIds) throws JDSException
msg - personIds - JDSExceptionvoid updateMsg(V msg)
void deleteMsg(String msgId)
Copyright © 2023 onecode. All rights reserved.