public class DefaultBundleNavigationService extends AbstractBusinessService implements BundleNavigationService
BundleNavigationService interface.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultBundleNavigationService() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BundleTemplateModel bundleTemplateModel,
java.util.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. |
protected BundleTemplateService |
getBundleTemplateService() |
java.util.List<BundleTemplateModel> |
getRootNavigationNodes(CatalogVersionModel catVer)
Returns all root navigation nodes for given catalog version.
|
void |
move(BundleTemplateModel sourceBundleTemplateModel,
ProductModel productModel,
BundleTemplateModel targetBundleTemplateModel)
|
void |
move(BundleTemplateModel bundleTemplateModel,
ProductModel sourceEntry,
ProductModel targetEntry)
Moves the order within a
BundleTemplateModel products list. |
void |
remove(BundleTemplateModel bundleTemplateModel,
ProductModel productModel)
Removes the
ProductModel association from the BundleTemplateModel. |
void |
setBundleTemplateService(BundleTemplateService bundleTemplateService) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplacepublic java.util.List<BundleTemplateModel> getRootNavigationNodes(CatalogVersionModel catVer)
BundleNavigationServicegetRootNavigationNodes in interface BundleNavigationServicecatVer - catalog versionpublic void add(BundleTemplateModel bundleTemplateModel, java.util.Collection<ProductModel> productModels)
BundleNavigationServiceProductModels to the BundleTemplateModel, i.e. adds it to the end of the
products list.add in interface BundleNavigationServicebundleTemplateModel - the BundleTemplateModel to which the ProductModel is association withproductModels - the list of ProductModels which should be associated with the BundleTemplateModelpublic void add(BundleTemplateModel bundleTemplateModel, ProductModel productModel)
BundleNavigationServiceProductModel to the BundleTemplateModel, i.e. adds it to the end of the products
list.add in interface BundleNavigationServicebundleTemplateModel - the BundleTemplateModel to which the ProductModel is association withproductModel - the ProductModel which should be associated with the BundleTemplateModelpublic void remove(BundleTemplateModel bundleTemplateModel, ProductModel productModel)
BundleNavigationServiceProductModel association from the BundleTemplateModel.remove in interface BundleNavigationServicebundleTemplateModel - the BundleTemplateModel to remove the ProductModel association from.productModel - the ProductModel which should be removed from the BundleTemplateModel association.public void move(BundleTemplateModel bundleTemplateModel, ProductModel sourceEntry, ProductModel targetEntry)
BundleNavigationServiceBundleTemplateModel products list. The source ProductModel is moved to
the place of the target ProductModel.move in interface BundleNavigationServicebundleTemplateModel - the BundleTemplateModel in which the products list is modifiedsourceEntry - the source position of the move, this product is removed from this positiontargetEntry - the target position, so the source product is moved to the position of the target productpublic void move(BundleTemplateModel sourceBundleTemplateModel, ProductModel productModel, BundleTemplateModel targetBundleTemplateModel)
BundleNavigationServiceProductModel 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.move in interface BundleNavigationServicesourceBundleTemplateModel - the source BundleTemplateModel from which the ProductModel is removedproductModel - the ProductModel which is movedtargetBundleTemplateModel - the target BundleTemplateModel to which the ProductModel is movedprotected BundleTemplateService getBundleTemplateService()
public void setBundleTemplateService(BundleTemplateService bundleTemplateService)
Copyright © 2018 SAP SE. All Rights Reserved.