Class EntityTemplateTasks.TemplateEntityMapper
java.lang.Object
ch.tocco.nice2.persist.entity.spi.template.EntityTemplateTasks.TemplateEntityMapper
- All Implemented Interfaces:
OptionalTask<Entity,
,TemplateEntity> PersistTask<Entity,
TemplateEntity>
- Enclosing class:
EntityTemplateTasks
public static class EntityTemplateTasks.TemplateEntityMapper
extends Object
implements OptionalTask<Entity,TemplateEntity>
A task to create the special
TemplateEntity
from a normal Entity
of model
`Entity_template`.-
Constructor Summary
ConstructorDescriptionTemplateEntityMapper
(TypeManager typeManager, CommandExecutor executor, Set<TemplateEntityFieldHandler> fieldHandlers, TemplateBlacklist templateBlacklist) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
TemplateEntityMapper
public TemplateEntityMapper(TypeManager typeManager, CommandExecutor executor, Set<TemplateEntityFieldHandler> fieldHandlers, TemplateBlacklist templateBlacklist)
-
-
Method Details
-
doRun
- Specified by:
doRun
in interfaceOptionalTask<Entity,
TemplateEntity> - Throws:
Exception
-