public interface KeyValueWorkflow
KeyValueTemplate.
The default implementation follows:
KeyValueEventPersistManager.firePreEntity(Object)
KeyValueEventPersistManager.firePreKeyValueEntity(Object)
KeyValueEntityConverter.toKeyValue(Object)
KeyValueEventPersistManager.firePreKeyValue(KeyValueEntity)
Database alteration
KeyValueEventPersistManager.firePostKeyValue(KeyValueEntity)
| Modifier and Type | Method and Description |
|---|---|
<T> T |
flow(T entity,
UnaryOperator<KeyValueEntity> action)
Executes the workflow to do an interaction on a database key-value.
|
<T> T flow(T entity,
UnaryOperator<KeyValueEntity> action)
T - the entity typeentity - the entity to be savedaction - the alteration to be executed on database{@link KeyValueTemplate#put(Object)}
DocumentTemplate#update(Object)Copyright © 2017–2019 Eclipse Foundation. All rights reserved.