Class DefaultGuestOccupancyService

java.lang.Object
de.hybris.platform.travelservices.services.impl.DefaultGuestOccupancyService
All Implemented Interfaces:
GuestOccupancyService

public class DefaultGuestOccupancyService extends Object implements 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 Details

    • DefaultGuestOccupancyService

      public DefaultGuestOccupancyService()
  • Method Details

    • getGuestOccupancy

      public GuestOccupancyModel getGuestOccupancy(String guestOccupancyCode)
      Description copied from interface: GuestOccupancyService
      Return the GuestOccupancyModel for given guestOccupancyCode
      Specified by:
      getGuestOccupancy in interface GuestOccupancyService
      Parameters:
      guestOccupancyCode - the guest occupancy code
      Returns:
      the GuestOccupancyModel
    • getGuestOccupancyDao

      protected GuestOccupancyDao getGuestOccupancyDao()
      Returns:
      guestOccupancyDao
    • setGuestOccupancyDao

      public void setGuestOccupancyDao(GuestOccupancyDao guestOccupancyDao)
      Parameters:
      guestOccupancyDao - the guestOccupancyDao to set