Class CreateEventServiceImpl

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

@Service public class CreateEventServiceImpl extends Object implements CreateEventService
The Class CreateEventServiceImpl.
This Class is used for creating event based on the provided information.
Author:
Infosys Equinox
  • Constructor Details

    • CreateEventServiceImpl

      @Autowired public CreateEventServiceImpl(CommonServices commonServices, EventRepository eventRepository)
      The class constructor.
  • Method Details

    • getValidator

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

      @SendEvent(eventType="notificationservice/event/create", identifier="response_event.id") public EventResponse process(Event request)
      Create Event Process.
      Specified by:
      process in interface com.skava.core.EcommService<Event,EventResponse>
      Parameters:
      request - The Event object for event creation.