Interface AccommodationOfferingService

All Known Implementing Classes:
DefaultAccommodationOfferingService

public interface AccommodationOfferingService
AccommodationOffering Service interface which provides functionality to manage Accommodation Offering .
  • Method Details

    • getAccommodationOffering

      AccommodationOfferingModel getAccommodationOffering(String code) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Get a AccommodationOfferingModel by code.
      Parameters:
      code - the unique code for an accommodation offering
      Returns:
      AccommodationOfferingModel accommodation offering
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
    • getAccommodationOfferings

      List<AccommodationOfferingModel> getAccommodationOfferings()
      Get a list of all AccommodationOfferingModel configured in the system.
      Returns:
      List accommodation offerings
    • getAccommodationOfferings

      de.hybris.platform.servicelayer.search.SearchResult<AccommodationOfferingModel> getAccommodationOfferings(int batchSize, int offset)
      Get a list of all AccommodationOfferingModel configured in the system.
      Parameters:
      batchSize - the batch size
      offset - the offset
      Returns:
      List accommodation offerings
    • getAccommodationOfferings

      de.hybris.platform.servicelayer.search.SearchResult<AccommodationOfferingModel> getAccommodationOfferings(int batchSize, int offset, String catalogId)
      Get a list of all AccommodationOfferingModel configured in the system that have stock for accommodation belonging to the specified catalog id.
      Parameters:
      batchSize - the batch size
      offset - the offset
      catalogId - the catalog id
      Returns:
      SearchResult accommodation offerings