Class UserVaultService
java.lang.Object
dev.getelements.elements.service.blockchain.omni.UserVaultService
- 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 request) Creates a newVault.voiddeleteVault(String vaultId) Deletes aVault.getUser()Gets a specific vault wiht the supplied id.Gets all vaults, optionally filtered by user IDvoidsetSuperUserVaultService(SuperUserVaultService superUserVaultService) voidvoidsetVaultDao(VaultDao vaultDao) updateVault(String vaultId, UpdateVaultRequest request) Updates an existingVault.
-
Constructor Details
-
UserVaultService
public UserVaultService()
-
-
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:
request- theCreateWalletRequest- Returns:
- the
Vaultas was written to the database
-
updateVault
Description copied from interface:VaultServiceUpdates an existingVault.- Specified by:
updateVaultin interfaceVaultService- Parameters:
request- theCreateWalletRequest- Returns:
- the
Vaultas was written to the database
-
deleteVault
Description copied from interface:VaultServiceDeletes aVault.- Specified by:
deleteVaultin interfaceVaultService- Parameters:
vaultId- the vault's id
-
getUser
-
setUser
-
getVaultDao
-
setVaultDao
-
getSuperUserVaultService
-
setSuperUserVaultService
-