Class PatchUpdateSynonymServiceImpl

java.lang.Object
com.skava.search.service.impl.PatchUpdateSynonymServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<SynonymRequestInternal,Synonym>, PatchUpdateSynonymService

@Service public class PatchUpdateSynonymServiceImpl extends Object implements PatchUpdateSynonymService

This class is the Implementation class of patch update synonyms. Patch Update synonyms API call implementation starts from here.

  • Constructor Details

  • Method Details

    • process

      @SendEvent(eventType="searchservice/synonyms/patch", identifier="response_id") public Synonym process(SynonymRequestInternal request)
      This method is used to update required field in Synonyms based on given Synonyms.
      Specified by:
      process in interface com.skava.core.EcommService<SynonymRequestInternal,Synonym>
      Parameters:
      request - It contains the attributes required for the update required field in Synonyms.
      Returns:
      It returns the SynonymResponse.
    • getValidator

      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<SynonymRequestInternal,Synonym>
      Returns:
      It returns the ValidatorComponent.