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
ConstructorDescriptionCreateReservationBodyTask
(DefaultDisplayService defaultDisplayService, @Nullable TimezoneResolverService timezoneresolverService, @Nullable ReservationBodyExtension reservationBodyExtension) -
Method Summary
Modifier and TypeMethodDescriptiondoRun
(Tuple2<Month, EntityList> params, CommandContext commandContext) 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
-
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:
doRun
in interfaceOptionalTask<Tuple2<Month,
EntityList>, Tuple2<List<List<Object>>, List<List<CellStyling>>>> - Throws:
Exception
-