Class AbstractClassroomActionResource.CreateClassroomTask
java.lang.Object
ch.tocco.nice2.optional.classroom.impl.actions.AbstractClassroomActionResource.CreateClassroomTask
- All Implemented Interfaces:
OptionalTask<Entity,Entity>, PersistTask<Entity, Entity>
- Enclosing class:
AbstractClassroomActionResource
protected class AbstractClassroomActionResource.CreateClassroomTask
extends Object
implements OptionalTask<Entity,Entity>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadditionalLogic(Entity newClassroom) voidaddOrSetRelations(Entity newClassroom, Entity formEntity, String relName) doRun(Entity formEntity, CommandContext commandContext) 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
-
CreateClassroomTask
protected CreateClassroomTask()
-
-
Method Details
-
doRun
- Specified by:
doRunin interfaceOptionalTask<Entity,Entity>
-
additionalLogic
-
addOrSetRelations
-