Class AgrListenerController
java.lang.Object
de.hybris.platform.agreementtmfwebservices.controller.AgrBaseController
de.hybris.platform.agreementtmfwebservices.v2.controllers.AgrBaseController
de.hybris.platform.agreementtmfwebservices.v2.controllers.AgrListenerController
- All Implemented Interfaces:
ListenerApi
@Controller
@Secured("ROLE_TRUSTED_CLIENT")
public class AgrListenerController
extends AgrBaseController
implements ListenerApi
Default implementation of
ListenerApi.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AgrAgreementCreateEventValidatorprotected AgrAgreementDeleteEventValidatorprotected AgrAgreementSpecCreateEventValidatorprotected AgrAgreementSpecDeleteEventValidatorprotected TuaAgreementSpecificationServiceprotected AgrAgreementSpecUpdateEventValidatorprotected TuaAgreementsServiceprotected AgrAgreementStateChangeEventValidatorprotected AgrAgreementUpdateEventValidatorprotected org.springframework.transaction.support.TransactionTemplateorg.springframework.http.ResponseEntity<Void>org.springframework.http.ResponseEntity<Void>listenToAgreementCreateEvent(@Valid AgreementCreateEvent data) org.springframework.http.ResponseEntity<Void>listenToAgreementDeleteEvent(@Valid AgreementDeleteEvent data) org.springframework.http.ResponseEntity<Void>listenToAgreementSpecificationAttributeValueChangeEvent(@Valid AgreementSpecificationAttributeValueChangeEvent data) org.springframework.http.ResponseEntity<Void>org.springframework.http.ResponseEntity<Void>org.springframework.http.ResponseEntity<Void>org.springframework.http.ResponseEntity<Void>Methods inherited from class de.hybris.platform.agreementtmfwebservices.controller.AgrBaseController
filter, getDataMapper, getI18nService, getMessageSource, getObjectMapper, getQueryStringWithoutOffsetAndLimit, getUnsuccessfulResponse, getUnsuccessfulResponse, handleInternalError, handleModelNotFoundException, hasRole, init, sanitize, validate
-
Constructor Details
-
AgrListenerController
public AgrListenerController()
-
-
Method Details
-
listenToAgreementCreateEvent
@RequestMapping(value="/listener/agreementCreateEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementCreateEvent(@Valid @RequestBody @Valid AgreementCreateEvent data) - Specified by:
listenToAgreementCreateEventin interfaceListenerApi
-
listenToAgreementAttributeValueChangeEvent
@RequestMapping(value="/listener/agreementAttributeValueChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementAttributeValueChangeEvent(@Valid @RequestBody @Valid AgreementAttributeValueChangeEvent data) - Specified by:
listenToAgreementAttributeValueChangeEventin interfaceListenerApi
-
listenToAgreementStateChangeEvent
@RequestMapping(value="/listener/agreementStateChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementStateChangeEvent(@Valid @RequestBody @Valid AgreementStateChangeEvent data) - Specified by:
listenToAgreementStateChangeEventin interfaceListenerApi
-
listenToAgreementDeleteEvent
@RequestMapping(value="/listener/agreementDeleteEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementDeleteEvent(@Valid @RequestBody @Valid AgreementDeleteEvent data) - Specified by:
listenToAgreementDeleteEventin interfaceListenerApi
-
listenToAgreementSpecificationCreateEvent
@RequestMapping(value="/listener/agreementSpecificationCreateEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementSpecificationCreateEvent(@Valid @RequestBody @Valid AgreementSpecificationCreateEvent data) - Specified by:
listenToAgreementSpecificationCreateEventin interfaceListenerApi
-
listenToAgreementSpecificationAttributeValueChangeEvent
@RequestMapping(value="/listener/agreementSpecificationAttributeValueChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementSpecificationAttributeValueChangeEvent(@Valid @RequestBody @Valid AgreementSpecificationAttributeValueChangeEvent data) - Specified by:
listenToAgreementSpecificationAttributeValueChangeEventin interfaceListenerApi
-
listenToAgreementSpecificationStateChangeEvent
@RequestMapping(value="/listener/agreementSpecificationStateChangeEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementSpecificationStateChangeEvent(@Valid @RequestBody @Valid AgreementSpecificationStateChangeEvent data) - Specified by:
listenToAgreementSpecificationStateChangeEventin interfaceListenerApi
-
listenToAgreementSpecificationDeleteEvent
@RequestMapping(value="/listener/agreementSpecificationDeleteEvent", produces="application/json;charset=utf-8", consumes="application/json;charset=utf-8", method=POST) public org.springframework.http.ResponseEntity<Void> listenToAgreementSpecificationDeleteEvent(@Valid @RequestBody @Valid AgreementSpecificationDeleteEvent data) - Specified by:
listenToAgreementSpecificationDeleteEventin interfaceListenerApi
-
getAgreementsService
-
getAgreementUpdateEventValidator
-
getAgreementCreateEventValidator
-
getAgreementStateChangeEventValidator
-
getAgreementDeleteEventValidator
-
getAgreementSpecificationService
-
getAgreementSpecCreateEventValidator
-
getAgreementSpecUpdateEventValidator
-
getAgreementSpecStateChangeEventValidator
-
getAgreementSpecDeleteEventValidator
-
getTxTemplate
protected org.springframework.transaction.support.TransactionTemplate getTxTemplate()
-