Package com.skava.cart.service.impl
Class FindAllCartPropertiesServiceImpl
java.lang.Object
com.skava.cart.service.impl.CartPropertiesServiceImpl
com.skava.cart.service.impl.FindAllCartPropertiesServiceImpl
- All Implemented Interfaces:
FindAllCartPropertiesService
,com.skava.core.EcommService<CartDataRequest,
CartPropertiesResponse>
@Service
public class FindAllCartPropertiesServiceImpl
extends CartPropertiesServiceImpl
implements FindAllCartPropertiesService
The Class FindAllCartPropertiesServiceImpl.
-
Field Summary
Fields inherited from class com.skava.cart.service.impl.CartPropertiesServiceImpl
cartNewFactory, cartPropertiesProcess, ENTITY, messageSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmethodFallback
(CartDataRequest request) Fall back process if there is any exception in the execution of the process.process
(CartDataRequest request) This method is used to load all CartProperties based on given CartProperties.Methods inherited from class com.skava.cart.service.impl.CartPropertiesServiceImpl
getValidator
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, getValidator
-
Constructor Details
-
FindAllCartPropertiesServiceImpl
public FindAllCartPropertiesServiceImpl()
-
-
Method Details
-
process
@HystrixCommand(commandKey="item-key", fallbackMethod="methodFallback", commandProperties=@HystrixProperty(name="execution.isolation.strategy",value="SEMAPHORE"), ignoreExceptions=com.skava.core.validation.ValidateException.class) public CartPropertiesResponse process(CartDataRequest request) This method is used to load all CartProperties based on given CartProperties.- Specified by:
process
in interfacecom.skava.core.EcommService<CartDataRequest,
CartPropertiesResponse> - Parameters:
request
- It contains the attributes required for the load all CartProperties.- Returns:
- the instance of
CartPropertiesResponse
object.
-
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.
-