Interface RoomPreferenceFacade

All Known Implementing Classes:
DefaultRoomPreferenceFacade

public interface RoomPreferenceFacade
Facade that exposes the methods for the accommodation room preferences functionality
  • Method Details

    • getRoomPreferences

      List<RoomPreferenceData> getRoomPreferences(String roomPreferenceType)
      Fetches the room preferences for the accommodation based on the roomPreferenceType.
      Parameters:
      roomPreferenceType - the room preference type
      Returns:
      roomPreferences list of RoomPreferenceData
    • getRoomPreferences

      List<RoomPreferenceData> getRoomPreferences(List<String> roomPreferenceCode)
      Fetches the room preferences for the accommodation based on the roomPreferenceCode.
      Parameters:
      roomPreferenceCode - list of String
      Returns:
      roomPreferences list of RoomPreferenceData
    • saveRoomPreference

      Boolean saveRoomPreference(int roomStayRefNum, List<String> roomPreferenceCodes)
      Saves roomPreference against AccommodationOrderEntryGroup for the roomStayRefNum.
      Parameters:
      roomStayRefNum - the room stay ref num
      roomPreferenceCodes - the roomPreferenceCodes
      Returns:
      boolean
    • getRoomPreferencesForTypeAndAccommodation

      List<RoomPreferenceData> getRoomPreferencesForTypeAndAccommodation(String roomPreferenceType, List<RoomTypeData> roomTypes)
      Fetches the room preferences for the accommodation based on the roomPreferenceType and the list of room types.
      Parameters:
      roomPreferenceType - the room preference type
      roomTypes - the list of room types
      Returns:
      roomPreferences list of RoomPreferenceData