Package com.skava.catalog.service.impl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method is used to validation the given request.process
(AttributeGroupRequestInternal request) This method is used to create AttributeGroup based on given AttributeGroup.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
-
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 interfacecom.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 interfacecom.skava.core.EcommService<AttributeGroupRequestInternal,
AttributeGroup> - Parameters:
request
- It contains the attributes required for the creation of AttributeGroup.- Returns:
- It returns the
AttributeGroupResponse
.
-