Class ComprehensiveProductExchangeEndpoint
java.lang.Object
com.broadleafcommerce.dataexchange.web.endpoint.ComprehensiveProductExchangeEndpoint
@FrameworkRestController
@FrameworkMapping("/data-exchange/comprehensive-product")
public class ComprehensiveProductExchangeEndpoint
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateProducts
(ProductList<ComprehensiveProduct> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ProductList<ComprehensiveProduct>
protected com.broadleafcommerce.common.extension.TypeFactory
void
setComprehensiveProductExchangeService
(ComprehensiveProductExchangeService<ComprehensiveProduct> comprehensiveProductExchangeService) void
setTypeFactory
(com.broadleafcommerce.common.extension.TypeFactory typeFactory) updateProducts
(ProductList<ComprehensiveProduct> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Constructor Details
-
ComprehensiveProductExchangeEndpoint
public ComprehensiveProductExchangeEndpoint()
-
-
Method Details
-
createProducts
@FrameworkPostMapping @Policy(permissionRoots="COMPREHENSIVE_PRODUCT") public ProductList<ComprehensiveProduct> createProducts(@RequestBody ProductList<ComprehensiveProduct> products, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
updateProducts
@FrameworkPutMapping @Policy(permissionRoots="COMPREHENSIVE_PRODUCT") public ProductList<ComprehensiveProduct> updateProducts(@RequestBody ProductList<ComprehensiveProduct> products, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getProductList
-
getComprehensiveProductExchangeService
protected ComprehensiveProductExchangeService<ComprehensiveProduct> getComprehensiveProductExchangeService() -
setComprehensiveProductExchangeService
@Autowired public void setComprehensiveProductExchangeService(ComprehensiveProductExchangeService<ComprehensiveProduct> comprehensiveProductExchangeService) -
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory() -
setTypeFactory
@Autowired public void setTypeFactory(com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-