Class DefaultPROSTravelBundleTemplateDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.configurablebundleservices.daos.impl.DefaultBundleTemplateDao
de.hybris.platform.travelservices.dao.impl.DefaultTravelBundleTemplateDao
de.hybris.platform.prosservices.dao.impl.DefaultPROSTravelBundleTemplateDao
- All Implemented Interfaces:
de.hybris.platform.configurablebundleservices.daos.BundleTemplateDao,PROSTravelBundleTemplateDao,de.hybris.platform.servicelayer.internal.dao.Dao,TravelBundleTemplateDao
public class DefaultPROSTravelBundleTemplateDao
extends DefaultTravelBundleTemplateDao
implements PROSTravelBundleTemplateDao
Default Pros implementation of the DAO on Bundle Template model objects.
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
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 class de.hybris.platform.travelservices.dao.impl.DefaultTravelBundleTemplateDao
findBundleTemplateByCodeAndCatalogVersion, findBundleTemplates, findBundleTemplates, findBundleTemplates, findDefaultBundleTemplatesMethods inherited from class de.hybris.platform.configurablebundleservices.daos.impl.DefaultBundleTemplateDao
findAbstractOrderEntriesByBundleTemplate, findAllApprovedRootBundleTemplates, findAllRootBundleTemplates, findBundleTemplateById, findBundleTemplateByIdAndVersion, findBundleTemplatesByProduct, findTemplatesByMasterOrderAndBundleNoMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
DefaultPROSTravelBundleTemplateDao
public DefaultPROSTravelBundleTemplateDao()
-
-
Method Details
-
findBundleTemplates
Description copied from interface:PROSTravelBundleTemplateDaoFinds bundle template model for the given fareBucketCode. This method returns a list of bundleTemplates that contain ShoppingFareProduct with the given fareBucketCodes.- Specified by:
findBundleTemplatesin interfacePROSTravelBundleTemplateDao- Parameters:
fareBucketCodes- as a list of fare bucket codes- Returns:
- a list of bundle template for the given fareBucketCodes
-
findBundleTemplateByCode
Description copied from interface:PROSTravelBundleTemplateDaoFinds bundle template model for the given fareBucketCode. This method returns a bundleTemplate that contain ShoppingFareProduct with the given fareBucketCode.- Specified by:
findBundleTemplateByCodein interfacePROSTravelBundleTemplateDao- Parameters:
fareBucketCode- as a fare bucket code- Returns:
- a bundle template for the given fareBucketCode
-
findBundleTemplatesByBundleTypeCode
public List<BundleTemplateModel> findBundleTemplatesByBundleTypeCode(String bundleTypeCode) throws de.hybris.platform.servicelayer.exceptions.ModelNotFoundException Description copied from interface:PROSTravelBundleTemplateDaoFind BundleTemplate model based on the bundleTypeCode.- Specified by:
findBundleTemplatesByBundleTypeCodein interfacePROSTravelBundleTemplateDao- Parameters:
bundleTypeCode- the bundleTypeCode- Returns:
- the list of BundleTemplate
- Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- the model not found exception
-
findBundleTemplatesByTypeAndApiUserAndShoppingReference
public List<BundleTemplateModel> findBundleTemplatesByTypeAndApiUserAndShoppingReference(String bundleTypeCode, String apiUser, String shoppingFareReference) Description copied from interface:PROSTravelBundleTemplateDaoFinds bundle templates having the same bundle type code and fare product with same shoppingReference and apiUser- Specified by:
findBundleTemplatesByTypeAndApiUserAndShoppingReferencein interfacePROSTravelBundleTemplateDao- Parameters:
bundleTypeCode- the bundle type codeapiUser- the api usershoppingFareReference- the shopping fare reference- Returns:
- a list of
BundleTemplateModel
-