public class AccountStorage extends Object
| Constructor and Description |
|---|
AccountStorage(WalletAccountDAO walletAccountDAO) |
| Modifier and Type | Method and Description |
|---|---|
Wallet |
getWalletByAddress(String address) |
Wallet |
getWalletByIdentityId(long identityId) |
long |
getWalletsCount() |
Set<Wallet> |
listWallets()
Retrieves the list registered wallets
|
Wallet |
removeWallet(long identityId)
Removes a wallet identitied by user/space identity technical id
|
void |
saveWallet(Wallet wallet,
boolean isNew) |
public AccountStorage(WalletAccountDAO walletAccountDAO)
public long getWalletsCount()
public Wallet getWalletByIdentityId(long identityId)
identityId - user/space technical identty idWallet details for identitypublic Wallet getWalletByAddress(String address)
address - wallet addressWallet details identified by addresspublic void saveWallet(Wallet wallet, boolean isNew)
wallet - wallet details to saveisNew - whether this is a new wallet association or notCopyright © 2003–2019 eXo Platform SAS. All rights reserved.