Interface PROSTravelBundleTemplateDao

All Superinterfaces:
de.hybris.platform.configurablebundleservices.daos.BundleTemplateDao, TravelBundleTemplateDao
All Known Implementing Classes:
DefaultPROSTravelBundleTemplateDao

public interface PROSTravelBundleTemplateDao extends TravelBundleTemplateDao
BundleTemplate Dao interface which provides functionality to manage Bundle Template.
  • Method Details

    • findBundleTemplates

      List<BundleTemplateModel> findBundleTemplates(List<String> fareBucketCodes)
      Finds bundle template model for the given fareBucketCode. This method returns a list of bundleTemplates that contain ShoppingFareProduct with the given fareBucketCodes.
      Parameters:
      fareBucketCodes - as a list of fare bucket codes
      Returns:
      a list of bundle template for the given fareBucketCodes
    • findBundleTemplateByCode

      BundleTemplateModel findBundleTemplateByCode(String fareBucketCode)
      Finds bundle template model for the given fareBucketCode. This method returns a bundleTemplate that contain ShoppingFareProduct with the given fareBucketCode.
      Parameters:
      fareBucketCode - as a fare bucket code
      Returns:
      a bundle template for the given fareBucketCode
    • findBundleTemplatesByBundleTypeCode

      List<BundleTemplateModel> findBundleTemplatesByBundleTypeCode(String bundleTypeCode) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException
      Find BundleTemplate model based on the bundleTypeCode.
      Parameters:
      bundleTypeCode - the bundleTypeCode
      Returns:
      the list of BundleTemplate
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - the model not found exception
    • findBundleTemplatesByTypeAndApiUserAndShoppingReference

      List<BundleTemplateModel> findBundleTemplatesByTypeAndApiUserAndShoppingReference(String bundleTypeCode, String apiUser, String shoppingFareReference)
      Finds bundle templates having the same bundle type code and fare product with same shoppingReference and apiUser
      Parameters:
      bundleTypeCode - the bundle type code
      apiUser - the api user
      shoppingFareReference - the shopping fare reference
      Returns:
      a list of BundleTemplateModel