Class UpdateEventServiceImpl

java.lang.Object
com.skava.service.impl.UpdateEventServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<Event,EventResponse>, UpdateEventService

@Service public class UpdateEventServiceImpl extends Object implements UpdateEventService
The class UpdateEventServiceImpl class
This class is used to update the event according to the given details.
Author:
Infosys Equinox
  • Constructor Details

    • UpdateEventServiceImpl

      @Autowired public UpdateEventServiceImpl(CommonServices commonServices, EventValidator eventValidator, EventRepository eventRepository)
      Instantiates a new update event service impl.
      Parameters:
      commonServices - the common services
      eventValidator - the event validator
      eventRepository - the event repository
  • Method Details

    • getValidator

      @ValidatorEvent(serviceName="notification", webhookName="notificationservice/validator/event", actionType="update") public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<Event,EventResponse>
    • process

      @SendEvent(eventType="notificationservice/event/update", identifier="response_event.id") public EventResponse process(Event request)
      Specified by:
      process in interface com.skava.core.EcommService<Event,EventResponse>