public final class RoomInfoForm extends Object
| Constructor and Description |
|---|
RoomInfoForm(DataForm dataForm) |
| Modifier and Type | Method and Description |
|---|---|
List<Jid> |
getContacts()
Gets the contact addresses (normally, room owner or owners).
|
int |
getCurrentNumberOfOccupants()
Gets the current number of occupants in the room.
|
String |
getDescription()
Gets a short description.
|
String |
getLanguage()
Gets the natural language for room discussions.
|
String |
getLdapGroup()
Gets an associated LDAP group that defines
room membership; this should be an LDAP
Distinguished Name according to an
implementation-specific or
deployment-specific definition of a
group.
|
URL |
getLogs()
Gets an URL for archived discussion logs.
|
int |
getMaxHistoryMessages()
Gets the maximum number of history messages returned by the room.
|
String |
getSubject()
Gets the current discussion topic.
|
boolean |
isChangeSubjectAllowed()
Indicates, whether the room subject can be modified by participants.
|
void |
setChangeSubjectAllowed(boolean changeSubjectAllowed)
Indicates, whether the room subject can be modified by participants.
|
void |
setContacts(List<Jid> administrators)
Gets the contact addresses (normally, room owner or owners).
|
void |
setCurrentNumberOfOccupants(int currentNumberOfOccupants)
Sets the current number of occupants in the room.
|
void |
setDescription(String description)
Sets a short description.
|
void |
setLanguage(String language)
Sets the natural language for room discussions.
|
void |
setLdapGroup(String ldapGroup)
Sets an associated LDAP group that defines
room membership; this should be an LDAP
Distinguished Name according to an
implementation-specific or
deployment-specific definition of a
group.
|
void |
setLogs(URL logs)
Sets an URL for archived discussion logs.
|
void |
setMaxHistoryMessages(int maxHistoryMessages)
Sets the maximum number of history messages returned by the room.
|
void |
setSubject(String subject)
Sets the current discussion topic.
|
public RoomInfoForm(DataForm dataForm)
public int getMaxHistoryMessages()
public void setMaxHistoryMessages(int maxHistoryMessages)
maxHistoryMessages - The maximum number of history messages returned by the room.public List<Jid> getContacts()
public void setContacts(List<Jid> administrators)
administrators - The contact addresses.public String getDescription()
public void setDescription(String description)
description - The description.public String getLanguage()
public void setLanguage(String language)
language - The language.public String getLdapGroup()
public void setLdapGroup(String ldapGroup)
ldapGroup - LDAP group.public URL getLogs()
public void setLogs(URL logs)
logs - The URL.public int getCurrentNumberOfOccupants()
public void setCurrentNumberOfOccupants(int currentNumberOfOccupants)
currentNumberOfOccupants - The number of occupants.public String getSubject()
public void setSubject(String subject)
subject - The topic.public boolean isChangeSubjectAllowed()
public void setChangeSubjectAllowed(boolean changeSubjectAllowed)
changeSubjectAllowed - Whether the room subject can be modified by participants.Copyright © 2014 XMPP.rocks. All rights reserved.