Class BackofficeUserUpdatedMapper
java.lang.Object
es.kukenan.smartfi.microservice.smartficore.service.mapper.BackofficeUserUpdatedMapper
Component used to create
BackOfficeUserCreatedEvent.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate es.kukenan.smartfi.common.context.RequestContextManagerRequest context manager.private StringThis micro-service name. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serviceName
This micro-service name. -
requestContextManager
@Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManagerRequest context manager.
-
-
Constructor Details
-
BackofficeUserUpdatedMapper
public BackofficeUserUpdatedMapper()
-
-
Method Details
-
map
public es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeUserUpdatedEvent map(User user) Create aBackOfficeUserCreatedEventfor the given user in the given context.- Parameters:
user- the new user to create.- Returns:
- the inserted instance data.
-