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
ConstructorsConstructorDescriptionTemplateEntityMapper(TypeManager typeManager, CommandExecutor executor, Set<TemplateEntityFieldHandler> fieldHandlers, TemplateBlacklist templateBlacklist) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface OptionalTask
runMethods inherited from interface 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:
doRunin interfaceOptionalTask<Entity, TemplateEntity>- Throws:
Exception
-