Package com.skava.service.impl
Class UpdateActionServiceImpl
java.lang.Object
com.skava.service.impl.UpdateActionServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<Action,
,ActionResponse> UpdateActionService
UpdateActionServiceImpl
This class is used to update the action according to the given information.
This class is used to update the action according to the given information.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateActionServiceImpl
(CommonServices commonServices, UpdateActionValidator actionValidator, ActionRepository actionRepository) Instantiates a new update action service impl. -
Method Summary
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
-
UpdateActionServiceImpl
@Autowired public UpdateActionServiceImpl(CommonServices commonServices, UpdateActionValidator actionValidator, ActionRepository actionRepository) Instantiates a new update action service impl.- Parameters:
commonServices
- the common servicesactionValidator
- the action validatoractionRepository
- the action repository
-
-
Method Details
-
getValidator
@ValidatorEvent(serviceName="notification", webhookName="notificationservice/validator/action", actionType="update") public List<com.skava.core.validation.ValidatorComponent> getValidator()- Specified by:
getValidator
in interfacecom.skava.core.EcommService<Action,
ActionResponse>
-
process
@SendEvent(eventType="notificationservice/action/update", identifier="response_action.id") public ActionResponse process(Action request) - Specified by:
process
in interfacecom.skava.core.EcommService<Action,
ActionResponse>
-