Class BackofficeEventManager
java.lang.Object
es.kukenan.smartfi.microservice.contracts.service.events.backoffice.BackofficeEventManager
Backoffice event manager.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindHandler(es.kukenan.smartfi.microservice.backoffice.events.cancelled.BackOfficeProductCancelledEvent backOfficeProductCancelledEvent) Find handler for backOfficeProductCancelledEvent.findHandler(es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent backOfficeProductCreatedEvent) Find handler for backOfficeProductCreatedEvent.findHandler(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeProductUpdatedEvent backOfficeProductUpdatedEvent) Find handler for backOfficeProductCreatedEvent.
-
Field Details
-
backofficeEvents
Backoffice events list.
-
-
Constructor Details
-
BackofficeEventManager
Constructor.- Parameters:
backofficeEvents- Backoffice events list
-
-
Method Details
-
findHandler
public BackofficeEvent findHandler(es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent backOfficeProductCreatedEvent) Find handler for backOfficeProductCreatedEvent.- Parameters:
backOfficeProductCreatedEvent- event- Returns:
- the handler found.
-
findHandler
public BackofficeEvent findHandler(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeProductUpdatedEvent backOfficeProductUpdatedEvent) Find handler for backOfficeProductCreatedEvent.- Parameters:
backOfficeProductUpdatedEvent- event- Returns:
- the handler found.
-
findHandler
public BackofficeEvent findHandler(es.kukenan.smartfi.microservice.backoffice.events.cancelled.BackOfficeProductCancelledEvent backOfficeProductCancelledEvent) Find handler for backOfficeProductCancelledEvent.- Parameters:
backOfficeProductCancelledEvent- event- Returns:
- the handler found.
-