Class PresenceRateServiceImpl

java.lang.Object
ch.tocco.nice2.optional.reservation.impl.PresenceRateServiceImpl
All Implemented Interfaces:
PresenceRateService

@Component public class PresenceRateServiceImpl extends Object implements PresenceRateService
  • Constructor Details

    • PresenceRateServiceImpl

      public PresenceRateServiceImpl(SecurityManager securityManager)
  • 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 interface PresenceRateService
      Parameters:
      registrationEntity - the registration to calculate
      excludedEntities - reservationRegistration entities to ignore when calculating totals