public abstract class AbstractProcessContextStrategy extends java.lang.Object implements ProcessContextResolutionStrategy
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BUSINESS_PROCESS_MUST_NOT_BE_NULL_MSG |
| Constructor and Description |
|---|
AbstractProcessContextStrategy() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCmsSiteprotected static final java.lang.String BUSINESS_PROCESS_MUST_NOT_BE_NULL_MSG
public void initializeContext(BusinessProcessModel businessProcess)
ProcessContextResolutionStrategyinitializeContext in interface ProcessContextResolutionStrategybusinessProcess - the business processpublic CatalogVersionModel getContentCatalogVersion(BusinessProcessModel businessProcess)
ProcessContextResolutionStrategygetContentCatalogVersion in interface ProcessContextResolutionStrategybusinessProcess - the business processprotected void setSite(BaseSiteModel baseSite)
baseSite - the BaseSiteModel to set in sessionprotected void setCurrency(BusinessProcessModel businessProcess)
protected void setLanguage(BusinessProcessModel businessProcess)
protected void setFallbacks()
protected CurrencyModel computeCurrency(BusinessProcessModel businessProcess)
protected LanguageModel computeLanguage(BusinessProcessModel businessProcess)
protected CurrencyModel getCurrency(CustomerModel customer)
protected boolean isValidCurrency(CurrencyModel currency)
protected LanguageModel getLanguage(CustomerModel customer)
protected boolean isValidLanguage(LanguageModel language)
protected abstract CustomerModel getCustomer(BusinessProcessModel businessProcess)
protected CMSSiteService getCmsSiteService()
public void setCmsSiteService(CMSSiteService cmsSiteService)
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
protected CommerceCommonI18NService getCommerceCommonI18NService()
public void setCommerceCommonI18NService(CommerceCommonI18NService commerceCommonI18NService)
protected SessionService getSessionService()
public void setSessionService(SessionService sessionService)
protected boolean isEnableLanguageFallback()
public void setEnableLanguageFallback(boolean enableLanguageFallback)
protected CatalogVersionService getCatalogVersionService()
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
protected BaseSiteService getBaseSiteService()
public void setBaseSiteService(BaseSiteService baseSiteService)
Copyright © 2018 SAP SE. All Rights Reserved.