Class DefaultCosATPResourcePathBuilder
- java.lang.Object
-
- com.sap.sapoaacosintegration.services.atp.impl.DefaultCosATPResourcePathBuilder
-
- All Implemented Interfaces:
CosATPResourcePathBuilder
public class DefaultCosATPResourcePathBuilder extends java.lang.Object implements CosATPResourcePathBuilder
Default Resource Builder for ATP Service
-
-
Constructor Summary
Constructors Constructor Description DefaultCosATPResourcePathBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosConfigurationServicegetConfigurationService()protected ServiceUtilsgetServiceUtils()org.springframework.http.HttpEntityprepareRestCallForProduct(ProductModel product)prepare HttpEntity for given product.org.springframework.http.HttpEntityprepareRestCallForProductAndSource(ProductModel product, java.lang.String sourceId)prepare HttpEntity for given product and source.org.springframework.http.HttpEntityprepareRestCallForProducts(java.util.List<ProductModel> productList)prepare HttpEntity for given product List.voidsetConfigurationService(CosConfigurationService configurationService)voidsetServiceUtils(ServiceUtils serviceUtils)
-
-
-
Method Detail
-
prepareRestCallForProduct
public org.springframework.http.HttpEntity prepareRestCallForProduct(ProductModel product)
Description copied from interface:CosATPResourcePathBuilderprepare HttpEntity for given product.- Specified by:
prepareRestCallForProductin interfaceCosATPResourcePathBuilder- Returns:
- HttpEntity
-
prepareRestCallForProducts
public org.springframework.http.HttpEntity prepareRestCallForProducts(java.util.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, java.lang.String sourceId)
Description copied from interface:CosATPResourcePathBuilderprepare HttpEntity for given product and source.- Specified by:
prepareRestCallForProductAndSourcein interfaceCosATPResourcePathBuilder- Returns:
- HttpEntity
-
getConfigurationService
public CosConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(CosConfigurationService configurationService)
- Parameters:
configurationService- the configurationService to set
-
setServiceUtils
public void setServiceUtils(ServiceUtils serviceUtils)
- Parameters:
serviceUtils- the serviceUtils to set
-
getServiceUtils
protected ServiceUtils getServiceUtils()
- Returns:
- the serviceUtils
-
-