|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.spark.ui.conferences.ConferenceUtils
Method Summary | |
static void |
autoJoinConferenceRoom(java.lang.String roomName,
java.lang.String roomJID,
java.lang.String password)
|
static void |
createPrivateConference(java.lang.String serviceName,
java.lang.String message,
java.lang.String roomName,
java.util.Collection jids)
Creates a private conference. |
static java.lang.String |
getCreationDate(java.lang.String roomJID)
Retrieve the date (in yyyyMMdd) format of the time the room was created. |
static int |
getNumberOfOccupants(java.lang.String roomJID)
Return the number of occupants in a room. |
static java.util.Collection |
getRoomList(java.lang.String serviceName)
Return a list of available Conference rooms from the server based on the service name. |
static void |
inviteUsersToRoom(java.lang.String serviceName,
java.lang.String roomName,
java.util.Collection jids)
Invites users to an existing room. |
static void |
joinConferenceRoom(java.lang.String roomName,
java.lang.String roomJID)
|
static boolean |
requiresPassword(java.lang.String roomJID)
Returns true if the room requires a password. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.util.Collection getRoomList(java.lang.String serviceName) throws java.lang.Exception
serviceName
- the service name (ex. conference@jivesoftware.com)
java.lang.Exception
- if an error occured during fetch.public static int getNumberOfOccupants(java.lang.String roomJID) throws org.jivesoftware.smack.XMPPException
roomJID
- the full JID of the conference room. (ex. dev@conference.jivesoftware.com)
org.jivesoftware.smack.XMPPException
- thrown if an error occured during retrieval of the information.public static java.lang.String getCreationDate(java.lang.String roomJID) throws java.lang.Exception
roomJID
- the jid of the room.
java.lang.Exception
- throws an exception if we are unable to retrieve the date.public static void autoJoinConferenceRoom(java.lang.String roomName, java.lang.String roomJID, java.lang.String password)
public static void joinConferenceRoom(java.lang.String roomName, java.lang.String roomJID)
public static final void inviteUsersToRoom(java.lang.String serviceName, java.lang.String roomName, java.util.Collection jids)
serviceName
- the service name to use.roomName
- the name of the room.jids
- a collection of the users to invite.public static final boolean requiresPassword(java.lang.String roomJID)
roomJID
- the JID of the room.
public static void createPrivateConference(java.lang.String serviceName, java.lang.String message, java.lang.String roomName, java.util.Collection jids)
serviceName
- the service name to use for the private conference.message
- the message sent to each individual invitee.roomName
- the name of the room to create.jids
- a collection of the user JIDs to invite.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |