Class DefaultPresenceCheckActionService
java.lang.Object
ch.tocco.nice2.optional.reservation.api.actions.DefaultPresenceCheckActionService
- All Implemented Interfaces:
PresenceCheckActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.reservation.api.actions.PresenceCheckActionService
PresenceCheckActionService.KeyLabelEntityDisplay, PresenceCheckActionService.PresenceCheckInformationException, PresenceCheckActionService.PresenceCheckStatusDelegate, PresenceCheckActionService.ReservationRegistration, PresenceCheckActionService.ReservationRegistrationResult
-
Constructor Summary
ConstructorDescriptionDefaultPresenceCheckActionService
(EntityExplorerActionSelectionService selectionService, Context context, SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, BusinessUnitManager businessUnitManager, CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncreateRegistrationKeyEntityDisplay
(Entity eventEntity) createReservationKeyEntityDisplay
(Entity eventEntity, int numberOfReservations) protected boolean
displayReservationEntity
(Entity reservationEntity) getActualReservationRegistration
(EntityExplorerActionSelection selection, boolean isPercent) getActualReservationRegistration
(String pk, boolean isPercent) getReservationRegistrationResult
(String pk, int numberOfReservations) getStati()
isFutureSettable
(Entity registrationAccomplishmentStatus) protected Boolean
isFutureSettable
(String status) void
saveChangedRegistrationReservation
(String[] selection, String status) void
saveChangedRegistrationReservationPercent
(String[] selection, String percent) void
saveComment
(String key, String value) void
throwIfFutureReservation
(@Nullable Entity reservationRegistration)
-
Constructor Details
-
DefaultPresenceCheckActionService
public DefaultPresenceCheckActionService(EntityExplorerActionSelectionService selectionService, Context context, SecurityManager securityManager, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, BusinessUnitManager businessUnitManager, CommandExecutor commandExecutor)
-
-
Method Details
-
getReservationRegistrationResult
public PresenceCheckActionService.ReservationRegistrationResult getReservationRegistrationResult(EntityExplorerActionSelection selection) - Specified by:
getReservationRegistrationResult
in interfacePresenceCheckActionService
-
getReservationRegistrationResult
public PresenceCheckActionService.ReservationRegistrationResult getReservationRegistrationResult(String pk, int numberOfReservations) - Specified by:
getReservationRegistrationResult
in interfacePresenceCheckActionService
-
getActualReservationRegistration
public List<PresenceCheckActionService.ReservationRegistration> getActualReservationRegistration(EntityExplorerActionSelection selection, boolean isPercent) - Specified by:
getActualReservationRegistration
in interfacePresenceCheckActionService
-
getActualReservationRegistration
public List<PresenceCheckActionService.ReservationRegistration> getActualReservationRegistration(String pk, boolean isPercent) - Specified by:
getActualReservationRegistration
in interfacePresenceCheckActionService
-
saveChangedRegistrationReservation
- Specified by:
saveChangedRegistrationReservation
in interfacePresenceCheckActionService
-
saveChangedRegistrationReservationPercent
- Specified by:
saveChangedRegistrationReservationPercent
in interfacePresenceCheckActionService
-
getStati
- Specified by:
getStati
in interfacePresenceCheckActionService
-
saveComment
- Specified by:
saveComment
in interfacePresenceCheckActionService
-
isFutureSettable
-
isFutureSettable
- Specified by:
isFutureSettable
in interfacePresenceCheckActionService
-
throwIfFutureReservation
- Specified by:
throwIfFutureReservation
in interfacePresenceCheckActionService
-
createReservationKeyEntityDisplay
protected List<PresenceCheckActionService.KeyLabelEntityDisplay> createReservationKeyEntityDisplay(Entity eventEntity, int numberOfReservations) -
displayReservationEntity
-
createRegistrationKeyEntityDisplay
protected List<PresenceCheckActionService.KeyLabelEntityDisplay> createRegistrationKeyEntityDisplay(Entity eventEntity)
-