Interface BookingListFacade
- All Known Implementing Classes:
DefaultBookingListFacade
public interface BookingListFacade
Interface to retrieve the booking information for my account -> my booking section.
-
Method Summary
Modifier and TypeMethodDescriptiongetAccommodationRoomNameMapping(List<AccommodationReservationData> accommodationReservationDataList) Gets accommodation room name mapping.Returns a list of accommodation reservation data which corresponds to all accommodation bookings of the current customer in sessionReturns a list of reservation data which corresponds to all the bookings of the current customer in sessiongetCurrentCustomerTravelBookingList(SearchPageData searchPageData, boolean activeOnly) Returns a list of global travel reservation data with pagination which corresponds to all travel bookings of the current customer in sessionReturns a list of global travel reservation data which corresponds to all travel bookings of the current customer in sessiongetCurrentCustomerTravelBookings(SearchPageData searchPageData, boolean activeOnly) Returns a list of global travel reservation data with pagination which corresponds to all travel bookings of the current customer in sessionReturns only the accommodation bookings visible to the current userReturns only the bookings visible to the current user
-
Method Details
-
getCurrentCustomerBookings
List<ReservationData> getCurrentCustomerBookings()Returns a list of reservation data which corresponds to all the bookings of the current customer in session- Returns:
- list of current customer's bookings
-
getCurrentCustomerAccommodationBookings
List<AccommodationReservationData> getCurrentCustomerAccommodationBookings()Returns a list of accommodation reservation data which corresponds to all accommodation bookings of the current customer in session- Returns:
- list of current customer's bookings
-
getCurrentCustomerTravelBookings
List<GlobalTravelReservationData> getCurrentCustomerTravelBookings()Returns a list of global travel reservation data which corresponds to all travel bookings of the current customer in session- Returns:
- list of current customer's bookings
-
getCurrentCustomerTravelBookings
SearchPageData<GlobalTravelReservationData> getCurrentCustomerTravelBookings(SearchPageData searchPageData, boolean activeOnly) Returns a list of global travel reservation data with pagination which corresponds to all travel bookings of the current customer in session- Parameters:
searchPageData- the searchPageData contains requested pagination and sorting informationactiveOnly- when true only the active booking will be returned- Returns:
- list of current customer's bookings
-
getVisibleCurrentCustomerTravelBookings
List<GlobalTravelReservationData> getVisibleCurrentCustomerTravelBookings()Returns only the bookings visible to the current user- Returns:
- list of visible current customer travel bookings
-
getVisibleCurrentCustomerAccommodationBookings
List<AccommodationReservationData> getVisibleCurrentCustomerAccommodationBookings()Returns only the accommodation bookings visible to the current user- Returns:
- list of visible current customer accommodation bookings
-
getCurrentCustomerTravelBookingList
SearchPageData<GlobalTravelReservationData> getCurrentCustomerTravelBookingList(SearchPageData searchPageData, boolean activeOnly) Returns a list of global travel reservation data with pagination which corresponds to all travel bookings of the current customer in session- Parameters:
searchPageData- the searchPageData contains requested pagination and sorting informationactiveOnly- when true only the active booking will be returned- Returns:
- list of current customer's bookings
-
getAccommodationRoomNameMapping
Map<String,Map<String, getAccommodationRoomNameMappingInteger>> (List<AccommodationReservationData> accommodationReservationDataList) Gets accommodation room name mapping.- Parameters:
accommodationReservationDataList- the accommodation reservation datas- Returns:
- the accommodation room name mapping
-