com.multisoftgroup.jerry.webchat.managers
Class JerryAccountManager

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

public class JerryAccountManager
extends Object

This class provides information about all Jerry accounts.

Author:
Pavel Savin

Method Summary
 JerryAccount getAccount(String accountName)
          This method allows you to find an JerryAccount by its name
 List<JerryAccount> getAllAccounts()
          This metod returns a list of all JerryAccounts.
static JerryAccountManager getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JerryAccountManager getInstance()

getAccount

public JerryAccount getAccount(String accountName)
This method allows you to find an JerryAccount by its name

Parameters:
accountName - account name
Returns:
found account or null

getAllAccounts

public List<JerryAccount> getAllAccounts()
This metod returns a list of all JerryAccounts.

Returns:
list of JerryAccount