Package com.skava.promotion.service.impl
Class ClonePromotionGroupServiceImpl
java.lang.Object
com.skava.promotion.service.impl.CloneServiceImpl
com.skava.promotion.service.impl.ClonePromotionGroupServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<PromotionGroupRequestInternal,
,PromotionGroupAPIResponse> ClonePromotionGroupService
@Service
public class ClonePromotionGroupServiceImpl
extends CloneServiceImpl
implements ClonePromotionGroupService
A class that provides functionality to clone a promotion group under a specified collection
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Field Summary
Fields inherited from class com.skava.promotion.service.impl.CloneServiceImpl
collectionAttributeprocess, collectionRepo, createPromotionService, messageSource, promotionEventSender, promotionGroupDO, promotionGroupProcess, promotionProcess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.skava.core.validation.ValidatorComponent>
Returns the validator instanceprocess
(PromotionGroupRequestInternal request) Provides a functionality to clone a promotion group under a specified collectionMethods inherited from class com.skava.promotion.service.impl.CloneServiceImpl
isValidPromotionGroupId
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
-
ClonePromotionGroupServiceImpl
public ClonePromotionGroupServiceImpl()
-
-
Method Details
-
getValidator
Returns the validator instance- Specified by:
getValidator
in interfacecom.skava.core.EcommService<PromotionGroupRequestInternal,
PromotionGroupAPIResponse>
-
process
@SendEvent(eventType="promotionservice/promotiongroup/clone", identifier="response_promotionGroupResponse.promotionGroup.id") public PromotionGroupAPIResponse process(PromotionGroupRequestInternal request) Provides a functionality to clone a promotion group under a specified collection- Specified by:
process
in interfacecom.skava.core.EcommService<PromotionGroupRequestInternal,
PromotionGroupAPIResponse> - Parameters:
request
- Holds the data to clone a promotion group- Returns:
- promotionGroupAPIResponse Holds the response data
-