org.ccs.openim.service.admin.OpenImAdminDefaultGroupService Maven / Gradle / Ivy
package org.ccs.openim.service.admin;
import org.ccs.openim.admin.OpenImAdminDefaultGroupRest;
import org.ccs.openim.admin.defaultGroup.req.AddDefaultGroupReq;
import org.ccs.openim.admin.defaultGroup.req.DelDefaultGroupReq;
import org.ccs.openim.admin.defaultGroup.req.FindDefaultGroupReq;
import org.ccs.openim.admin.defaultGroup.req.SearchDefaultGroupReq;
import org.ccs.openim.admin.defaultGroup.resp.FindDefaultGroupResp;
import org.ccs.openim.admin.defaultGroup.resp.SearchDefaultGroupResp;
import org.ccs.openim.base.OpenImResult;
import org.ccs.openim.base.OpenImToken;
public class OpenImAdminDefaultGroupService {
private OpenImAdminDefaultGroupRest openImAdminDefaultGroupRest = new OpenImAdminDefaultGroupRest();
/**
* 添加注册时默认群
* routePath=/default/group/add
*
* @param req
* @return
*/
public OpenImResult addDefaultGroup(OpenImToken openImToken, AddDefaultGroupReq req) {
return openImAdminDefaultGroupRest.addDefaultGroup(openImToken, req);
}
/**
* 删除注册时默认群
* routePath=/default/group/del
*
* @param req
* @return
*/
public OpenImResult delDefaultGroup(OpenImToken openImToken, DelDefaultGroupReq req) {
return openImAdminDefaultGroupRest.delDefaultGroup(openImToken, req);
}
/**
* 获取注册时默认群列表
* routePath=/default/group/find
*
* @param req
* @return
*/
public OpenImResult findDefaultGroup(OpenImToken openImToken, FindDefaultGroupReq req) {
return openImAdminDefaultGroupRest.findDefaultGroup(openImToken, req);
}
/**
* 获取注册时默认群列表
* routePath=/default/group/search
*
* @param req
* @return
*/
public OpenImResult searchDefaultGroup(OpenImToken openImToken, SearchDefaultGroupReq req) {
return openImAdminDefaultGroupRest.searchDefaultGroup(openImToken, req);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy