public class ObjectPersistenceAdapter extends Object
| Constructor and Description |
|---|
ObjectPersistenceAdapter(EncryptionStreamService encryptionService,
org.adorsys.encobject.service.api.ExtendedStoreConnection storeConnection,
KeyCredentials keyCredentials,
ObjectMapperSPI objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
KeyCredentials |
getKeyCredentials() |
boolean |
hasStore()
Checks if the user with the given key credential has a store.
|
void |
initStore()
Initializes the store of the user with the given keyCredentials
|
<T> T |
load(org.adorsys.encobject.domain.ObjectHandle handle,
Class<T> klass) |
void |
newSecretKey(KeyCredentials keyCredentials,
KeyParams keyParams) |
<T> void |
store(org.adorsys.encobject.domain.ObjectHandle userMainRecordhandle,
T t) |
public ObjectPersistenceAdapter(EncryptionStreamService encryptionService, org.adorsys.encobject.service.api.ExtendedStoreConnection storeConnection, KeyCredentials keyCredentials, ObjectMapperSPI objectMapper)
public boolean hasStore()
public void initStore()
public <T> T load(org.adorsys.encobject.domain.ObjectHandle handle,
Class<T> klass)
public <T> void store(org.adorsys.encobject.domain.ObjectHandle userMainRecordhandle,
T t)
public KeyCredentials getKeyCredentials()
public void newSecretKey(KeyCredentials keyCredentials, KeyParams keyParams)
Copyright © 2019. All Rights Reserved.