Class SpiListenerController
java.lang.Object
de.hybris.platform.subscribedproducttmfwebservices.v2.controllers.SpiBaseController
de.hybris.platform.subscribedproducttmfwebservices.v2.controllers.SpiListenerController
- All Implemented Interfaces:
ListenerApi
@Controller
@Secured("ROLE_TRUSTED_CLIENT")
public class SpiListenerController
extends SpiBaseController
implements ListenerApi
Default implementation of
ListenerApi.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SpiCreateEventValidatorprotected SpiDeleteEventValidatorprotected SpiStateChangeEventValidatorprotected SpiUpdateEventValidatorprotected TuaProductServiceprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntityorg.springframework.http.ResponseEntitylistenToProductCreateEvent(@Valid ProductCreateEvent data) org.springframework.http.ResponseEntitylistenToProductDeleteEvent(@Valid ProductDeleteEvent data) org.springframework.http.ResponseEntitylistenToProductStateChangeEvent(@Valid ProductStateChangeEvent data) Methods inherited from class de.hybris.platform.subscribedproducttmfwebservices.v2.controllers.SpiBaseController
filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleModelNotFoundException, hasRole, init, sanitize, validate
-
Constructor Details
-
SpiListenerController
public SpiListenerController()
-
-
Method Details
-
listenToProductAttributeValueChangeEvent
@RequestMapping(value="/listener/productAttributeValueChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity listenToProductAttributeValueChangeEvent(@Valid @RequestBody @Valid ProductAttributeValueChangeEvent data) - Specified by:
listenToProductAttributeValueChangeEventin interfaceListenerApi
-
listenToProductStateChangeEvent
@RequestMapping(value="/listener/productStateChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity listenToProductStateChangeEvent(@Valid @RequestBody @Valid ProductStateChangeEvent data) - Specified by:
listenToProductStateChangeEventin interfaceListenerApi
-
listenToProductCreateEvent
@RequestMapping(value="/listener/productCreateEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity listenToProductCreateEvent(@Valid @RequestBody @Valid ProductCreateEvent data) - Specified by:
listenToProductCreateEventin interfaceListenerApi
-
listenToProductDeleteEvent
@RequestMapping(value="/listener/productDeleteEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity listenToProductDeleteEvent(@Valid @RequestBody @Valid ProductDeleteEvent data) - Specified by:
listenToProductDeleteEventin interfaceListenerApi
-
getTuaProductService
-
getSpiCreateEventValidator
-
getSpiUpdateEventValidator
-
getSpiStateChangeEventValidator
-
getSpiDeleteEventValidator
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
-