Package com.skava.service.impl
Class CreateEventServiceImpl
java.lang.Object
com.skava.service.impl.CreateEventServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<Event,
,EventResponse> CreateEventService
The Class CreateEventServiceImpl.
This Class is used for creating event based on the provided information.
This Class is used for creating event based on the provided information.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionCreateEventServiceImpl
(CommonServices commonServices, EventRepository eventRepository) The class constructor. -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
Get Validator.Create Event Process.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommService
getValidateException, getValidator
-
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 interfacecom.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 interfacecom.skava.core.EcommService<Event,
EventResponse> - Parameters:
request
- The Event object for event creation.
-