Package com.skava.list.service.impl
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 Summary
ConstructorsConstructorDescriptionInstantiates a new delete list properties service impl.PatchUpdateListPropertiesServiceImpl
(ListWiredServices listWiredServices) -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
methodFallback
(ListRequestInternal request) Fall back process if there is any exception in the execution of the process.process
(ListRequestInternal request) This method is used to create Properties based on given Properties.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
-
PatchUpdateListPropertiesServiceImpl
-
PatchUpdateListPropertiesServiceImpl
public PatchUpdateListPropertiesServiceImpl()Instantiates a new delete list properties service impl.
-
-
Method Details
-
getValidator
- Specified by:
getValidator
in interfacecom.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 interfacecom.skava.core.EcommService<ListRequestInternal,
ListResponse> - Parameters:
request
- It contains the attributes required for the creation of Properties.- Returns:
- It returns the
PropertiesResponse
.
-
methodFallback
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.
-