Interface AccommodationOfferingDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.Dao
- All Known Implementing Classes:
DefaultAccommodationOfferingDao
public interface AccommodationOfferingDao
extends de.hybris.platform.servicelayer.internal.dao.Dao
Accommodation Offering Dao interface which provides functionality to manage Accommodation Offering.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a AccommodationOfferingModel for the given code.Return list of accommodation offerings configured in the system.de.hybris.platform.servicelayer.search.SearchResult<AccommodationOfferingModel>findAccommodationOfferings(int batchSize, int offset) Return list of accommodation offerings configured in the system.de.hybris.platform.servicelayer.search.SearchResult<AccommodationOfferingModel>findAccommodationOfferings(int batchSize, int offset, String catalogId) Return list of accommodation offerings configured in the system that have stock for accommodation belonging to the specified catalog id.
-
Method Details
-
findAccommodationOfferings
List<AccommodationOfferingModel> findAccommodationOfferings()Return list of accommodation offerings configured in the system.- Returns:
- List
list
-
findAccommodationOfferings
de.hybris.platform.servicelayer.search.SearchResult<AccommodationOfferingModel> findAccommodationOfferings(int batchSize, int offset) Return list of accommodation offerings configured in the system.- Parameters:
batchSize- the batch sizeoffset- the offset- Returns:
- List
search result
-
findAccommodationOffering
Returns a AccommodationOfferingModel for the given code.- Parameters:
code- of AccommodationOffering- Returns:
- AccommodationOfferingModel accommodation offering model
-
findAccommodationOfferings
de.hybris.platform.servicelayer.search.SearchResult<AccommodationOfferingModel> findAccommodationOfferings(int batchSize, int offset, String catalogId) Return list of accommodation offerings configured in the system that have stock for accommodation belonging to the specified catalog id.- Parameters:
batchSize- the batch sizeoffset- the offsetcatalogId- the catalog id- Returns:
- List
search result
-