Class PresenceRateServiceImpl
java.lang.Object
ch.tocco.nice2.optional.reservation.impl.PresenceRateServiceImpl
- All Implemented Interfaces:
PresenceRateService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
calculatePresencesForRegistration
(Entity registrationEntity, @Nullable HashSet<PrimaryKey> excludedEntities) used to calculate actual durations and presence rates for a registration
-
Constructor Details
-
PresenceRateServiceImpl
-
-
Method Details
-
calculatePresencesForRegistration
public void calculatePresencesForRegistration(Entity registrationEntity, @Nullable @Nullable HashSet<PrimaryKey> excludedEntities) Description copied from interface:PresenceRateService
used to calculate actual durations and presence rates for a registration- Specified by:
calculatePresencesForRegistration
in interfacePresenceRateService
- Parameters:
registrationEntity
- the registration to calculateexcludedEntities
- reservationRegistration entities to ignore when calculating totals
-