public interface BundleTemplateDao
BundleTemplateModel.| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractOrderEntryModel> |
findAbstractOrderEntriesByBundleTemplate(BundleTemplateModel bundleTemplate)
Find all
AbstractOrderEntryModels the given BundleTemplateModel is assigned to |
java.util.List<BundleTemplateModel> |
findAllApprovedRootBundleTemplates(CatalogVersionModel catalogVersion)
Find all approved
BundleTemplateModels. |
java.util.List<BundleTemplateModel> |
findAllRootBundleTemplates(CatalogVersionModel catalogVersion)
Find all
BundleTemplateModels. |
BundleTemplateModel |
findBundleTemplateById(java.lang.String bundleId)
This method returns the
BundleTemplateModel corresponding to the bundleID |
BundleTemplateModel |
findBundleTemplateByIdAndVersion(java.lang.String bundleId,
java.lang.String version)
This method returns the
BundleTemplateModel corresponding to the bundleID and version |
java.util.List<BundleTemplateModel> |
findBundleTemplatesByProduct(ProductModel productModel)
Finds the
BundleTemplateModels for the given productModel. |
java.util.List<BundleTemplateModel> |
findTemplatesByMasterOrderAndBundleNo(AbstractOrderModel masterAbstractOrder,
int bundleNo)
Finds the distinct
BundleTemplateModels in the order entries that match the given filter criteria |
BundleTemplateModel findBundleTemplateById(java.lang.String bundleId)
BundleTemplateModel corresponding to the bundleIDbundleId - BundleTemplateModelBundleTemplateModel findBundleTemplateByIdAndVersion(java.lang.String bundleId, java.lang.String version)
BundleTemplateModel corresponding to the bundleID and versionbundleId - version - Bundle VersionBundleTemplateModeljava.util.List<BundleTemplateModel> findBundleTemplatesByProduct(ProductModel productModel)
BundleTemplateModels 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.productModel - the productList of BundleTemplateModels or empty List.java.util.List<BundleTemplateModel> findTemplatesByMasterOrderAndBundleNo(AbstractOrderModel masterAbstractOrder, int bundleNo)
BundleTemplateModels in the order entries that match the given filter criteriamasterAbstractOrder - the master cart/order the bundle is inbundleNo - the number of the bundle to which the bundle templates belongList of BundleTemplateModels or empty List.java.util.List<BundleTemplateModel> findAllRootBundleTemplates(CatalogVersionModel catalogVersion)
BundleTemplateModels.catalogVersion - the catalogversion the bundletemplate is inList of BundleTemplateModelsjava.util.List<BundleTemplateModel> findAllApprovedRootBundleTemplates(CatalogVersionModel catalogVersion)
BundleTemplateModels.catalogVersion - the catalogversion the bundletemplate is inList of BundleTemplateModelsjava.util.List<AbstractOrderEntryModel> findAbstractOrderEntriesByBundleTemplate(BundleTemplateModel bundleTemplate)
AbstractOrderEntryModels the given BundleTemplateModel is assigned tobundleTemplate - the bundletemplateList of AbstractOrderEntryModelsCopyright © 2018 SAP SE. All Rights Reserved.