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
.void
deleteVault
(String vaultId) Deletes aVault
.Gets a specific vault wiht the supplied id.getVaultForUpdate
(String vaultId, UpdateVaultRequest updateVaultRequest) Gets all vaults, optionally filtered by user IDvoid
setUserDao
(UserDao userDao) void
setValidationHelper
(ValidationHelper validationHelper) void
setVaultCryptoUtilities
(VaultCryptoUtilities vaultCryptoUtilities) void
setVaultDao
(VaultDao vaultDao) updateVault
(String vaultId, UpdateVaultRequest updateVaultRequest) Updates an existingVault
.
-
Constructor Details
-
SuperUserVaultService
public SuperUserVaultService()
-
-
Method Details
-
getVaults
Description copied from interface:VaultService
Gets all vaults, optionally filtered by user ID- Specified by:
getVaults
in interfaceVaultService
- Parameters:
offset
- the offsetcount
- the countuserId
- the user id- Returns:
- a
Pagination<Vault>
-
getVault
Description copied from interface:VaultService
Gets a specific vault wiht the supplied id.- Specified by:
getVault
in interfaceVaultService
- Parameters:
vaultId
- the vault's id- Returns:
- the
Vault
-
createVault
Description copied from interface:VaultService
Creates a newVault
.- Specified by:
createVault
in interfaceVaultService
- Parameters:
createVaultRequest
- theCreateWalletRequest
- Returns:
- the
Vault
as was written to the database
-
updateVault
Description copied from interface:VaultService
Updates an existingVault
.- Specified by:
updateVault
in interfaceVaultService
- Parameters:
updateVaultRequest
- theCreateWalletRequest
- Returns:
- the
Vault
as was written to the database
-
getVaultForUpdate
-
deleteVault
Description copied from interface:VaultService
Deletes aVault
.- Specified by:
deleteVault
in interfaceVaultService
- Parameters:
vaultId
- the vault's id
-
getUserDao
-
setUserDao
-
getVaultDao
-
setVaultDao
-
getValidationHelper
-
setValidationHelper
-
getVaultCryptoUtilities
-
setVaultCryptoUtilities
-