Class DefaultGuestCountService
java.lang.Object
de.hybris.platform.travelservices.services.impl.DefaultGuestCountService
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGuestCount(String passengerTypeCode, int quantity) Return the GuestCountModel corresponding to the given parametersprotected GuestCountDaovoidsetGuestCountDao(GuestCountDao guestCountDao)
-
Constructor Details
-
DefaultGuestCountService
public DefaultGuestCountService()
-
-
Method Details
-
getGuestCount
Description copied from interface:GuestCountServiceReturn the GuestCountModel corresponding to the given parameters- Specified by:
getGuestCountin interfaceGuestCountService- Parameters:
passengerTypeCode- the passenger type codequantity- the quantity- Returns:
- the GuestCountModel
-
getGuestCountDao
- Returns:
- guestCountDao
-
setGuestCountDao
- Parameters:
guestCountDao- the guestCountDao to set
-