Uses of Class
org.jivesoftware.openfire.muc.MUCRole.Affiliation
-
Packages that use MUCRole.Affiliation Package Description org.jivesoftware.openfire.muc Implementation of Multi-User Chat (XEP-0045).org.jivesoftware.openfire.muc.cluster org.jivesoftware.openfire.muc.spi Implementation of Multi-User Chat (XEP-0045). -
-
Uses of MUCRole.Affiliation in org.jivesoftware.openfire.muc
Methods in org.jivesoftware.openfire.muc that return MUCRole.Affiliation Modifier and Type Method Description MUCRole.Affiliation
MUCRole. getAffiliation()
Obtain the affiliation state of the user.MUCRole.Affiliation
MUCRoom. getAffiliation(org.xmpp.packet.JID bareJID)
Returns the affiliation state of the user in the room.static MUCRole.Affiliation
MUCRole.Affiliation. valueOf(int value)
Returns the affiliation associated with the specified value.static MUCRole.Affiliation
MUCRole.Affiliation. valueOf(String name)
Returns the enum constant of this type with the specified name.static MUCRole.Affiliation[]
MUCRole.Affiliation. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jivesoftware.openfire.muc with parameters of type MUCRole.Affiliation Modifier and Type Method Description void
MUCRole. setAffiliation(MUCRole.Affiliation newAffiliation)
Call this method to promote or demote a user's affiliation in a chatroom. -
Uses of MUCRole.Affiliation in org.jivesoftware.openfire.muc.cluster
Methods in org.jivesoftware.openfire.muc.cluster that return MUCRole.Affiliation Modifier and Type Method Description MUCRole.Affiliation
AddAffiliation. getAffiliation()
MUCRole.Affiliation
OccupantAddedEvent. getAffiliation()
MUCRole.Affiliation
UpdateOccupant. getAffiliation()
MUCRole.Affiliation
UpdateOccupantRequest. getAffiliation()
Constructors in org.jivesoftware.openfire.muc.cluster with parameters of type MUCRole.Affiliation Constructor Description AddAffiliation(LocalMUCRoom room, String bareJID, MUCRole.Affiliation affiliation)
AddAffiliation(LocalMUCRoom room, org.xmpp.packet.JID bareJID, MUCRole.Affiliation affiliation)
UpdateOccupantRequest(LocalMUCRoom room, String nickname, MUCRole.Affiliation newAffiliation, MUCRole.Role newRole)
-
Uses of MUCRole.Affiliation in org.jivesoftware.openfire.muc.spi
Methods in org.jivesoftware.openfire.muc.spi that return MUCRole.Affiliation Modifier and Type Method Description MUCRole.Affiliation
LocalMUCRole. getAffiliation()
MUCRole.Affiliation
LocalMUCRoom. getAffiliation(org.xmpp.packet.JID jid)
MUCRole.Affiliation
RemoteMUCRole. getAffiliation()
Methods in org.jivesoftware.openfire.muc.spi with parameters of type MUCRole.Affiliation Modifier and Type Method Description static void
MUCPersistenceManager. removeAffiliationFromDB(MUCRoom room, org.xmpp.packet.JID jid, MUCRole.Affiliation oldAffiliation)
Removes the affiliation of the user from the DB if the room is persistent.static void
MUCPersistenceManager. saveAffiliationToDB(MUCRoom room, org.xmpp.packet.JID jid, String nickname, MUCRole.Affiliation newAffiliation, MUCRole.Affiliation oldAffiliation)
Update the DB with the new affiliation of the user in the room.void
LocalMUCRole. setAffiliation(MUCRole.Affiliation newAffiliation)
void
RemoteMUCRole. setAffiliation(MUCRole.Affiliation newAffiliation)
Constructors in org.jivesoftware.openfire.muc.spi with parameters of type MUCRole.Affiliation Constructor Description LocalMUCRole(MultiUserChatService chatserver, LocalMUCRoom chatroom, String nickname, MUCRole.Role role, MUCRole.Affiliation affiliation, LocalMUCUser chatuser, org.xmpp.packet.Presence presence, PacketRouter packetRouter)
Create a new role.
-