Class PatchUpdateCategoryPropertyServiceImpl
java.lang.Object
com.skava.merchandise.service.impl.PatchUpdateCategoryPropertyServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<CategoryPropertyRequestInternal,
,CategoryPropertiesResponse> PatchUpdateCategoryPropertyService
@Service
public class PatchUpdateCategoryPropertyServiceImpl
extends Object
implements PatchUpdateCategoryPropertyService
This Class is used to convert the request given into domain model
and pass it to process where the patch update operation for category property happen.
After the operation completion it gets the result and convert the domain model
into response object, then returns the response model.
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method is used to validate the given mandatory request fields and its length.process
(CategoryPropertyRequestInternal request) This method is used to convert the given category property request model into domain model and pass it to category property process to process patch update category property operation by given collection by its Id, then convert the domain model to response model to return.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
-
PatchUpdateCategoryPropertyServiceImpl
public PatchUpdateCategoryPropertyServiceImpl()
-
-
Method Details
-
process
@SendEvent(eventType="merchandiseservice/categoryproperty/patch", identifier="response_properties.attributeId") public CategoryPropertiesResponse process(CategoryPropertyRequestInternal request) This method is used to convert the given category property request model into domain model and pass it to category property process to process patch update category property operation by given collection by its Id, then convert the domain model to response model to return.- Specified by:
process
in interfacecom.skava.core.EcommService<CategoryPropertyRequestInternal,
CategoryPropertiesResponse> - Parameters:
request
- It contains the attributes required for the patch update operation of category property.- Returns:
CategoryPropertiesResponse
-
getValidator
This method is used to validate the given mandatory request fields and its length.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<CategoryPropertyRequestInternal,
CategoryPropertiesResponse> - Returns:
List
<ValidatorComponent
>
-