public interface BundleNavigationService
| Modifier and Type | Method and Description |
|---|---|
void |
add(BundleTemplateModel bundleTemplateModel,
Collection<ProductModel> productModels)
Associates the list of
ProductModels to the BundleTemplateModel, i.e. |
void |
add(BundleTemplateModel bundleTemplateModel,
ProductModel productModel)
Associates the
ProductModel to the BundleTemplateModel, i.e. |
List<BundleTemplateModel> |
getRootNavigationNodes(CatalogVersionModel catalogVersion)
Returns all root navigation nodes for given catalog version.
|
void |
move(BundleTemplateModel sourceBundleTemplateModel,
ProductModel sourceProductModel,
BundleTemplateModel targetBundleTemplateModel)
|
void |
move(BundleTemplateModel bundleTemplateModel,
ProductModel sourceProductModel,
ProductModel targetProductModel)
Moves the order within a
BundleTemplateModel products list. |
void |
remove(BundleTemplateModel bundleTemplateModel,
ProductModel productModel)
Removes the
ProductModel association from the BundleTemplateModel. |
List<BundleTemplateModel> getRootNavigationNodes(CatalogVersionModel catalogVersion)
catalogVersion - catalog versionvoid add(BundleTemplateModel bundleTemplateModel, Collection<ProductModel> productModels)
ProductModels to the BundleTemplateModel, i.e. adds it to the end of the
products list.bundleTemplateModel - the BundleTemplateModel to which the ProductModel is association withproductModels - the list of ProductModels which should be associated with the BundleTemplateModelvoid add(BundleTemplateModel bundleTemplateModel, ProductModel productModel)
ProductModel to the BundleTemplateModel, i.e. adds it to the end of the products
list.bundleTemplateModel - the BundleTemplateModel to which the ProductModel is association withproductModel - the ProductModel which should be associated with the BundleTemplateModelvoid remove(BundleTemplateModel bundleTemplateModel, ProductModel productModel)
ProductModel association from the BundleTemplateModel.bundleTemplateModel - the BundleTemplateModel to remove the ProductModel association from.productModel - the ProductModel which should be removed from the BundleTemplateModel association.void move(BundleTemplateModel bundleTemplateModel, ProductModel sourceProductModel, ProductModel targetProductModel)
BundleTemplateModel products list. The source ProductModel is moved to
the place of the target ProductModel.bundleTemplateModel - the BundleTemplateModel in which the products list is modifiedsourceProductModel - the source position of the move, this product is removed from this positiontargetProductModel - the target position, so the source product is moved to the position of the target productvoid move(BundleTemplateModel sourceBundleTemplateModel, ProductModel sourceProductModel, BundleTemplateModel targetBundleTemplateModel)
ProductModel from a source BundleTemplateModel to a target BundleTemplateModel.
The ProductModel is removed from the source BundleTemplateModel and added to the target
BundleTemplateModel i.e. at the end of the list of associated products.sourceBundleTemplateModel - the source BundleTemplateModel from which the ProductModel is removedsourceProductModel - the ProductModel which is movedtargetBundleTemplateModel - the target BundleTemplateModel to which the ProductModel is movedCopyright © 2017 SAP SE. All Rights Reserved.