Class BaListenerController
java.lang.Object
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaBaseController
de.hybris.platform.billingaccounttmfwebservices.v2.controllers.BaListenerController
- All Implemented Interfaces:
ListenerApi
@Controller
@Secured("ROLE_TRUSTED_CLIENT")
public class BaListenerController
extends BaBaseController
implements ListenerApi
Default implementation of
ListenerApi.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BaStateChangeEventValidatorprotected BaUpdateEventValidatorprotected TuaBillingAccountServiceprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntitylistenToBillingAccountAttributeValueChangeEvent(@Valid BillingAccountAttributeValueChangeEvent data) org.springframework.http.ResponseEntityMethods 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
-
BaListenerController
public BaListenerController()
-
-
Method Details
-
listenToBillingAccountAttributeValueChangeEvent
@RequestMapping(value="/listener/billingAccountAttributeValueChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity listenToBillingAccountAttributeValueChangeEvent(@Valid @RequestBody @Valid BillingAccountAttributeValueChangeEvent data) - Specified by:
listenToBillingAccountAttributeValueChangeEventin interfaceListenerApi
-
listenToBillingAccountStateChangeEvent
@RequestMapping(value="/listener/billingAccountStateChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity listenToBillingAccountStateChangeEvent(@Valid @RequestBody @Valid BillingAccountStateChangeEvent data) - Specified by:
listenToBillingAccountStateChangeEventin interfaceListenerApi
-
getTuaBillingAccountService
-
getBaUpdateEventValidator
-
getBaStateChangeEventValidator
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
-