Package com.skava.service.impl
Class GetAllCollectionAttributeServiceImpl
java.lang.Object
com.skava.service.impl.GetAllCollectionAttributeServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<CollectionAttributeRequest,
,CollectionAttributesResponse> GetAllCollectionAttributeService
@Service
public class GetAllCollectionAttributeServiceImpl
extends Object
implements GetAllCollectionAttributeService
The Class GetAllCollectionAttributeServiceImpl
This class is used to load all collection attributes.
This class is used to load all collection attributes.
- Author:
- Infosys Equinox
-
Constructor Summary
ConstructorsConstructorDescriptionGetAllCollectionAttributeServiceImpl
(CollectionAttributeRepository collectionAttributeRepository, CommonServices commonServices) The default constructor. -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
Validator class for CollectionAttributeServiceMethod fallback.process
(CollectionAttributeRequest request) Load all collection attribute from DBMethods 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
-
GetAllCollectionAttributeServiceImpl
@Autowired public GetAllCollectionAttributeServiceImpl(CollectionAttributeRepository collectionAttributeRepository, CommonServices commonServices) The default constructor.
-
-
Method Details
-
getValidator
Validator class for CollectionAttributeService- Specified by:
getValidator
in interfacecom.skava.core.EcommService<CollectionAttributeRequest,
CollectionAttributesResponse>
-
process
@CircuitBreaker(name="user-key", fallbackMethod="methodFallback") @Transactional(readOnly=true) public CollectionAttributesResponse process(CollectionAttributeRequest request) Load all collection attribute from DB- Specified by:
process
in interfacecom.skava.core.EcommService<CollectionAttributeRequest,
CollectionAttributesResponse> - Parameters:
request
- Which is used to load collection attribute- Returns:
- CollectionAttributesResponse Instance of
CollectionAttributesResponse
-
methodFallback
Method fallback.- Parameters:
input
- the input object of typeCollectionAttributeRequest
- Returns:
- the response of type
CollectionAttributesResponse
-