public class DefaultBundleTemplateDao extends AbstractItemDao implements BundleTemplateDao
BundleTemplateDao.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultBundleTemplateDao() |
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic BundleTemplateModel findBundleTemplateById(String bundleId)
BundleTemplateDaoBundleTemplateModel corresponding to the bundleIDfindBundleTemplateById in interface BundleTemplateDaoBundleTemplateModelpublic BundleTemplateModel findBundleTemplateByIdAndVersion(String bundleId, String version)
BundleTemplateDaoBundleTemplateModel corresponding to the bundleID and versionfindBundleTemplateByIdAndVersion in interface BundleTemplateDaoversion - Bundle VersionBundleTemplateModelpublic List<BundleTemplateModel> findBundleTemplatesByProduct(ProductModel productModel)
BundleTemplateDaoBundleTemplateModels for the given productModel. A BundleTemplateModel is
selected if it is a child bundle template and the given productModel is in the bundle template's
products list.findBundleTemplatesByProduct in interface BundleTemplateDaoproductModel - the productList of BundleTemplateModels or empty List.public List<BundleTemplateModel> findTemplatesByMasterOrderAndBundleNo(AbstractOrderModel masterAbstractOrder, int bundleNo)
BundleTemplateDaoBundleTemplateModels in the order entries that match the given filter criteriafindTemplatesByMasterOrderAndBundleNo in interface BundleTemplateDaomasterAbstractOrder - the master cart/order the bundle is inbundleNo - the number of the bundle to which the bundle templates belongList of BundleTemplateModels or empty List.public List<BundleTemplateModel> findAllRootBundleTemplates(CatalogVersionModel catalogVersion)
BundleTemplateDaoBundleTemplateModels.findAllRootBundleTemplates in interface BundleTemplateDaocatalogVersion - the catalogversion the bundletemplate is inList of BundleTemplateModelspublic List<BundleTemplateModel> findAllApprovedRootBundleTemplates(CatalogVersionModel catalogVersion)
BundleTemplateDaoBundleTemplateModels.findAllApprovedRootBundleTemplates in interface BundleTemplateDaocatalogVersion - the catalogversion the bundletemplate is inList of BundleTemplateModelspublic List<AbstractOrderEntryModel> findAbstractOrderEntriesByBundleTemplate(BundleTemplateModel bundleTemplate)
BundleTemplateDaoAbstractOrderEntryModels the given BundleTemplateModel is assigned tofindAbstractOrderEntriesByBundleTemplate in interface BundleTemplateDaobundleTemplate - the bundletemplateList of AbstractOrderEntryModelsCopyright © 2017 SAP SE. All Rights Reserved.