Uses of Enum Class
org.jivesoftware.openfire.muc.Role
Packages that use Role
-
Uses of Role in org.jivesoftware.openfire.muc
Methods in org.jivesoftware.openfire.muc that return RoleModifier and TypeMethodDescriptionMUCOccupant.getRole()Obtain the role state of the user.MUCRoom.getRole(org.xmpp.packet.JID userAddress) static RoleRole.valueOf(int value) Returns the affiliation associated with the specified value.static RoleReturns the enum constant of this class with the specified name.static Role[]Role.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.jivesoftware.openfire.muc that return types with arguments of type RoleModifier and TypeMethodDescriptionMUCRoom.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 RoleModifier and TypeMethodDescriptionList<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 RoleModifier and TypeMethodDescriptionvoidMUCRoom.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 RoleModifierConstructorDescriptionMUCOccupant(MUCRoom chatroom, String nickname, Role role, Affiliation affiliation, org.xmpp.packet.JID userJid, org.xmpp.packet.Presence presence) Create a new instance.