Package com.foxinmy.weixin4j.mp.api
Class GroupApi
- java.lang.Object
-
- com.foxinmy.weixin4j.api.BaseApi
-
- com.foxinmy.weixin4j.mp.api.MpApi
-
- com.foxinmy.weixin4j.mp.api.GroupApi
-
@Deprecated public class GroupApi extends MpApi
Deprecated.分组相关API- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
- See Also:
Group
-
-
Constructor Summary
Constructors Constructor Description GroupApi(com.foxinmy.weixin4j.token.TokenManager tokenManager)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GroupcreateGroup(String name)Deprecated.创建分组com.foxinmy.weixin4j.http.weixin.ApiResultdeleteGroup(int groupId)Deprecated.删除用户分组,所有该分组内的用户自动进入默认分组.intgetGroupByOpenId(String openId)Deprecated.查询用户所在分组List<Group>getGroups()Deprecated.查询所有分组com.foxinmy.weixin4j.http.weixin.ApiResultmodifyGroup(int groupId, String name)Deprecated.修改分组名com.foxinmy.weixin4j.http.weixin.ApiResultmoveGroup(int groupId, String openId)Deprecated.移动用户到分组com.foxinmy.weixin4j.http.weixin.ApiResultmoveGroup(int groupId, String... openIds)Deprecated.批量移动分组-
Methods inherited from class com.foxinmy.weixin4j.mp.api.MpApi
weixinBundle
-
-
-
-
Method Detail
-
createGroup
public Group createGroup(String name) throws com.foxinmy.weixin4j.exception.WeixinException
Deprecated.创建分组- Parameters:
name- 组名称- Returns:
- group对象
- Throws:
com.foxinmy.weixin4j.exception.WeixinException- See Also:
- 创建分组,
Group,Group.toCreateJson()
-
getGroups
public List<Group> getGroups() throws com.foxinmy.weixin4j.exception.WeixinException
Deprecated.查询所有分组
-
getGroupByOpenId
public int getGroupByOpenId(String openId) throws com.foxinmy.weixin4j.exception.WeixinException
Deprecated.查询用户所在分组
-
modifyGroup
public com.foxinmy.weixin4j.http.weixin.ApiResult modifyGroup(int groupId, String name) throws com.foxinmy.weixin4j.exception.WeixinExceptionDeprecated.修改分组名- Parameters:
groupId- 组IDname- 组名称- Throws:
com.foxinmy.weixin4j.exception.WeixinException- See Also:
- 修改分组名,
Group,Group.toModifyJson()
-
moveGroup
public com.foxinmy.weixin4j.http.weixin.ApiResult moveGroup(int groupId, String openId) throws com.foxinmy.weixin4j.exception.WeixinExceptionDeprecated.移动用户到分组
-
moveGroup
public com.foxinmy.weixin4j.http.weixin.ApiResult moveGroup(int groupId, String... openIds) throws com.foxinmy.weixin4j.exception.WeixinExceptionDeprecated.批量移动分组
-
-