Class DeleteAttributeGroupServiceImpl

java.lang.Object
com.skava.catalog.service.impl.DeleteAttributeGroupServiceImpl
All Implemented Interfaces:
DeleteAttributeGroupService, com.skava.core.EcommService<AttributeGroupRequestInternal,com.skava.core.ResponseModel>

@Service public class DeleteAttributeGroupServiceImpl extends Object implements DeleteAttributeGroupService
The Class DeleteAttributeGroupServiceImpl
Author:
Infosys Equinox
  • Constructor Details

    • DeleteAttributeGroupServiceImpl

      public DeleteAttributeGroupServiceImpl()
  • Method Details

    • getValidator

      @ValidatorEvent(serviceName="catalog", webhookName="catalogservice/validator/attributegroup", actionType="delete") public List<com.skava.core.validation.ValidatorComponent> getValidator()
      This method is used to validation the given request.
      Specified by:
      getValidator in interface com.skava.core.EcommService<AttributeGroupRequestInternal,com.skava.core.ResponseModel>
      Returns:
      It returns the ValidatorComponent.
    • process

      @SendEvent(eventType="catalogservice/attributegroup/delete", identifier="request_identifier") public com.skava.core.ResponseModel process(AttributeGroupRequestInternal request)
      This method is used to delete AttributeGroup based on given AttributeGroup.
      Specified by:
      process in interface com.skava.core.EcommService<AttributeGroupRequestInternal,com.skava.core.ResponseModel>
      Parameters:
      request - It contains the attributes required for the delete of AttributeGroup.
      Returns:
      It returns the delete count of AttributeGroupResponse.