com.multisoftgroup.jerry.webchat.managers
Class WebChatManager

java.lang.Object
  extended by com.multisoftgroup.jerry.webchat.managers.WebChatManager

public class WebChatManager
extends Object

This manager provides services for web side of Jerry Manager.

Author:
Pavel Savin

Field Summary
static JerryAccountManager accountManager
           
static PresenceManager presenceManager
           
 
Constructor Summary
WebChatManager()
           
 
Method Summary
static WebMessenger createMessenger(String accountName, String visitorName, String question, VisitorWebInfo info)
           
static com.multisoftgroup.jerry.webchat.servlets.bean.WebChatContext createWebChatContext(String accountName)
           
static String getVCard(String acountName, String visitorJID)
           
static void sendOfflineMessege(String accountName, String visitorName, String email, String message, VisitorWebInfo info)
           
static void updateWebMessenger(WebMessenger webMessenger, com.multisoftgroup.jerry.webchat.servlets.bean.WebChatContext webChatContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accountManager

public static JerryAccountManager accountManager

presenceManager

public static PresenceManager presenceManager
Constructor Detail

WebChatManager

public WebChatManager()
Method Detail

createMessenger

public static WebMessenger createMessenger(String accountName,
                                           String visitorName,
                                           String question,
                                           VisitorWebInfo info)
                                    throws IOException,
                                           WebMessageException,
                                           com.multisoftgroup.common.ApplicationException
Throws:
IOException
WebMessageException
com.multisoftgroup.common.ApplicationException

sendOfflineMessege

public static void sendOfflineMessege(String accountName,
                                      String visitorName,
                                      String email,
                                      String message,
                                      VisitorWebInfo info)
                               throws IOException,
                                      WebMessageException,
                                      com.multisoftgroup.common.ApplicationException
Throws:
IOException
WebMessageException
com.multisoftgroup.common.ApplicationException

createWebChatContext

public static com.multisoftgroup.jerry.webchat.servlets.bean.WebChatContext createWebChatContext(String accountName)
                                                                                          throws IOException,
                                                                                                 com.multisoftgroup.common.ApplicationException
Throws:
IOException
com.multisoftgroup.common.ApplicationException

updateWebMessenger

public static void updateWebMessenger(WebMessenger webMessenger,
                                      com.multisoftgroup.jerry.webchat.servlets.bean.WebChatContext webChatContent)

getVCard

public static String getVCard(String acountName,
                              String visitorJID)
                       throws com.multisoftgroup.common.ApplicationException
Throws:
com.multisoftgroup.common.ApplicationException