Uses of Class
rocks.xmpp.extensions.muc.model.Role
-
Packages that use Role Package Description rocks.xmpp.extensions.muc Provides classes for XEP-0045: Multi-User Chat.rocks.xmpp.extensions.muc.model Provides XML schema implementations and configuration classes for XEP-0045: Multi-User Chat.rocks.xmpp.extensions.muc.model.admin Provides XML schema implementations of XEP-0045: Multi-User Chat (#admin).rocks.xmpp.extensions.muc.model.user Provides XML schema implementations of XEP-0045: Multi-User Chat (#user). -
-
Uses of Role in rocks.xmpp.extensions.muc
Methods in rocks.xmpp.extensions.muc that return Role Modifier and Type Method Description Role
Occupant. getRole()
Gets the role of the occupant.Methods in rocks.xmpp.extensions.muc with parameters of type Role Modifier and Type Method Description AsyncResult<IQ>
ChatRoom. changeRole(Role role, String nickname, String reason)
Changes the role for an occupant. -
Uses of Role in rocks.xmpp.extensions.muc.model
Methods in rocks.xmpp.extensions.muc.model that return Role Modifier and Type Method Description Role
Item. getRole()
Gets the role.Role
RequestVoice. getRole()
Gets the requested role.static Role
Role. 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 rocks.xmpp.extensions.muc.model that return types with arguments of type Role Modifier and Type Method Description Collection<Role>
RoomConfiguration. getRolesForWhichPresenceIsBroadcast()
Gets the roles for which presence is broadcast.Collection<Role>
RoomConfiguration. getRolesThatMayDiscoverRealJids()
Get the roles, which may discover real JIDs.Collection<Role>
RoomConfiguration. getRolesThatMayRetrieveMemberList()
Gets the roles which may retrieve member list.Collection<Role>
RoomConfiguration. getRolesThatMaySendPrivateMessages()
Gets the roles that may send private messages.Methods in rocks.xmpp.extensions.muc.model with parameters of type Role Modifier and Type Method Description boolean
Role. isHigherThan(Role role)
Compares two roles and returns true, if this role is higher than the other with regards to their privileges in a multi-user chat.RequestVoice.Builder
RequestVoice.Builder. role(Role role)
Sets the requested role.Method parameters in rocks.xmpp.extensions.muc.model with type arguments of type Role Modifier and Type Method Description RoomConfiguration.Builder
RoomConfiguration.Builder. rolesForWhichPresenceIsBroadcast(Collection<Role> roles)
Roles for which presence is broadcast.RoomConfiguration.Builder
RoomConfiguration.Builder. rolesThatMayDiscoverRealJids(Collection<Role> roles)
Roles that may discover real JIDs of occupants.RoomConfiguration.Builder
RoomConfiguration.Builder. rolesThatMayRetrieveMemberList(Collection<Role> rolesThatMayRetrieveMemberList)
Roles that may retrieve member list.RoomConfiguration.Builder
RoomConfiguration.Builder. rolesThatMaySendPrivateMessages(Collection<Role> rolesThatMaySendPrivateMessages)
Roles that may send private messages. -
Uses of Role in rocks.xmpp.extensions.muc.model.admin
Methods in rocks.xmpp.extensions.muc.model.admin with parameters of type Role Modifier and Type Method Description static Item
MucAdmin. createItem(Affiliation affiliation, Role role, Jid jid, String nick, Actor actor, String reason)
Creates an item, which can be used as input parameter forMucAdmin.withItems(Item...)
.static Item
MucAdmin. createItem(Role role)
Creates an item, which can be used as input parameter forMucAdmin.withItems(Item...)
.static Item
MucAdmin. createItem(Role role, String nick)
Creates an item, which can be used as input parameter forMucAdmin.withItems(Item...)
.static Item
MucAdmin. createItem(Role role, String nick, String reason)
Creates an item, which can be used as input parameter forMucAdmin.withItems(Item...)
.static MucAdmin
MucAdmin. withItem(Role role)
Creates a<query/>
element with an<item/>
child element.static MucAdmin
MucAdmin. withItem(Role role, String nick, String reason)
Creates a<query/>
element with an<item/>
child element. -
Uses of Role in rocks.xmpp.extensions.muc.model.user
Methods in rocks.xmpp.extensions.muc.model.user with parameters of type Role Modifier and Type Method Description static MucUser
MucUser. withDestroy(Affiliation affiliation, Role role, Jid jid, String reason)
Creates a<x/>
element with an<item/>
and a<destroy/>
child element.static MucUser
MucUser. withItem(Affiliation affiliation, Role role, String nick, String reason)
Creates a<x/>
element with an<item/>
and a<status/>
child element.static MucUser
MucUser. withItem(Affiliation affiliation, Role role, Jid jid, String nick, Actor actor, String reason, Status... status)
Creates a<x/>
element with an<item/>
and a<status/>
child element.static MucUser
MucUser. withItem(Affiliation affiliation, Role role, Jid jid, String nick, Status... status)
Creates a<x/>
element with an<item/>
and a<status/>
child element.static MucUser
MucUser. withItem(Affiliation affiliation, Role role, Jid jid, Status... status)
Creates a<x/>
element with an<item/>
and a<status/>
child element.static MucUser
MucUser. withItem(Affiliation affiliation, Role role, Actor actor, String reason, Status... status)
Creates a<x/>
element with an<item/>
and a<status/>
child element.static MucUser
MucUser. withItem(Affiliation affiliation, Role role, Status... status)
Creates a<x/>
element with an<item/>
and a<status/>
child element.static MucUser
MucUser. withItem(Role role, String nick, String reason, Status... status)
Creates a<x/>
element with an<item/>
and a<status/>
child element.
-