Class DefaultGuestCountService

java.lang.Object
de.hybris.platform.travelservices.services.impl.DefaultGuestCountService
All Implemented Interfaces:
GuestCountService

public class DefaultGuestCountService extends Object implements GuestCountService
Class is responsible for providing concrete implementation of the GuestCountService interface. The class uses the guestCountDao class to query the database and return the GuestCountModel corresponding to the search parameters.
  • Constructor Details

    • DefaultGuestCountService

      public DefaultGuestCountService()
  • Method Details

    • getGuestCount

      public GuestCountModel getGuestCount(String passengerTypeCode, int quantity)
      Description copied from interface: GuestCountService
      Return the GuestCountModel corresponding to the given parameters
      Specified by:
      getGuestCount in interface GuestCountService
      Parameters:
      passengerTypeCode - the passenger type code
      quantity - the quantity
      Returns:
      the GuestCountModel
    • getGuestCountDao

      protected GuestCountDao getGuestCountDao()
      Returns:
      guestCountDao
    • setGuestCountDao

      public void setGuestCountDao(GuestCountDao guestCountDao)
      Parameters:
      guestCountDao - the guestCountDao to set