Class BaBillPresentationMediaController

java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBillPresentationMediaController
All Implemented Interfaces:
BillPresentationMediaApi

@Controller public class BaBillPresentationMediaController extends BaBaseController implements BillPresentationMediaApi
Default implementation of controller for BillPresentationMediaApi.
Since:
2302
  • Constructor Details

    • BaBillPresentationMediaController

      @Autowired public BaBillPresentationMediaController(javax.servlet.http.HttpServletRequest request)
  • Method Details

    • listBillPresentationMedia

      @RequestMapping(value="/billPresentationMedia", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<List<BillPresentationMedia>> listBillPresentationMedia(@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)
      Specified by:
      listBillPresentationMedia in interface BillPresentationMediaApi
    • retrieveBillPresentationMedia

      @RequestMapping(value="/billPresentationMedia/{id:.+}", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillPresentationMedia> retrieveBillPresentationMedia(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields)
      Specified by:
      retrieveBillPresentationMedia in interface BillPresentationMediaApi
    • createBillPresentationMedia

      @RequestMapping(value="/billPresentationMedia", produces="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillPresentationMedia> createBillPresentationMedia(@Valid @RequestBody @Valid BillPresentationMedia billPresentationMedia)
      Specified by:
      createBillPresentationMedia in interface BillPresentationMediaApi
    • patchBillPresentationMedia

      @RequestMapping(value="/billPresentationMedia/{id:.+}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillPresentationMedia> patchBillPresentationMedia(@PathVariable("id") String id, @Valid @RequestBody @Valid BillPresentationMedia billPresentationMedia)
      Specified by:
      patchBillPresentationMedia in interface BillPresentationMediaApi
    • deleteBillPresentationMedia

      @RequestMapping(value="/billPresentationMedia/{id:.+}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteBillPresentationMedia(@PathVariable("id") String id)
      Specified by:
      deleteBillPresentationMedia in interface BillPresentationMediaApi
    • getTuaBillPresentationMediaService

      protected TuaBillPresentationMediaService getTuaBillPresentationMediaService()
    • getBaPaginationService

      protected BaPaginationService getBaPaginationService()
    • getBaCreateBillPresentationMediaValidator

      protected BaCreateBillPresentationMediaValidator getBaCreateBillPresentationMediaValidator()
    • getTxTemplate

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