Uses of Class
org.jivesoftware.openfire.muc.MUCRole.Role
-
Packages that use MUCRole.Role Package Description org.jivesoftware.openfire.muc Implementation of Multi-User Chat (XEP-0045). -
-
Uses of MUCRole.Role in org.jivesoftware.openfire.muc
Methods in org.jivesoftware.openfire.muc that return MUCRole.Role Modifier and Type Method Description MUCRole.Role
MUCRole. getRole()
Obtain the role state of the user.MUCRole.Role
MUCRoom. getRole(org.xmpp.packet.JID jid)
static MUCRole.Role
MUCRole.Role. valueOf(int value)
Returns the affiliation associated with the specified value.static MUCRole.Role
MUCRole.Role. valueOf(String name)
Returns the enum constant of this type with the specified name.static MUCRole.Role[]
MUCRole.Role. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jivesoftware.openfire.muc that return types with arguments of type MUCRole.Role Modifier and Type Method Description List<MUCRole.Role>
MUCRoom. getRolesToBroadcastPresence()
Returns the list of roles of which presence will be broadcast to the rest of the occupants.Methods in org.jivesoftware.openfire.muc with parameters of type MUCRole.Role Modifier and Type Method Description boolean
MUCRoom. canBroadcastPresence(MUCRole.Role roleToBroadcast)
Returns true if the presences of the requested role will be broadcast.static boolean
MUCRoom. isPrivilegedToChangeAffiliationAndRole(MUCRole.Affiliation actorAffiliation, MUCRole.Role actorRole, MUCRole.Affiliation occupantAffiliation, MUCRole.Role occupantRole, MUCRole.Affiliation newAffiliation, MUCRole.Role newRole)
void
MUCRole. setRole(MUCRole.Role newRole)
Call this method to promote or demote a user's role in a chatroom.Method parameters in org.jivesoftware.openfire.muc with type arguments of type MUCRole.Role Modifier and Type Method Description void
MUCRoom. setRolesToBroadcastPresence(List<MUCRole.Role> rolesToBroadcastPresence)
Sets the list of roles of which presence will be broadcast to the rest of the occupants.Constructors in org.jivesoftware.openfire.muc with parameters of type MUCRole.Role Constructor Description MUCRole(MUCRoom chatroom, String nickname, MUCRole.Role role, MUCRole.Affiliation affiliation, org.xmpp.packet.JID userJid, org.xmpp.packet.Presence presence)
Create a new role.
-