Package com.skava.catalog.service.impl
Class DeleteAttributeServiceImpl
java.lang.Object
com.skava.catalog.service.impl.DeleteAttributeServiceImpl
- All Implemented Interfaces:
DeleteAttributeService
,com.skava.core.EcommService<AttributeRequestInternal,
com.skava.core.ResponseModel>
The Class DeleteAttributeServiceImpl
- 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.com.skava.core.ResponseModel
process
(AttributeRequestInternal request) This method is used to delete Attribute based on given Attribute.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
-
DeleteAttributeServiceImpl
public DeleteAttributeServiceImpl()
-
-
Method Details
-
getValidator
@ValidatorEvent(serviceName="catalog", webhookName="catalogservice/validator/attribute", actionType="delete") 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<AttributeRequestInternal,
com.skava.core.ResponseModel> - Returns:
- It returns the
ValidatorComponent
.
-
process
@SendEvent(eventType="catalogservice/attribute/delete", identifier="request_identifier") public com.skava.core.ResponseModel process(AttributeRequestInternal request) This method is used to delete Attribute based on given Attribute.- Specified by:
process
in interfacecom.skava.core.EcommService<AttributeRequestInternal,
com.skava.core.ResponseModel> - Parameters:
request
- It contains the attributes required for the delete of Attribute.- Returns:
- It returns the delete count of
AttributeResponse
.
-