Interface TmaBpoGuidedSellingFacade
- All Known Implementing Classes:
DefaultTmaBpoGuidedSellingFacade
public interface TmaBpoGuidedSellingFacade
Facade is responsible for getting all information for Guided Selling Feature for BPO
- Since:
- 6.7
-
Method Summary
Modifier and TypeMethodDescriptiongetCalculatedStepsForBPO(String bpoCode) fetch the calculated steps to configure a BPOgetDashBoardForBPO(String bpoCode, Integer groupNumber) Fetch the dash board data For the BPO guided Selling JourneygetDashBoardForBPO(String bpoCode, String groupId, Integer groupNumber) Fetch the dash board data For the BPO guided Selling Journey for the corresponding groupIdgetFirstStepForBPO(String bpoCode) Fetch the first step for given BPO CodegetProductsAssociatedWithGroups(String groupId, PageableData pageableData, String searchQuery, String bpoCode, Integer groupNumber) Initiate a new or refine an existing search for bundle products based on BPO id and Group id.validateAndGetBPOEntryGroup(String bpoCode, Integer groupNumber) validate and Fetch the EntryGroup data for the corresponding BPO
-
Method Details
-
getProductsAssociatedWithGroups
ProductSearchPageData<SearchStateData,ProductData> getProductsAssociatedWithGroups(String groupId, PageableData pageableData, String searchQuery, String bpoCode, Integer groupNumber) Initiate a new or refine an existing search for bundle products based on BPO id and Group id.- Parameters:
groupId- The calculated Group ofTmaBundledProductOfferingModelof the root Bundled Product Offering, from whereTmaSimpleProductOfferingModelis addedpageableData-PageableDatathe pageable datasearchQuery- the search query for the Search page databpoCode- the BPO codeProductModel.CODEfor which guided selling journey is startedgroupNumber- The group identifying the entry or entry group to whichTmaBundledProductOfferingModelis added to the cart, can be empty- Returns:
ProductSearchPageData
-
getCalculatedStepsForBPO
fetch the calculated steps to configure a BPO- Parameters:
bpoCode- the bpoCode for which Journey needs to be calculated- Returns:
- the map with
GuidedSellingStepDataas value and calculated group Id as keys
-
getDashBoardForBPO
Fetch the dash board data For the BPO guided Selling Journey- Parameters:
groupNumber- The group identifying the entry or entry group to whichTmaBundledProductOfferingModelis added to the cart , can be null if no entry is added for a particular journeybpoCode- the bpoCode for which Journey needs to be calculated- Returns:
GuidedSellingDashBoardDataThe guided selling dash board data for a the given BPO
-
getFirstStepForBPO
Fetch the first step for given BPO Code- Parameters:
bpoCode-TmaBundledProductOfferingModelcode- Returns:
- step name Return first key of hash map if Given bpoCode
TmaBundledProductOfferingModelhas list of child's or list of groups otherwise return theModelNotFoundExceptionif null empty is return by given BPO code
-
validateAndGetBPOEntryGroup
validate and Fetch the EntryGroup data for the corresponding BPO- Parameters:
bpoCode- the bpoCode for which Journey needs to be calculatedgroupNumber- The group identifying the entry or entry group to whichTmaBundledProductOfferingModelis added to the cart , can be null if no entry is added for a particular journey- Returns:
EntryGroupThe EntryGroup data for a the given BPO
-
getDashBoardForBPO
Fetch the dash board data For the BPO guided Selling Journey for the corresponding groupId- Parameters:
groupNumber- TheEntryGroupto whichTmaBundledProductOfferingModelis added to the cart , can be null if no entry is added for a particular journeybpoCode- the bpoCode for which Journey needs to be calculatedgroupId- the bpo groupId for which Journey needs to be calculated- Returns:
GuidedSellingDashBoardDataThe guided selling dash board data for a the given BPO
-