com.multisoftgroup.jerry.jabber
Class AccountRepositoryHolder

java.lang.Object
  extended by com.multisoftgroup.jerry.jabber.AccountRepositoryHolder

public class AccountRepositoryHolder
extends Object


Method Summary
 Account getAccount(String username)
           
 List<Account> getAccountList()
           
 List<Account> getAccountList(String searchPattern)
           
static AccountRepositoryHolder getInstance()
           
 Account removeAccount(String username)
           
 void setAccount(Account userAccount)
           
 void setAccount(String accountStr)
           
 void setAccount(String name, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AccountRepositoryHolder getInstance()

getAccount

public Account getAccount(String username)

getAccountList

public List<Account> getAccountList(String searchPattern)

removeAccount

public Account removeAccount(String username)

setAccount

public void setAccount(Account userAccount)

setAccount

public void setAccount(String name,
                       String password)

setAccount

public void setAccount(String accountStr)

getAccountList

public List<Account> getAccountList()