Package ch.tocco.nice2.outputcenter.impl
Class CommonEntityDelegate
java.lang.Object
ch.tocco.nice2.outputcenter.impl.CommonEntityDelegate
- Direct Known Subclasses:
OutputJobImpl
,OutputJobItemImpl
,OutputJobMergeItemImpl
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommonEntityDelegate
(CommandExecutor executor, EntityLoadTask loader, DocumentDao documentDao) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Supplier
<T> protected EntityLoadTask
loader()
protected <T> Optional
<T> perform
(PersistTask<Void, T> task) resolveAndMap
(String relationName, PersistTask<Entity, T> fun) resolveAndMap
(String relationName, Function<Entity, T> fun) resolveSingleAndMap
(String relationName, PersistTask<Entity, T> fun) resolveSingleAndMap
(String relationName, Function<Entity, T> fun) resolveUniqueId
(String relationName)
-
Field Details
-
executor
-
documentDao
-
jobMapper
-
-
Constructor Details
-
CommonEntityDelegate
protected CommonEntityDelegate(CommandExecutor executor, EntityLoadTask loader, DocumentDao documentDao)
-
-
Method Details
-
getDelegate
-
loader
-
getValue
-
perform
-
resolveUniqueId
-
resolveAndMap
-
resolveAndMap
-
resolveSingleAndMap
protected <T> Supplier<Optional<T>> resolveSingleAndMap(String relationName, PersistTask<Entity, T> fun) -
resolveSingleAndMap
-