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 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 interface com.skava.core.EcommService<CategoryPropertyRequestInternal,CategoryPropertiesResponse>
      Parameters:
      request - It contains the attributes required for the patch update operation of category property.
      Returns:
      CategoryPropertiesResponse
    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      This method is used to validate the given mandatory request fields and its length.
      Specified by:
      getValidator in interface com.skava.core.EcommService<CategoryPropertyRequestInternal,CategoryPropertiesResponse>
      Returns:
      List<ValidatorComponent>