Interface ProcessContextResolutionStrategy<T extends BaseSiteModel>
- All Known Implementing Classes:
AbstractOrderProcessContextStrategy,AbstractProcessContextStrategy,B2BAcceleratorProcessContextResolutionStrategy,B2BAcceleratorProcessContextStrategy,ConsignmentProcessContextStrategy,ConsolidatedPickSlipBusinessProcessContextStrategy,CouponNotificationProcessContextStrategy,DefaultProcessContextResolutionStrategy,OrderProcessContextStrategy,ProductInterestProcessContextStrategy,QuoteProcessContextStrategy,ReturnProcessContextStrategy,StoreFrontProcessContextStrategy
public interface ProcessContextResolutionStrategy<T extends BaseSiteModel>
Strategy to impersonate site and initialize session context from the process model.
-
Method Summary
Modifier and TypeMethodDescriptiongetCmsSite(BusinessProcessModel businessProcessModel) Resolves site to be used for the given business process.getContentCatalogVersion(BusinessProcessModel businessProcessModel) Resolves content catalog version to be used for the given business process.voidinitializeContext(BusinessProcessModel businessProcessModel) Impersonate site, and initializes session currency and session language for the given business process.
-
Method Details
-
initializeContext
Impersonate site, and initializes session currency and session language for the given business process.- Parameters:
businessProcessModel- the business process
-
getContentCatalogVersion
Resolves content catalog version to be used for the given business process.- Parameters:
businessProcessModel- the business process- Returns:
- the content catalog version
-
getCmsSite
Resolves site to be used for the given business process.- Parameters:
businessProcessModel- the business process- Returns:
- the cms site
-