Class DefaultCosATPResourcePathBuilder
java.lang.Object
com.sap.sapoaacosintegration.services.atp.impl.DefaultCosATPResourcePathBuilder
- All Implemented Interfaces:
CosATPResourcePathBuilder
Default Resource Builder for ATP Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ServiceUtilsorg.springframework.http.HttpEntityprepareRestCallForProduct(ProductModel product) prepare HttpEntity for given product.org.springframework.http.HttpEntityprepareRestCallForProductAndSource(ProductModel product, String sourceId) prepare HttpEntity for given product and source.org.springframework.http.HttpEntityprepareRestCallForProducts(List<ProductModel> productList) prepare HttpEntity for given product List.voidsetConfigurationService(CosConfigurationService configurationService) voidsetServiceUtils(ServiceUtils serviceUtils)
-
Constructor Details
-
DefaultCosATPResourcePathBuilder
public DefaultCosATPResourcePathBuilder()
-
-
Method Details
-
prepareRestCallForProduct
Description copied from interface:CosATPResourcePathBuilderprepare HttpEntity for given product.- Specified by:
prepareRestCallForProductin interfaceCosATPResourcePathBuilder- Returns:
- HttpEntity
-
prepareRestCallForProducts
public org.springframework.http.HttpEntity prepareRestCallForProducts(List<ProductModel> productList) Description copied from interface:CosATPResourcePathBuilderprepare HttpEntity for given product List.- Specified by:
prepareRestCallForProductsin interfaceCosATPResourcePathBuilder- Returns:
- HttpEntity
-
prepareRestCallForProductAndSource
public org.springframework.http.HttpEntity prepareRestCallForProductAndSource(ProductModel product, String sourceId) Description copied from interface:CosATPResourcePathBuilderprepare HttpEntity for given product and source.- Specified by:
prepareRestCallForProductAndSourcein interfaceCosATPResourcePathBuilder- Returns:
- HttpEntity
-
getConfigurationService
- Returns:
- the configurationService
-
setConfigurationService
- Parameters:
configurationService- the configurationService to set
-
setServiceUtils
- Parameters:
serviceUtils- the serviceUtils to set
-
getServiceUtils
- Returns:
- the serviceUtils
-