Interface BackofficeEvent
- All Known Implementing Classes:
BackofficeProductEventHandlerV1,BackofficeProductEventHandlerV2
public interface BackofficeEvent
Backoffice events service interface.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckHandler(es.kukenan.smartfi.microservice.backoffice.events.cancelled.BackOfficeProductCancelledEvent backOfficeProductCancelledEvent) Determine handler to execute.booleancheckHandler(es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent backOfficeProductCreatedEvent) Determine handler to execute.booleancheckHandler(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeProductUpdatedEvent backOfficeProductUpdatedEvent) Determine handler to execute.voidhandleBackOfficeProductCancelledEvent(es.kukenan.smartfi.microservice.backoffice.events.cancelled.BackOfficeProductCancelledEvent backOfficeProductCancelledEvent) Backoffice product cancelled event handler.voidhandleBackOfficeProductCreatedEvent(es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent backOfficeProductCreatedEvent) Backoffice product created event handler.voidhandleBackOfficeProductUpdatedEvent(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeProductUpdatedEvent backOfficeProductUpdatedEvent) Backoffice product updated event handler.
-
Method Details
-
checkHandler
boolean checkHandler(es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent backOfficeProductCreatedEvent) Determine handler to execute.- Parameters:
backOfficeProductCreatedEvent- event- Returns:
- if the service must manage this version
-
checkHandler
boolean checkHandler(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeProductUpdatedEvent backOfficeProductUpdatedEvent) Determine handler to execute.- Parameters:
backOfficeProductUpdatedEvent- event- Returns:
- if the service must manage this version
-
checkHandler
boolean checkHandler(es.kukenan.smartfi.microservice.backoffice.events.cancelled.BackOfficeProductCancelledEvent backOfficeProductCancelledEvent) Determine handler to execute.- Parameters:
backOfficeProductCancelledEvent- event- Returns:
- if the service must manage this version
-
handleBackOfficeProductCreatedEvent
void handleBackOfficeProductCreatedEvent(es.kukenan.smartfi.microservice.backoffice.events.created.BackOfficeProductCreatedEvent backOfficeProductCreatedEvent) Backoffice product created event handler.- Parameters:
backOfficeProductCreatedEvent- event
-
handleBackOfficeProductUpdatedEvent
void handleBackOfficeProductUpdatedEvent(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeProductUpdatedEvent backOfficeProductUpdatedEvent) Backoffice product updated event handler.- Parameters:
backOfficeProductUpdatedEvent- event
-
handleBackOfficeProductCancelledEvent
void handleBackOfficeProductCancelledEvent(es.kukenan.smartfi.microservice.backoffice.events.cancelled.BackOfficeProductCancelledEvent backOfficeProductCancelledEvent) Backoffice product cancelled event handler.- Parameters:
backOfficeProductCancelledEvent- event
-