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 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:
      retrieveProduct in interface ProductApi
    • 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:
      createProduct in interface ProductApi
    • 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:
      deleteProduct in interface ProductApi
    • 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:
      listProduct in interface ProductApi
    • 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:
      patchProduct in interface ProductApi
    • getSpiProductService

      protected SpiProductService getSpiProductService()
      Deprecated.
    • getSpiCreateProductValidator

      protected SpiCreateProductValidator getSpiCreateProductValidator()
      Deprecated.
    • getTxTemplate

      protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
      Deprecated.