|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ChatRoomMemberRole>
net.java.sip.communicator.service.protocol.ChatRoomMemberRole
public enum ChatRoomMemberRole
Indicates roles that a chat room member detains in its containing chat room.
| Enum Constant Summary | |
|---|---|
ADMINISTRATOR
A role implying administrative permissions. |
|
GUEST
A role implying standard participant permissions. |
|
MEMBER
A role implying standard participant permissions. |
|
MODERATOR
A role implying moderator permissions. |
|
OUTCAST
A role implying an explicit ban for the user to join the room. |
|
OWNER
A role implying the full set of chat room permissions |
|
SILENT_MEMBER
A role implying standard participant permissions without the right to send messages/speak. |
|
| Method Summary | |
|---|---|
String |
getLocalizedRoleName()
Returns a localized (i18n) name role name. |
int |
getRoleIndex()
Returns a role index that can be used to allow ordering of roles by other modules (like the UI) that would not necessarily "know" all possible roles. |
String |
getRoleName()
Returns the name of this role. |
static ChatRoomMemberRole |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ChatRoomMemberRole[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Enum Constant Detail |
|---|
public static final ChatRoomMemberRole OWNER
public static final ChatRoomMemberRole ADMINISTRATOR
public static final ChatRoomMemberRole MODERATOR
public static final ChatRoomMemberRole MEMBER
public static final ChatRoomMemberRole GUEST
public static final ChatRoomMemberRole SILENT_MEMBER
public static final ChatRoomMemberRole OUTCAST
| Method Detail |
|---|
public static ChatRoomMemberRole[] values()
for (ChatRoomMemberRole c : ChatRoomMemberRole.values()) System.out.println(c);
public static ChatRoomMemberRole valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getRoleName()
public String getLocalizedRoleName()
public int getRoleIndex()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||