Class GenerateReservationActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.reservation.impl.actions.GenerateReservationActionServiceImpl
- All Implemented Interfaces:
GenerateReservationActionService
public class GenerateReservationActionServiceImpl
extends Object
implements GenerateReservationActionService
Generates reservation for selected events
-
Constructor Summary
ConstructorDescriptionGenerateReservationActionServiceImpl
(Context context, EntityExplorerActionSelectionService selectionService, TimezoneResolverService timezoneResolverService, RebindService rebindService, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, GenerateReservationService generateReservationService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(EntityExplorerActionSelection selection, RebindValue[] values, String repetitionType, @Nullable Integer repetitionCount, @Nullable org.joda.time.LocalDate repetitionTill, @Nullable String lecturerBookingPks, @Nullable String lecturerBookingPlanningStatusPk, @Nullable String lecturerBookingAccomplishmentStatusPk, @Nullable String lecturerBookingComment, @Nullable Long lessonDistance, @Nullable Integer lessonCount) getTemplateValues
(String templateKeyString)
-
Constructor Details
-
GenerateReservationActionServiceImpl
public GenerateReservationActionServiceImpl(Context context, EntityExplorerActionSelectionService selectionService, TimezoneResolverService timezoneResolverService, RebindService rebindService, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, GenerateReservationService generateReservationService)
-
-
Method Details
-
generate
public void generate(EntityExplorerActionSelection selection, RebindValue[] values, String repetitionType, @Nullable @Nullable Integer repetitionCount, @Nullable @Nullable org.joda.time.LocalDate repetitionTill, @Nullable @Nullable String lecturerBookingPks, @Nullable @Nullable String lecturerBookingPlanningStatusPk, @Nullable @Nullable String lecturerBookingAccomplishmentStatusPk, @Nullable @Nullable String lecturerBookingComment, @Nullable @Nullable Long lessonDistance, @Nullable @Nullable Integer lessonCount) throws PersistException, InterruptedException, RpcExecutionException, UnresolvableUriException, UriStoreException, RebindException, URISyntaxException - Specified by:
generate
in interfaceGenerateReservationActionService
- Throws:
PersistException
InterruptedException
RpcExecutionException
UnresolvableUriException
UriStoreException
RebindException
URISyntaxException
-
getLecturerBookingFormData
public Map<String,Object> getLecturerBookingFormData(EntityExplorerActionSelection selection) throws PersistException, RpcExecutionException - Specified by:
getLecturerBookingFormData
in interfaceGenerateReservationActionService
- Throws:
PersistException
RpcExecutionException
-
getTemplateValues
- Specified by:
getTemplateValues
in interfaceGenerateReservationActionService
- Throws:
PersistException
-