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 Summary
ConstructorsConstructorDescriptionBaBillPresentationMediaController(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<BillPresentationMedia>createBillPresentationMedia(@Valid BillPresentationMedia billPresentationMedia) org.springframework.http.ResponseEntity<Void>protected BaCreateBillPresentationMediaValidatorprotected BaPaginationServiceprotected TuaBillPresentationMediaServiceprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntity<List<BillPresentationMedia>>listBillPresentationMedia(@Valid String fields, @Valid Integer offset, @Valid Integer limit) org.springframework.http.ResponseEntity<BillPresentationMedia>patchBillPresentationMedia(String id, @Valid BillPresentationMedia billPresentationMedia) org.springframework.http.ResponseEntity<BillPresentationMedia>retrieveBillPresentationMedia(String id, @Valid String fields) Methods inherited from class de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
addDefaultFields, filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleInternalError, handleModelNotFoundException, hasRole, init, sanitize, sanitizeQueryString, validate
-
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:
listBillPresentationMediain interfaceBillPresentationMediaApi
-
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:
retrieveBillPresentationMediain interfaceBillPresentationMediaApi
-
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:
createBillPresentationMediain interfaceBillPresentationMediaApi
-
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:
patchBillPresentationMediain interfaceBillPresentationMediaApi
-
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:
deleteBillPresentationMediain interfaceBillPresentationMediaApi
-
getTuaBillPresentationMediaService
-
getBaPaginationService
-
getBaCreateBillPresentationMediaValidator
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
-