public enum GroupIdentityEnum extends Enum<GroupIdentityEnum>
Enum Constant and Description |
---|
MANAGER
群管理员
|
MASTER
群主
|
MEMBER
普通成员
|
Modifier and Type | Method and Description |
---|---|
static boolean |
hasPowerOfCheckJoinGroupRequest(GroupIdentityEnum identityEnum)
检查用户在群中的职务是否具有加群审批权
|
static boolean |
hasPowerOfDeleteGroup(GroupIdentityEnum identityEnum)
检查用户在群组的身份,是否可以删除群组
|
static Boolean |
hasPowerOfLaunchSign(GroupIdentityEnum identityEnum)
检查用户在群组的身份,是否可以发起签到
|
static boolean |
hasPowerOfUpdateAuthWay(GroupIdentityEnum identityEnum)
检查用户在群组中的身份,是否可以修改群组默认申请方式
|
static boolean |
hasPowerOfUpdateGroupName(GroupIdentityEnum identityEnum)
检查用户在群组中的身份,是否可以修改群组名称
|
static List<GroupIdentityEnum> |
listIdentityCouldCheckJoinGroupRequest()
获取可以审批用户加群申请的所有群内成员角色
|
static GroupIdentityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupIdentityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupIdentityEnum MEMBER
public static final GroupIdentityEnum MANAGER
public static final GroupIdentityEnum MASTER
public static GroupIdentityEnum[] values()
for (GroupIdentityEnum c : GroupIdentityEnum.values()) System.out.println(c);
public static GroupIdentityEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean hasPowerOfCheckJoinGroupRequest(GroupIdentityEnum identityEnum)
identityEnum
- 用户身份public static List<GroupIdentityEnum> listIdentityCouldCheckJoinGroupRequest()
public static boolean hasPowerOfUpdateGroupName(GroupIdentityEnum identityEnum)
public static boolean hasPowerOfUpdateAuthWay(GroupIdentityEnum identityEnum)
public static boolean hasPowerOfDeleteGroup(GroupIdentityEnum identityEnum)
public static Boolean hasPowerOfLaunchSign(GroupIdentityEnum identityEnum)
Copyright © 2022. All rights reserved.