public class DbMsgApi extends Object
| 构造器和说明 |
|---|
DbMsgApi() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.noear.solonjt.model.AFileModel |
fileGet(String path) |
static void |
msgAddDistribution(long msg_id,
org.noear.solonjt.model.AFileModel subs) |
static AMessageModel |
msgGet(long msg_id) |
static List<AMessageDistributionModel> |
msgGetDistributionList(long msg_id) |
static List<Long> |
msgGetList(int rows,
int ntime) |
static List<org.noear.solonjt.model.AFileModel> |
msgGetSubs(String topic) |
static Object |
msgPublish(Map<String,Object> data) |
static Object |
msgRorward(Map<String,Object> data) |
static boolean |
msgSetDistributionState(long msg_id,
AMessageDistributionModel dist,
int state) |
static boolean |
msgSetRepet(AMessageModel msg,
int state) |
static boolean |
msgSetState(long msg_id,
int state) |
static boolean |
msgSetState(long msg_id,
int state,
int nexttime) |
public static org.noear.solonjt.model.AFileModel fileGet(String path) throws Exception
Exceptionpublic static List<org.noear.solonjt.model.AFileModel> msgGetSubs(String topic) throws Exception
Exceptionpublic static AMessageModel msgGet(long msg_id) throws Exception
Exceptionpublic static List<Long> msgGetList(int rows, int ntime) throws SQLException
SQLExceptionpublic static boolean msgSetState(long msg_id,
int state)
public static boolean msgSetState(long msg_id,
int state,
int nexttime)
public static boolean msgSetRepet(AMessageModel msg, int state)
public static void msgAddDistribution(long msg_id,
org.noear.solonjt.model.AFileModel subs)
throws SQLException
SQLExceptionpublic static List<AMessageDistributionModel> msgGetDistributionList(long msg_id) throws Exception
Exceptionpublic static boolean msgSetDistributionState(long msg_id,
AMessageDistributionModel dist,
int state)
Copyright © 2020. All rights reserved.