Interface RoomPreferenceFacade
- All Known Implementing Classes:
DefaultRoomPreferenceFacade
public interface RoomPreferenceFacade
Facade that exposes the methods for the accommodation room preferences functionality
-
Method Summary
Modifier and TypeMethodDescriptiongetRoomPreferences(String roomPreferenceType) Fetches the room preferences for the accommodation based on the roomPreferenceType.getRoomPreferences(List<String> roomPreferenceCode) Fetches the room preferences for the accommodation based on the roomPreferenceCode.getRoomPreferencesForTypeAndAccommodation(String roomPreferenceType, List<RoomTypeData> roomTypes) Fetches the room preferences for the accommodation based on the roomPreferenceType and the list of room types.saveRoomPreference(int roomStayRefNum, List<String> roomPreferenceCodes) Saves roomPreference against AccommodationOrderEntryGroup for the roomStayRefNum.
-
Method Details
-
getRoomPreferences
Fetches the room preferences for the accommodation based on the roomPreferenceType.- Parameters:
roomPreferenceType- the room preference type- Returns:
- roomPreferences list of RoomPreferenceData
-
getRoomPreferences
Fetches the room preferences for the accommodation based on the roomPreferenceCode.- Parameters:
roomPreferenceCode- list of String- Returns:
- roomPreferences list of RoomPreferenceData
-
saveRoomPreference
Saves roomPreference against AccommodationOrderEntryGroup for the roomStayRefNum.- Parameters:
roomStayRefNum- the room stay ref numroomPreferenceCodes- 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 typeroomTypes- the list of room types- Returns:
- roomPreferences list of RoomPreferenceData
-