Package com.skava.search.service.impl
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 Summary
ConstructorsConstructorDescriptionPatchUpdateSynonymServiceImpl
(SynonymProcess synonymProcess, PatchUpdateSynonymValidator validator) -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method is used to validation the given request.process
(SynonymRequestInternal request) This method is used to update required field in Synonyms based on given Synonyms.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
-
PatchUpdateSynonymServiceImpl
@Autowired public PatchUpdateSynonymServiceImpl(SynonymProcess synonymProcess, PatchUpdateSynonymValidator validator)
-
-
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 interfacecom.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
This method is used to validation the given request.- Specified by:
getValidator
in interfacecom.skava.core.EcommService<SynonymRequestInternal,
Synonym> - Returns:
- It returns the
ValidatorComponent
.
-