Class BackOfficeAppointmentUpdatedMapper

java.lang.Object
es.kukenan.smartfi.microservice.smartficore.service.mapper.BackOfficeAppointmentUpdatedMapper

@Component public class BackOfficeAppointmentUpdatedMapper extends Object
Component used to create BackOfficeUserCreatedEvent.
  • Field Details

    • serviceName

      @Value("${spring.application.name}") private String serviceName
      This micro-service name.
    • requestContextManager

      @Autowired private es.kukenan.smartfi.common.context.RequestContextManager requestContextManager
      Request context manager.
  • Constructor Details

    • BackOfficeAppointmentUpdatedMapper

      public BackOfficeAppointmentUpdatedMapper()
  • Method Details

    • map

      public es.kukenan.smartfi.microservice.backoffice.events.update.BackOfficeAppointmentUpdatedEvent map(User user, Contract contract)
      Create a BackOfficeUserCreatedEvent for the given user in the given context.
      Parameters:
      user - the new user to create.
      contract - contract information.
      Returns:
      the inserted instance data.