Class PatchUpdateProjectServiceImpl

java.lang.Object
com.skava.merchandise.service.impl.PatchUpdateProjectServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<ProjectRequestInternal,Project>, PatchUpdateProjectService

@Service public class PatchUpdateProjectServiceImpl extends Object implements PatchUpdateProjectService
This Class is used to convert the request given into domain model and pass it to process where the patch update operation for project 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.skava.core.validation.ValidatorComponent>
    This method is used to validate the given mandatory request fields and its length.
    This method is used to convert the given project request model into domain model and pass it to project process to process patch update project 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

    • PatchUpdateProjectServiceImpl

      public PatchUpdateProjectServiceImpl()
  • Method Details

    • process

      @SendEvent(eventType="merchandiseservice/project/patch", identifier="response_identifier") public Project process(ProjectRequestInternal request)
      This method is used to convert the given project request model into domain model and pass it to project process to process patch update project 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<ProjectRequestInternal,Project>
      Parameters:
      request - It contains the attributes required for the patch update operation of project.
      Returns:
      Project
    • 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<ProjectRequestInternal,Project>
      Returns:
      List<ValidatorComponent>