Package com.skava.list.service.impl
Class FindAllCollectionAttributesServiceImpl
java.lang.Object
com.skava.list.service.impl.FindAllCollectionAttributesServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<CollectionAttributeRequestInternal,
,List<CollectionAttribute>> FindAllCollectionAttributesService
@Service
public class FindAllCollectionAttributesServiceImpl
extends Object
implements FindAllCollectionAttributesService
FindAllCollectionAttributesServiceImpl class
This class contains the implemented for functionality to load all collection properties.
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
Fall back process if there is any exception in the execution of the process.This method is used to load all CollectionProperties based on given CollectionProperties.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
-
FindAllCollectionAttributesServiceImpl
public FindAllCollectionAttributesServiceImpl()
-
-
Method Details
-
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}) public List<CollectionAttribute> process(CollectionAttributeRequestInternal request) This method is used to load all CollectionProperties based on given CollectionProperties.- Specified by:
process
in interfacecom.skava.core.EcommService<CollectionAttributeRequestInternal,
List<CollectionAttribute>> - Specified by:
process
in interfaceFindAllCollectionAttributesService
- Parameters:
request
- It contains the attributes required for the load all CollectionProperties.- Returns:
- It returns the
CollectionPropertiessResponse
.
-
getValidator
- Specified by:
getValidator
in interfacecom.skava.core.EcommService<CollectionAttributeRequestInternal,
List<CollectionAttribute>>
-
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.
-