Class CreateReservationBodyTask
java.lang.Object
ch.tocco.nice2.optional.facilityreservation.impl.actions.planningoverview.tasks.CreateReservationBodyTask
- All Implemented Interfaces:
OptionalTask<Tuple2<Month, EntityList>, Tuple2<List<List<Object>>, List<List<CellStyling>>>>, PersistTask<Tuple2<Month, EntityList>, Tuple2<List<List<Object>>, List<List<CellStyling>>>>
public class CreateReservationBodyTask
extends Object
implements OptionalTask<Tuple2<Month, EntityList>, Tuple2<List<List<Object>>, List<List<CellStyling>>>>
-
Constructor Summary
ConstructorsConstructorDescriptionCreateReservationBodyTask(DefaultDisplayService defaultDisplayService, @Nullable TimezoneResolverService timezoneresolverService, @Nullable ReservationBodyExtension reservationBodyExtension) -
Method Summary
Modifier and TypeMethodDescriptiondoRun(Tuple2<Month, EntityList> params, 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
-
CreateReservationBodyTask
public CreateReservationBodyTask(DefaultDisplayService defaultDisplayService, @Nullable @Nullable TimezoneResolverService timezoneresolverService, @Nullable @Nullable ReservationBodyExtension reservationBodyExtension)
-
-
Method Details
-
doRun
public Tuple2<List<List<Object>>, List<List<CellStyling>>> doRun(Tuple2<Month, EntityList> params, CommandContext commandContext) throws Exception - Specified by:
doRunin interfaceOptionalTask<Tuple2<Month, EntityList>, Tuple2<List<List<Object>>, List<List<CellStyling>>>>- Throws:
Exception
-