Package com.skava.service.impl
Class CreateActionServiceImpl
java.lang.Object
com.skava.service.impl.CreateActionServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<Action,
,ActionResponse> CreateActionService
The Class CreateActionServiceImpl.
This Class is used for creating action based on the provided information.
This Class is used for creating action based on the provided information.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionCreateActionServiceImpl
(CommonServices commonServices, ActionRepository actionRepository, ActionValidator validator) The class constructor. -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
Get Validator.process
Create Action 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
-
CreateActionServiceImpl
@Autowired public CreateActionServiceImpl(CommonServices commonServices, ActionRepository actionRepository, ActionValidator validator) The class constructor.
-
-
Method Details
-
getValidator
@ValidatorEvent(serviceName="notification", webhookName="notificationservice/validator/action", actionType="create") public List<com.skava.core.validation.ValidatorComponent> getValidator()Get Validator.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<Action,
ActionResponse> - Returns:
- array list.
-
process
@SendEvent(eventType="notificationservice/action/create", identifier="response_action.id") public ActionResponse process(Action request) process
Create Action Process.- Specified by:
process
in interfacecom.skava.core.EcommService<Action,
ActionResponse> - Parameters:
request
- The action object using which a new action will be created.
-