Interface PROSTravelBundleTemplateDao
- All Superinterfaces:
de.hybris.platform.configurablebundleservices.daos.BundleTemplateDao,TravelBundleTemplateDao
- All Known Implementing Classes:
DefaultPROSTravelBundleTemplateDao
BundleTemplate Dao interface which provides functionality to manage Bundle Template.
-
Method Summary
Modifier and TypeMethodDescriptionfindBundleTemplateByCode(String fareBucketCode) Finds bundle template model for the given fareBucketCode.findBundleTemplates(List<String> fareBucketCodes) Finds bundle template model for the given fareBucketCode.findBundleTemplatesByBundleTypeCode(String bundleTypeCode) Find BundleTemplate model based on the bundleTypeCode.findBundleTemplatesByTypeAndApiUserAndShoppingReference(String bundleTypeCode, String apiUser, String shoppingFareReference) Finds bundle templates having the same bundle type code and fare product with same shoppingReference and apiUserMethods inherited from interface de.hybris.platform.configurablebundleservices.daos.BundleTemplateDao
findAbstractOrderEntriesByBundleTemplate, findAllApprovedRootBundleTemplates, findAllRootBundleTemplates, findBundleTemplateById, findBundleTemplateByIdAndVersion, findBundleTemplatesByProduct, findTemplatesByMasterOrderAndBundleNoMethods inherited from interface de.hybris.platform.travelservices.dao.TravelBundleTemplateDao
findBundleTemplateByCodeAndCatalogVersion, findBundleTemplates, findBundleTemplates, findBundleTemplates, findDefaultBundleTemplates
-
Method Details
-
findBundleTemplates
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
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 codeapiUser- the api usershoppingFareReference- the shopping fare reference- Returns:
- a list of
BundleTemplateModel
-