Class SpiProductsController
java.lang.Object
de.hybris.platform.subscribedproducttmfwebservices.v1.controllers.SpiBaseController
de.hybris.platform.subscribedproducttmfwebservices.v1.controllers.SpiProductsController
- All Implemented Interfaces:
ProductApi
@Deprecated(since="2208")
@Controller
public class SpiProductsController
extends SpiBaseController
implements ProductApi
Deprecated.
2208
Default implementation of
ProductApi.- Since:
- 2111
-
Constructor Summary
ConstructorsConstructorDescriptionSpiProductsController(javax.servlet.http.HttpServletRequest request) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Product>createProduct(@Valid Product product) Deprecated.org.springframework.http.ResponseEntity<Void>deleteProduct(String id) Deprecated.protected SpiCreateProductValidatorDeprecated.protected SpiProductServiceDeprecated.protected org.springframework.transaction.support.TransactionTemplateDeprecated.listProduct(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String billingAccountPeriodid, @Valid String status) Deprecated.org.springframework.http.ResponseEntity<Product>patchProduct(String id, @Valid Product product) Deprecated.org.springframework.http.ResponseEntity<Product>retrieveProduct(String id, @Valid String fields) Deprecated.Methods inherited from class de.hybris.platform.subscribedproducttmfwebservices.v1.controllers.SpiBaseController
filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleModelNotFoundException, hasRole, init, sanitize, validate
-
Constructor Details
-
SpiProductsController
@Autowired public SpiProductsController(javax.servlet.http.HttpServletRequest request) Deprecated.
-
-
Method Details
-
retrieveProduct
@RequestMapping(value="/product/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<Product> retrieveProduct(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) Deprecated.- Specified by:
retrieveProductin interfaceProductApi
-
createProduct
@RequestMapping(value="/product", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Product> createProduct(@Valid @RequestBody @Valid Product product) Deprecated.- Specified by:
createProductin interfaceProductApi
-
deleteProduct
@RequestMapping(value="/product/{id}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteProduct(@PathVariable("id") String id) Deprecated.- Specified by:
deleteProductin interfaceProductApi
-
listProduct
@RequestMapping(value="/product", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<Product>> listProduct(@Valid @RequestParam(value="fields",required=false) @Valid String fields, @Valid @RequestParam(value="offset",required=false) @Valid Integer offset, @Valid @RequestParam(value="limit",required=false) @Valid Integer limit, @Valid @RequestParam(value="billingAccount.id",required=false) @Valid String billingAccountPeriodid, @Valid @RequestParam(value="status",required=false) @Valid String status) Deprecated.- Specified by:
listProductin interfaceProductApi
-
patchProduct
@Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/product/{id}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) public org.springframework.http.ResponseEntity<Product> patchProduct(@PathVariable("id") String id, @Valid @RequestBody @Valid Product product) Deprecated.- Specified by:
patchProductin interfaceProductApi
-
getSpiProductService
Deprecated. -
getSpiCreateProductValidator
Deprecated. -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()Deprecated.
-