Class PatchUpdateListPropertiesServiceImpl

java.lang.Object
com.skava.list.service.impl.PatchUpdateListPropertiesServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<ListRequestInternal,ListResponse>, PatchUpdateListPropertiesService

@Service public class PatchUpdateListPropertiesServiceImpl extends Object implements PatchUpdateListPropertiesService

PatchUpdateListPropertiesServiceImpl class

This class contain constants that are used to write a implementation class for property update of list.

  • Constructor Details

    • PatchUpdateListPropertiesServiceImpl

      @Autowired public PatchUpdateListPropertiesServiceImpl(ListWiredServices listWiredServices)
    • PatchUpdateListPropertiesServiceImpl

      public PatchUpdateListPropertiesServiceImpl()
      Instantiates a new delete list properties service impl.
  • Method Details

    • getValidator

      public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<ListRequestInternal,ListResponse>
    • process

      @HystrixCommand(commandKey="list-key", fallbackMethod="methodFallback", commandProperties=@HystrixProperty(name="execution.isolation.strategy",value="SEMAPHORE"), ignoreExceptions={com.skava.core.validation.ValidateException.class,com.skava.core.ECommerceException.class}) @SendEvent(eventType="listservice/listproperties/patch", identifier="response_list.id") public ListResponse process(ListRequestInternal request)
      This method is used to create Properties based on given Properties.
      Specified by:
      process in interface com.skava.core.EcommService<ListRequestInternal,ListResponse>
      Parameters:
      request - It contains the attributes required for the creation of Properties.
      Returns:
      It returns the PropertiesResponse.
    • methodFallback

      public ListResponse methodFallback(ListRequestInternal request)
      Fall back process if there is any exception in the execution of the process.
      Parameters:
      request - The request for the process
      Returns:
      The response from the fall back process.