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.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, which is a long-lived association or connection with a room.MUCRole.Affiliation
MUCRoom. getAffiliation(org.xmpp.packet.JID jid)
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 static boolean
MUCRoom. isPrivilegedToChangeAffiliationAndRole(MUCRole.Affiliation actorAffiliation, MUCRole.Role actorRole, MUCRole.Affiliation occupantAffiliation, MUCRole.Role occupantRole, MUCRole.Affiliation newAffiliation, MUCRole.Role newRole)
void
MUCRole. setAffiliation(MUCRole.Affiliation newAffiliation)
Call this method to promote or demote a user's affiliation in a chatroom.Constructors in org.jivesoftware.openfire.muc with parameters of type MUCRole.Affiliation 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. -
Uses of MUCRole.Affiliation in org.jivesoftware.openfire.muc.spi
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.
-