Class BmCustomerBillController
java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmBaseController
de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmCustomerBillController
- All Implemented Interfaces:
CustomerBillApi
@Controller
public class BmCustomerBillController
extends BmBaseController
implements CustomerBillApi
Default implementation of controller for
CustomerBillApi.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.transaction.support.TransactionTemplateprotected de.hybris.platform.servicelayer.user.UserServiceorg.springframework.http.ResponseEntity<List<CustomerBill>>listCustomerBill(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String relatedPartyId) org.springframework.http.ResponseEntity<CustomerBill>patchCustomerBill(String id, @Valid CustomerBill customerBill) org.springframework.http.ResponseEntity<CustomerBill>retrieveCustomerBill(String id, @Valid String fields) Methods inherited from class de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmBaseController
addDefaultFields, filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleModelNotFoundException, hasRole, init, sanitize, validate
-
Constructor Details
-
BmCustomerBillController
@Autowired public BmCustomerBillController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
listCustomerBill
@RequestMapping(value="/customerBill", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<CustomerBill>> listCustomerBill(@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="relatedParty.id",required=false) @Valid String relatedPartyId) - Specified by:
listCustomerBillin interfaceCustomerBillApi
-
retrieveCustomerBill
@RequestMapping(value="/customerBill/{id:.+}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<CustomerBill> retrieveCustomerBill(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
retrieveCustomerBillin interfaceCustomerBillApi
-
patchCustomerBill
@Secured("ROLE_TRUSTED_CLIENT") @RequestMapping(value="/customerBill/{id}", produces="application/json;charset=utf-8", method=PATCH) public org.springframework.http.ResponseEntity<CustomerBill> patchCustomerBill(@PathVariable("id") String id, @Valid @RequestBody @Valid CustomerBill customerBill) - Specified by:
patchCustomerBillin interfaceCustomerBillApi
-
getTuaPartyBillService
-
getBmPaginationService
-
getUserService
protected de.hybris.platform.servicelayer.user.UserService getUserService() -
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
-