Class SuperUserVaultService
java.lang.Object
dev.getelements.elements.service.blockchain.omni.SuperUserVaultService
- All Implemented Interfaces:
VaultService
-
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.service.blockchain.VaultService
DEFAULT_VAULT_ALGORITHM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateVault(CreateVaultRequest createVaultRequest) Creates a newVault.voiddeleteVault(String vaultId) Deletes aVault.Gets a specific vault wiht the supplied id.getVaultForUpdate(String vaultId, UpdateVaultRequest updateVaultRequest) Gets all vaults, optionally filtered by user IDvoidsetUserDao(UserDao userDao) voidsetValidationHelper(ValidationHelper validationHelper) voidsetVaultCryptoUtilities(VaultCryptoUtilities vaultCryptoUtilities) voidsetVaultDao(VaultDao vaultDao) updateVault(String vaultId, UpdateVaultRequest updateVaultRequest) Updates an existingVault.
-
Constructor Details
-
SuperUserVaultService
public SuperUserVaultService()
-
-
Method Details
-
getVaults
Description copied from interface:VaultServiceGets all vaults, optionally filtered by user ID- Specified by:
getVaultsin interfaceVaultService- Parameters:
offset- the offsetcount- the countuserId- the user id- Returns:
- a
Pagination<Vault>
-
getVault
Description copied from interface:VaultServiceGets a specific vault wiht the supplied id.- Specified by:
getVaultin interfaceVaultService- Parameters:
vaultId- the vault's id- Returns:
- the
Vault
-
createVault
Description copied from interface:VaultServiceCreates a newVault.- Specified by:
createVaultin interfaceVaultService- Parameters:
createVaultRequest- theCreateWalletRequest- Returns:
- the
Vaultas was written to the database
-
updateVault
Description copied from interface:VaultServiceUpdates an existingVault.- Specified by:
updateVaultin interfaceVaultService- Parameters:
updateVaultRequest- theCreateWalletRequest- Returns:
- the
Vaultas was written to the database
-
getVaultForUpdate
-
deleteVault
Description copied from interface:VaultServiceDeletes aVault.- Specified by:
deleteVaultin interfaceVaultService- Parameters:
vaultId- the vault's id
-
getUserDao
-
setUserDao
-
getVaultDao
-
setVaultDao
-
getValidationHelper
-
setValidationHelper
-
getVaultCryptoUtilities
-
setVaultCryptoUtilities
-