com.multisoftgroup.jerry.webchat.domain
Class JerryAccount

java.lang.Object
  extended by com.multisoftgroup.jerry.webchat.domain.JerryAccount

public class JerryAccount
extends Object

This class represents a Jerry account. The accounts are defined in jerry.xml configuration file.

Jerry Messenger supports multiple accounts. Each account may have several operators. You may wish to create an account for each of department of your organization (sales, technical support, billing, etc). Or you may create an account for each of your web sites. The solution depends on your needs.

Jerry Messenger sends offline messages as well. If the all account operators are offline and 'email' is defined, the offline message will be sent to this email address.

See jerry.xml configuration file for more details.

Author:
Pavel Savin

Constructor Summary
JerryAccount()
           
 
Method Summary
 void addOperator(Operator operator)
           
 void addWebParam(String name, String value)
           
 I18nResources getDictionary()
           
 String getEmail()
           
 String getGreeting()
           
 String getName()
           
 String getOfflineImagePath()
           
 String getOfflineMessages()
           
 String getOnlineImagePath()
           
 List<Operator> getOperators()
           
 String getWebParam(String name)
           
 Map getWebParamMap()
           
 boolean isShowQuestion()
           
 void setDictionary(I18nResources dic)
           
 void setEmail(String email)
           
 void setGreeting(String greeting)
           
 void setName(String name)
           
 void setOfflineImagePath(String offlineImagePath)
           
 void setOfflineMessages(String offlineMessages)
           
 void setOnlineImagePath(String onlineImagePath)
           
 void setOperators(List operators)
           
 void setShowQuestion(boolean showQuestion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JerryAccount

public JerryAccount()
Method Detail

addOperator

public void addOperator(Operator operator)

getName

public String getName()

setName

public void setName(String name)

getOnlineImagePath

public String getOnlineImagePath()

setOnlineImagePath

public void setOnlineImagePath(String onlineImagePath)

getOfflineImagePath

public String getOfflineImagePath()

setOfflineImagePath

public void setOfflineImagePath(String offlineImagePath)

getEmail

public String getEmail()

getOperators

public List<Operator> getOperators()

getDictionary

public I18nResources getDictionary()

getOfflineMessages

public String getOfflineMessages()

getGreeting

public String getGreeting()

isShowQuestion

public boolean isShowQuestion()

getWebParamMap

public Map getWebParamMap()

setEmail

public void setEmail(String email)

setDictionary

public void setDictionary(I18nResources dic)

setOperators

public void setOperators(List operators)

setOfflineMessages

public void setOfflineMessages(String offlineMessages)

setGreeting

public void setGreeting(String greeting)

setShowQuestion

public void setShowQuestion(boolean showQuestion)

addWebParam

public void addWebParam(String name,
                        String value)

getWebParam

public String getWebParam(String name)