Uses of Class
org.jivesoftware.openfire.muc.Role
-
Packages that use Role Package Description org.jivesoftware.openfire.muc Implementation of Multi-User Chat (XEP-0045). -
-
Uses of Role in org.jivesoftware.openfire.muc
Methods in org.jivesoftware.openfire.muc that return Role Modifier and Type Method Description RoleMUCOccupant. getRole()Obtain the role state of the user.RoleMUCRoom. getRole(org.xmpp.packet.JID userAddress)static RoleRole. valueOf(int value)Returns the affiliation associated with the specified value.static RoleRole. valueOf(String name)Returns the enum constant of this type with the specified name.static Role[]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 Role Modifier and Type Method Description List<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 Role Modifier and Type Method Description List<org.xmpp.packet.Presence>MUCRoom. addOutcast(org.xmpp.packet.JID targetUserAddress, String reason, org.xmpp.packet.JID actorUserAddress, Affiliation actorAffiliation, Role actorRole)Adds a new user to the list of outcast users.List<org.xmpp.packet.Presence>MUCRoom. addParticipant(org.xmpp.packet.JID targetUserAddress, String reason, Affiliation actorAffiliation, Role actorRole)Changes the role of the user within the room to participant.List<org.xmpp.packet.Presence>MUCRoom. addVisitor(org.xmpp.packet.JID targetUserAddress, Affiliation actorAffiliation, Role actorRole)Changes the role of the user within the room to visitor.booleanMUCRoom. canBroadcastPresence(Role roleToBroadcast)Returns true if the presences of the requested role will be broadcast.List<org.xmpp.packet.Presence>MUCRoom. kickOccupant(org.xmpp.packet.JID userAddress, Affiliation actorAffiliation, Role actorRole, org.xmpp.packet.JID actorJID, String actorNickname, String reason)Kicks a user from the room.List<org.xmpp.packet.Presence>MUCRoom. kickOccupant(org.xmpp.packet.JID userAddress, Affiliation actorAffiliation, Role actorRole, org.xmpp.packet.JID actorJID, String actorNickname, String reason, int status)Kicks a user from the room.Method parameters in org.jivesoftware.openfire.muc with type arguments of type Role Modifier and Type Method Description voidMUCRoom. setRolesToBroadcastPresence(List<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 Role Constructor Description MUCOccupant(MUCRoom chatroom, String nickname, Role role, Affiliation affiliation, org.xmpp.packet.JID userJid, org.xmpp.packet.Presence presence)Create a new instance.
-