Package com.skava.service.impl
Class DeleteActionServiceImpl
java.lang.Object
com.skava.service.impl.DeleteActionServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<Action,
,com.skava.core.ResponseModel> DeleteActionService
The Class DeleteActionServiceImpl.
This Class is used for delete an Action based on the provided information.
This Class is used for delete an Action based on the provided information.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteActionServiceImpl
(CommonServices commonServices, ActionRepository actionRepository, org.springframework.context.MessageSource messageSource) The class constructor. -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
Get Validator.com.skava.core.ResponseModel
Delete 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
-
DeleteActionServiceImpl
@Autowired public DeleteActionServiceImpl(CommonServices commonServices, ActionRepository actionRepository, org.springframework.context.MessageSource messageSource) The class constructor.
-
-
Method Details
-
getValidator
@ValidatorEvent(serviceName="notification", webhookName="notificationservice/validator/action", actionType="delete") public List<com.skava.core.validation.ValidatorComponent> getValidator()Get Validator.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<Action,
com.skava.core.ResponseModel> - Returns:
- array list.
-
process
@SendEvent(eventType="notificationservice/action/delete", identifier="request_id") public com.skava.core.ResponseModel process(Action request) Delete Action Process.- Specified by:
process
in interfacecom.skava.core.EcommService<Action,
com.skava.core.ResponseModel> - Parameters:
request
- The Action object using which the validations are made and the action is deleted.
-