public abstract class AbsctractDocumentWorkflow extends Object implements DocumentWorkflow
DocumentWorkflow| Constructor and Description |
|---|
AbsctractDocumentWorkflow() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
flow(T entity,
UnaryOperator<org.jnosql.diana.api.document.DocumentEntity> action)
Executes the workflow to do an interaction on a database document collection.
|
protected abstract DocumentEntityConverter |
getConverter() |
protected abstract DocumentEventPersistManager |
getDocumentEventPersistManager() |
protected abstract DocumentEventPersistManager getDocumentEventPersistManager()
protected abstract DocumentEntityConverter getConverter()
public <T> T flow(T entity,
UnaryOperator<org.jnosql.diana.api.document.DocumentEntity> action)
DocumentWorkflowflow in interface DocumentWorkflowT - the entity typeentity - the entity to be savedaction - the alteration to be executed on databaseDocumentTemplate#insert(Object)
DocumentTemplate#update(Object)Copyright © 2018. All rights reserved.