Class TemporalUserUpdatedEventMapper
java.lang.Object
es.kukenan.smartfi.microservice.clients.service.mapper.TemporalUserUpdatedEventMapper
Component used to create
UserCreatedEvent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate es.kukenan.smartfi.common.utils.CustomObjectMapperObject mapper. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeUserUpdatedEvent event) mapp event to Temporal.
-
Field Details
-
customObjectMapper
@Autowired private es.kukenan.smartfi.common.utils.CustomObjectMapper customObjectMapperObject mapper.
-
-
Constructor Details
-
TemporalUserUpdatedEventMapper
public TemporalUserUpdatedEventMapper()
-
-
Method Details
-
map
public TemporalUpdateUser map(es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeUserUpdatedEvent event) throws com.fasterxml.jackson.core.JsonProcessingException mapp event to Temporal.- Parameters:
event- event.- Returns:
- Temporal update users.
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- error parse json.
-