Class DefaultGuestOccupancyService
java.lang.Object
de.hybris.platform.travelservices.services.impl.DefaultGuestOccupancyService
- All Implemented Interfaces:
GuestOccupancyService
Class is responsible for providing concrete implementation of the GuestOccupancyService interface. The class uses the
GuestOccupancyDao class to query the database and return the
GuestOccupancyModel corresponding to the search parameters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGuestOccupancy(String guestOccupancyCode) Return the GuestOccupancyModel for given guestOccupancyCodeprotected GuestOccupancyDaovoidsetGuestOccupancyDao(GuestOccupancyDao guestOccupancyDao)
-
Constructor Details
-
DefaultGuestOccupancyService
public DefaultGuestOccupancyService()
-
-
Method Details
-
getGuestOccupancy
Description copied from interface:GuestOccupancyServiceReturn the GuestOccupancyModel for given guestOccupancyCode- Specified by:
getGuestOccupancyin interfaceGuestOccupancyService- Parameters:
guestOccupancyCode- the guest occupancy code- Returns:
- the GuestOccupancyModel
-
getGuestOccupancyDao
- Returns:
- guestOccupancyDao
-
setGuestOccupancyDao
- Parameters:
guestOccupancyDao- the guestOccupancyDao to set
-