Class PatchUpdateListItemPropertiesServiceImpl

java.lang.Object
com.skava.list.service.impl.PatchUpdateListItemPropertiesServiceImpl
All Implemented Interfaces:
com.skava.core.EcommService<ListItemRequestInternal,ListItemResponse>, PatchUpdateListItemPropertiesService

@Service public class PatchUpdateListItemPropertiesServiceImpl extends Object implements PatchUpdateListItemPropertiesService

PatchUpdateListItemPropertiesServiceImpl class

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

  • Constructor Details

    • PatchUpdateListItemPropertiesServiceImpl

      @Autowired public PatchUpdateListItemPropertiesServiceImpl(ListWiredServices listWiredServices)
    • PatchUpdateListItemPropertiesServiceImpl

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

    • getValidator

      @ValidatorEvent(serviceName="list", webhookName="listservice/validator/listproperties", actionType="patch") public List<com.skava.core.validation.ValidatorComponent> getValidator()
      Specified by:
      getValidator in interface com.skava.core.EcommService<ListItemRequestInternal,ListItemResponse>
    • 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/listitemproperties/patch", identifier="response_listItems.id") public ListItemResponse process(ListItemRequestInternal request)
      This method is used to create Properties based on given Properties.
      Specified by:
      process in interface com.skava.core.EcommService<ListItemRequestInternal,ListItemResponse>
      Parameters:
      request - It contains the attributes required for the creation of Properties.
      Returns:
      It returns the PropertiesResponse.
    • methodFallback

      public ListItemResponse methodFallback(ListItemRequestInternal 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.