webfunds.client.sox
Class StoreAccountStore

java.lang.Object
  |
  +--webfunds.utils.Debug
        |
        +--webfunds.client.sox.StoreAccountStore

public class StoreAccountStore
extends Debug
implements AccountStore


Fields inherited from class webfunds.utils.Debug
bug, debugAll, logfix
 
Constructor Summary
StoreAccountStore(Store store)
          Store for accounts.
StoreAccountStore(Store store, IssuerFinder finder)
          Store for accounts.
 
Method Summary
 void addAccount(Account acct)
           
 void deleteAccount(Account acct)
           
 Account getAccount(AccountId acct)
           
 Account[] getAllAccounts()
           
 boolean isChanged()
           
 
Methods inherited from class webfunds.utils.Debug
debug, debug, debug, debug, err, getDebug, logend, logmsg, logstart, logword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreAccountStore

public StoreAccountStore(Store store)
Store for accounts. No IssuerFinder is set in the accounts, caller has to set it.

StoreAccountStore

public StoreAccountStore(Store store,
                         IssuerFinder finder)
Store for accounts.
Method Detail

getAllAccounts

public Account[] getAllAccounts()
Specified by:
getAllAccounts in interface AccountStore

addAccount

public void addAccount(Account acct)
                throws StoreException
Specified by:
addAccount in interface AccountStore

deleteAccount

public void deleteAccount(Account acct)
                   throws StoreException
Specified by:
deleteAccount in interface AccountStore

getAccount

public Account getAccount(AccountId acct)
                   throws StoreException
Specified by:
getAccount in interface AccountStore

isChanged

public boolean isChanged()
Specified by:
isChanged in interface AccountStore