public final class RoomConfigurationForm extends Object
| Constructor and Description |
|---|
RoomConfigurationForm(DataForm dataForm) |
| Modifier and Type | Method and Description |
|---|---|
List<Jid> |
getAdministrators()
Gets the administrators.
|
Set<Role> |
getAllowedRolesToSendPrivateMessages()
Gets the roles that may send private messages.
|
String |
getLanguage()
Gets the natural language for room discussions.
|
int |
getMaxHistoryMessages()
Gets the maximum number of history messages returned by the room.
|
int |
getMaxOccupants()
Gets the maximum number of room occupants.
|
List<Jid> |
getOwners()
Gets the owners.
|
String |
getPassword()
Gets the room password.
|
URI |
getPubSubNode()
Gets the XMPP URI of associated publish-subscribe node.
|
Set<Role> |
getRolesForWhichPresenceIsBroadcast()
Gets the roles for which presence is broadcast.
|
Set<Role> |
getRolesWhichMayDiscoverRealJids()
Get the roles, which may discover real JIDs.
|
Set<Role> |
getRolesWhichMayRetrieveMemberList()
Gets the roles which may retrieve member list.
|
String |
getRoomDescription()
Gets a short description.
|
String |
getRoomName()
Gets the natural-language room name.
|
boolean |
isAllowInvites()
Indicates, whether to allow occupants to invite others.
|
boolean |
isChangeSubjectAllowed()
Indicates, whether to allow occupants to change subject.
|
boolean |
isMembersOnly()
Indicates, whether the room is members-only.
|
boolean |
isModerated()
Indicates, whether the room is moderated.
|
boolean |
isPasswordProtected()
Indicates, whether the room is password protected.
|
boolean |
isPersistentRoom()
Indicates, whether the room is persistent.
|
boolean |
isPublicLoggingEnabled()
Indicates, whether to enable public logging of room conversations.
|
boolean |
isPublicRoom()
Indicates, whether the room is public.
|
void |
setAdministrators(List<Jid> administrators)
Sets the administrators.
|
void |
setAllowedRolesToSendPrivateMessages(Set<Role> roles)
Sets the roles that may send private messages.
|
void |
setAllowInvites(boolean allowInvites)
Indicates, whether to allow occupants to invite others.
|
void |
setChangeSubjectAllowed(boolean changeSubjectAllowed)
Indicates, whether to allow occupants to change subject.
|
void |
setLanguage(String language)
Sets the natural language for room discussions.
|
void |
setMaxHistoryMessages(int maxHistoryMessages)
Sets the maximum number of history messages returned by the room.
|
void |
setMaxOccupants(int maxOccupants)
Sets the maximum number of room occupants.
|
void |
setMembersOnly(boolean membersOnly)
Indicates, whether the room is members-only.
|
void |
setModerated(boolean moderated)
Indicates, whether the room is moderated.
|
void |
setOwners(List<Jid> owners)
Sets the owners.
|
void |
setPassword(String password)
Sets the room password.
|
void |
setPasswordProtected(boolean passwordProtected)
Indicates, whether the room is password protected.
|
void |
setPersistentRoom(boolean persistentRoom)
Indicates, whether the room is persistent.
|
void |
setPublicLoggingEnabled(boolean publicLoggingEnabled)
Indicates, whether to enable public logging of room conversations.
|
void |
setPublicRoom(boolean publicRoom)
Indicates, whether the room is public.
|
void |
setPubSubNode(URI pubSubNode)
Sets the XMPP URI of associated publish-subscribe node.
|
void |
setRolesForWhichPresenceIsBroadcast(Set<Role> roles)
Sets the roles for which presence is broadcast.
|
void |
setRolesWhichMayDiscoverRealJids(Set<Role> roles)
Get the roles, which may discover real JIDs.
|
void |
setRolesWhichMayRetrieveMemberList(Set<Role> roles)
Sets the roles for which presence is broadcast.
|
void |
setRoomDescription(String description)
Sets a short description.
|
void |
setRoomName(String description)
Sets the natural-language room name.
|
public RoomConfigurationForm(DataForm dataForm)
public int getMaxHistoryMessages()
public void setMaxHistoryMessages(int maxHistoryMessages)
maxHistoryMessages - The maximum number of history messages returned by the room.public Set<Role> getAllowedRolesToSendPrivateMessages()
public void setAllowedRolesToSendPrivateMessages(Set<Role> roles)
roles - The roles.public boolean isAllowInvites()
public void setAllowInvites(boolean allowInvites)
allowInvites - True, if occupants are allowed to invite others.public boolean isChangeSubjectAllowed()
public void setChangeSubjectAllowed(boolean changeSubjectAllowed)
changeSubjectAllowed - True, if occupants are allowed to change subject.public boolean isPublicLoggingEnabled()
public void setPublicLoggingEnabled(boolean publicLoggingEnabled)
publicLoggingEnabled - True, if public logging of room conversations is enabled.public Set<Role> getRolesWhichMayRetrieveMemberList()
public void setRolesWhichMayRetrieveMemberList(Set<Role> roles)
roles - The roles for which presence is broadcast.public String getLanguage()
public void setLanguage(String language)
language - The language.public URI getPubSubNode()
public void setPubSubNode(URI pubSubNode)
pubSubNode - The URI.public int getMaxOccupants()
public void setMaxOccupants(int maxOccupants)
maxOccupants - The maximum number of room occupants.public boolean isMembersOnly()
public void setMembersOnly(boolean membersOnly)
membersOnly - True, if the room is members-only.public boolean isModerated()
public void setModerated(boolean moderated)
moderated - True, if the room is moderated.public boolean isPasswordProtected()
public void setPasswordProtected(boolean passwordProtected)
passwordProtected - True, if the room is password protected.public boolean isPersistentRoom()
public void setPersistentRoom(boolean persistentRoom)
persistentRoom - True, if the room is persistent.public Set<Role> getRolesForWhichPresenceIsBroadcast()
public void setRolesForWhichPresenceIsBroadcast(Set<Role> roles)
roles - The roles for which presence is broadcast.public boolean isPublicRoom()
public void setPublicRoom(boolean publicRoom)
publicRoom - True, if the room is public.public List<Jid> getAdministrators()
public void setAdministrators(List<Jid> administrators)
administrators - The administrators.public String getRoomDescription()
public void setRoomDescription(String description)
description - The description.public String getRoomName()
public void setRoomName(String description)
description - The room name.public String getPassword()
public void setPassword(String password)
password - The password.public Set<Role> getRolesWhichMayDiscoverRealJids()
Copyright © 2014 XMPP.rocks. All rights reserved.