Class BmCustomerBillOnDemandController
java.lang.Object
de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmBaseController
de.hybris.platform.billmanagementtmfwebservices.v2.controller.BmCustomerBillOnDemandController
- All Implemented Interfaces:
CustomerBillOnDemandApi
@Controller
public class BmCustomerBillOnDemandController
extends BmBaseController
implements CustomerBillOnDemandApi
Default implementation of controller for
CustomerBillOnDemandApi.- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionBmCustomerBillOnDemandController(javax.servlet.http.HttpServletRequest request) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<CustomerBillOnDemand>createCustomerBillOnDemand(@Valid CustomerBillOnDemand customerBillOnDemand) protected BmCustomerBillOnDemandCreateValidatorprotected BmPaginationServiceprotected TuaGenericServiceprotected TuaPartyBillOnDemandServiceprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntity<List<CustomerBillOnDemand>>listCustomerBillOnDemand(@Valid String fields, @Valid Integer offset, @Valid Integer limit, @Valid String relatedPartyId) org.springframework.http.ResponseEntity<CustomerBillOnDemand>retrieveCustomerBillOnDemand(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
-
BmCustomerBillOnDemandController
@Autowired public BmCustomerBillOnDemandController(javax.servlet.http.HttpServletRequest request)
-
-
Method Details
-
createCustomerBillOnDemand
@RequestMapping(value="/customerBillOnDemand", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) @Secured("ROLE_TRUSTED_CLIENT") public org.springframework.http.ResponseEntity<CustomerBillOnDemand> createCustomerBillOnDemand(@Valid @RequestBody @Valid CustomerBillOnDemand customerBillOnDemand) - Specified by:
createCustomerBillOnDemandin interfaceCustomerBillOnDemandApi
-
retrieveCustomerBillOnDemand
@RequestMapping(value="/customerBillOnDemand/{id}", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<CustomerBillOnDemand> retrieveCustomerBillOnDemand(@PathVariable("id") String id, @Valid @RequestParam(value="fields",required=false) @Valid String fields) - Specified by:
retrieveCustomerBillOnDemandin interfaceCustomerBillOnDemandApi
-
listCustomerBillOnDemand
@RequestMapping(value="/customerBillOnDemand", produces="application/json;charset=utf-8", method=GET) public org.springframework.http.ResponseEntity<List<CustomerBillOnDemand>> listCustomerBillOnDemand(@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:
listCustomerBillOnDemandin interfaceCustomerBillOnDemandApi
-
getTuaPartyBillOnDemandService
-
getPartyBillOnDemandGenericService
-
getBmPaginationService
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate() -
getBmCustomerBillOnDemandCreateValidator
-