Class DeleteActionServiceImpl

java.lang.Object
com.skava.service.impl.DeleteActionServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<Action,com.skava.core.ResponseModel>, DeleteActionService

@Service public class DeleteActionServiceImpl extends Object implements DeleteActionService
The Class DeleteActionServiceImpl.
This Class is used for delete an Action based on the provided information.
Author:
Infosys Equinox
  • 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 interface com.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 interface com.skava.core.EcommService<Action,com.skava.core.ResponseModel>
      Parameters:
      request - The Action object using which the validations are made and the action is deleted.