Class CreateAttributeGroupServiceImpl

java.lang.Object
com.skava.catalog.service.impl.CreateAttributeGroupServiceImpl
All Implemented Interfaces:
CreateAttributeGroupService, com.skava.core.EcommService<AttributeGroupRequestInternal,AttributeGroup>

@Service public class CreateAttributeGroupServiceImpl extends Object implements CreateAttributeGroupService

Class CreateAttributeGroupServiceImpl

Author:
Infosys Equinox
  • Constructor Details

    • CreateAttributeGroupServiceImpl

      public CreateAttributeGroupServiceImpl()
  • Method Details

    • getValidator

      @ValidatorEvent(serviceName="catalog", webhookName="catalogservice/validator/attributegroup", actionType="create") 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,AttributeGroup>
      Returns:
      It returns the ValidatorComponent.
    • process

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