Package com.skava.promotion.service.impl
Class FindLivePromotionServiceImpl
java.lang.Object
com.skava.promotion.service.impl.FindLivePromotionServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<PromotionRequestInternal,
,PromotionAPIResponse> FindLivePromotionService
@Service
public class FindLivePromotionServiceImpl
extends Object
implements FindLivePromotionService
This class contains the functionalities to load a live promotion
Loads a live promotion
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
FieldsModifier and TypeFieldDescriptionHolds the instance of collectionRepositoryHolds the instance of promotionGroupRepositoryHolds the instance of promotionProcess -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
This method gives a validator componentProvides a functionality load all live promotiongroupsprocess
(PromotionRequestInternal request) This method process the request and loads all live promotionMethods 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
-
Field Details
-
collectionRepository
Holds the instance of collectionRepository -
promotionProcess
Holds the instance of promotionProcess -
promotionGroupRepository
Holds the instance of promotionGroupRepository
-
-
Constructor Details
-
FindLivePromotionServiceImpl
public FindLivePromotionServiceImpl()
-
-
Method Details
-
getValidator
This method gives a validator component- Specified by:
getValidator
in interfacecom.skava.core.EcommService<PromotionRequestInternal,
PromotionAPIResponse>
-
process
This method process the request and loads all live promotion- Specified by:
process
in interfacecom.skava.core.EcommService<PromotionRequestInternal,
PromotionAPIResponse> - Parameters:
request
- Holds the instance ofPromotionRequestInternal
-
loadAllLivePromotion
Provides a functionality load all live promotiongroups- Specified by:
loadAllLivePromotion
in interfaceFindLivePromotionService
-