Class DeleteEventServiceImpl

java.lang.Object
com.skava.service.impl.DeleteEventServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<Event,com.skava.core.ResponseModel>, DeleteEventService

@Service public class DeleteEventServiceImpl extends Object implements DeleteEventService
The Class DeleteEventServiceImpl.
This Class is used for delete an Event based on the provided information.
Author:
Infosys Equinox
  • Constructor Details

    • DeleteEventServiceImpl

      @Autowired public DeleteEventServiceImpl(CommonServices commonServices, EventRepository eventRepository, org.springframework.context.MessageSource messageSource)
      The class constructor.
  • Method Details

    • getValidator

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

      @SendEvent(eventType="notificationservice/event/delete", identifier="request_id") public com.skava.core.ResponseModel process(Event request)
      Delete Event Process.
      Specified by:
      process in interface com.skava.core.EcommService<Event,com.skava.core.ResponseModel>
      Parameters:
      request - The Event object for which the validations are made and the respective vent is deleted.