Class BaBillFormatController
java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBillFormatController
- All Implemented Interfaces:
BillFormatApi
Default implementation of controller for
BillFormatApi.- Since:
- 2302
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<BillFormat>createBillFormat(@Valid BillFormat billFormat) org.springframework.http.ResponseEntity<Void>protected BaCreateBillFormatValidatorprotected TuaBillFormatServiceprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntity<List<BillFormat>>listBillFormat(@Valid String fields, @Valid Integer offset, @Valid Integer limit) org.springframework.http.ResponseEntity<BillFormat>patchBillFormat(String id, @Valid BillFormat billFormat) org.springframework.http.ResponseEntity<BillFormat>retrieveBillFormat(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
-
BaBillFormatController
public BaBillFormatController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listBillFormat
@RequestMapping(value="/billFormat", produces="application/json;charset=utf-8", method=GET) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<List<BillFormat>> listBillFormat(@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:
listBillFormatin interfaceBillFormatApi
-
createBillFormat
@RequestMapping(value="/billFormat", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillFormat> createBillFormat(@Valid @RequestBody @Valid BillFormat billFormat) - Specified by:
createBillFormatin interfaceBillFormatApi
-
patchBillFormat
@RequestMapping(value="/billFormat/{id}", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=PATCH) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<BillFormat> patchBillFormat(@PathVariable("id") String id, @Valid @RequestBody @Valid BillFormat billFormat) - Specified by:
patchBillFormatin interfaceBillFormatApi
-
deleteBillFormat
@RequestMapping(value="/billFormat/{id:.+}", produces="application/json;charset=utf-8", method=DELETE) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<Void> deleteBillFormat(@PathVariable("id") String id) - Specified by:
deleteBillFormatin interfaceBillFormatApi
-
retrieveBillFormat
@Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/billFormat/{id:.+}", produces="application/json", method=GET) public org.springframework.http.ResponseEntity<BillFormat> retrieveBillFormat(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
retrieveBillFormatin interfaceBillFormatApi
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate() -
getTuaBillFormatService
-
getCreateBillFormatValidator
-
getPaginationService
-