Class CreateEventServiceImpl

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

@Service public class CreateEventServiceImpl extends Object implements CreateEventService
Author:
Infosys Equinox
  • Constructor Details

    • CreateEventServiceImpl

      public CreateEventServiceImpl()
  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      This method is used to validation the given request.
      Specified by:
      getValidator in interface com.skava.core.EcommService<EventRequestInternal,Event>
      Returns:
      It returns the ValidatorComponent.
    • process

      @SendEvent(eventType="locationservice/event/create", identifier="response_identifier") public Event process(EventRequestInternal request)
      This method is used to create Event based on given Event.
      Specified by:
      process in interface com.skava.core.EcommService<EventRequestInternal,Event>
      Parameters:
      request - It contains the events required for the creation of Event.
      Returns:
      It returns the EventResponse.