Package com.skava.promotion.service.impl
Class FindPromotionGroupServiceImpl
java.lang.Object
com.skava.promotion.service.impl.FindPromotionGroupServiceImpl
- All Implemented Interfaces:
com.skava.core.EcommService<PromotionGroupRequestInternal,
,PromotionGroupAPIResponse> FindPromotionGroupService
@Service
public class FindPromotionGroupServiceImpl
extends Object
implements FindPromotionGroupService
A class that provides functionality to load a promotion group
- Since:
- 6.0
- Version:
- 8.0
- Author:
- Infosys Equinox
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method is used to load all PromotionGroup based on given PromotionGroup.List<com.skava.core.validation.ValidatorComponent>
Gives the validator instanceThis method is used to load all PromotionGroup based on given PromotionGroup.process
(PromotionGroupRequestInternal request) This method is used to load single PromotionGroup based on given PromotionGroup identifier.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
-
FindPromotionGroupServiceImpl
public FindPromotionGroupServiceImpl()
-
-
Method Details
-
process
This method is used to load single PromotionGroup based on given PromotionGroup identifier.- Specified by:
process
in interfacecom.skava.core.EcommService<PromotionGroupRequestInternal,
PromotionGroupAPIResponse> - Parameters:
request
- It contains the attributes required for the load of PromotionGroup.- Returns:
- It returns the
PromotionGroupAPIResponse
. - Throws:
com.skava.core.ECommerceException
- It will throw Ecommerce exception if it process get failed.
-
loaddAllPromotionGroup
This method is used to load all PromotionGroup based on given PromotionGroup.- Specified by:
loaddAllPromotionGroup
in interfaceFindPromotionGroupService
- Parameters:
request
- It contains the attributes required for the load all PromotionGroup.- Returns:
- It returns the
PromotionGroupsResponse
.
-
findAllGroupByIds
This method is used to load all PromotionGroup based on given PromotionGroup.- Specified by:
findAllGroupByIds
in interfaceFindPromotionGroupService
- Parameters:
request
- It contains the attributes required for the load all PromotionGroup.- Returns:
- It returns the
PromotionGroupsResponse
.
-
getValidator
Gives the validator instance- Specified by:
getValidator
in interfacecom.skava.core.EcommService<PromotionGroupRequestInternal,
PromotionGroupAPIResponse>
-