Class UpdateActionServiceImpl

java.lang.Object
com.skava.service.impl.UpdateActionServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<Action,ActionResponse>, UpdateActionService

@Service public class UpdateActionServiceImpl extends Object implements UpdateActionService
UpdateActionServiceImpl
This class is used to update the action according to the given information.
Author:
Infosys Equinox
  • Constructor Details

    • UpdateActionServiceImpl

      @Autowired public UpdateActionServiceImpl(CommonServices commonServices, UpdateActionValidator actionValidator, ActionRepository actionRepository)
      Instantiates a new update action service impl.
      Parameters:
      commonServices - the common services
      actionValidator - the action validator
      actionRepository - 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 interface com.skava.core.EcommService<Action,ActionResponse>
    • process

      @SendEvent(eventType="notificationservice/action/update", identifier="response_action.id") public ActionResponse process(Action request)
      Specified by:
      process in interface com.skava.core.EcommService<Action,ActionResponse>