Class OrderNotificationEmailContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
de.hybris.platform.acceleratorservices.document.context.AbstractHybrisVelocityContext
de.hybris.platform.acceleratorservices.process.email.context.AbstractEmailContext<T>
de.hybris.platform.chineseprofileservices.process.email.context.ChineseAbstractEmailContext<OrderProcessModel>
de.hybris.platform.chineseprofilefacades.process.email.context.OrderNotificationEmailContext
- All Implemented Interfaces:
Serializable,Cloneable,org.apache.velocity.context.Context,org.apache.velocity.context.InternalEventContext
Velocity context for a order notification email.
- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.chineseprofileservices.process.email.context.ChineseAbstractEmailContext
NAME_WITH_TITLEFields inherited from class de.hybris.platform.acceleratorservices.process.email.context.AbstractEmailContext
DATE_TOOL, DISPLAY_NAME, EMAIL, EMAIL_LANGUAGE, FROM_DISPLAY_NAME, FROM_EMAIL, TITLEFields inherited from class de.hybris.platform.acceleratorservices.document.context.AbstractHybrisVelocityContext
BASE_SITE, BASE_THEME_URL, BASE_URL, MEDIA_BASE_URL, MEDIA_SECURE_BASE_URL, SECURE_BASE_URL, THEME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.velocity.app.event.EventCartridgeattachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0) protected StringbuildPathString(List<CategoryModel> path) protected BaseSiteServiceprotected List<CategoryModel>getCategoryPath(CategoryModel category) protected List<CategoryModel>getCategoryPath(ProductModel product) protected CommerceCategoryServiceintorg.apache.velocity.runtime.resource.Resourceprotected CustomerModelgetCustomer(OrderProcessModel orderProcessModel) org.apache.velocity.app.event.EventCartridgeList<org.apache.velocity.Template>String[]getOrder()protected Converter<OrderModel,OrderData> protected CategoryModelgetPrimaryCategoryForProduct(ProductModel product) protected BaseSiteModelgetSite(OrderProcessModel orderProcessModel) String[]org.apache.velocity.util.introspection.IntrospectionCacheDatavoidvoidinit(OrderProcessModel orderProcessModel, EmailPageModel emailPageModel) voidvoidvoidpushCurrentMacroName(String arg0) voidprotected StringresolveInternal(ProductModel source) voidsetBaseSiteService(BaseSiteService baseSiteService) voidsetCommerceCategoryService(CommerceCategoryService commerceCategoryService) voidsetCurrentResource(org.apache.velocity.runtime.resource.Resource arg0) voidSet the nameWithTitle field in order confirmation email contextvoidsetMacroLibraries(List<org.apache.velocity.Template> arg0) voidsetOrderConverter(Converter<OrderModel, OrderData> orderConverter) protected voidupdateBaseUrl(OrderModel orderModel, String isoCode) protected voidupdateDeliveryAddress(OrderModel orderModel) protected voidupdateDevliverInfo(OrderProcessModel orderProcessModel) protected voidupdateGroupData(OrderModel orderModel, List<? extends OrderEntryGroupData> groupDataList) protected voidupdateProductUrlAndName(OrderModel orderModel) protected StringMethods inherited from class de.hybris.platform.chineseprofileservices.process.email.context.ChineseAbstractEmailContext
getChineseCustomerAccountService, getCustomerNameStrategy, getEmailLanguage, getNameWithTitle, getNameWithTitleFormatStrategy, localize, setChineseCustomerAccountService, setCustomerNameStrategy, setNameWithTitleFormatStrategy, setNameWithTitleInContextMethods inherited from class de.hybris.platform.acceleratorservices.process.email.context.AbstractEmailContext
getConfigurationService, getCustomerEmailResolutionService, getDisplayName, getEmail, getEmailLanguage, getFromDisplayName, getFromEmail, getTitle, getToDisplayName, getToEmail, setConfigurationService, setCustomerEmailResolutionServiceMethods inherited from class de.hybris.platform.acceleratorservices.document.context.AbstractHybrisVelocityContext
getBaseSite, getBaseThemeUrl, getBaseUrl, getCmsSlotContents, getMediaBaseUrl, getMediaSecureBaseUrl, getMessage, getMessages, getSecureBaseUrl, getSiteBaseUrlResolutionService, getTheme, getUrlEncoderService, getUrlEncodingAttributes, init, setBaseSite, setCmsSlotContents, setMessages, setSiteBaseUrlResolutionService, setUrlEncoderService, setUrlEncodingAttributesMethods inherited from class org.apache.velocity.VelocityContext
clone, internalContainsKey, internalGet, internalGetKeys, internalPut, internalRemoveMethods inherited from class org.apache.velocity.context.AbstractContext
containsKey, get, getChainedContext, getKeys, put, remove
-
Constructor Details
-
OrderNotificationEmailContext
public OrderNotificationEmailContext()
-
-
Method Details
-
getPaymentMode
-
getDeliveryAddressNameWithTitle
-
getBaseSiteService
-
setBaseSiteService
-
getCommerceCategoryService
-
setCommerceCategoryService
-
init
- Overrides:
initin classChineseAbstractEmailContext<OrderProcessModel>
-
setDeliveryAddressNameWithTitle
public void setDeliveryAddressNameWithTitle()Set the nameWithTitle field in order confirmation email context -
updateDeliveryAddress
-
updateProductUrlAndName
-
updateGroupData
protected void updateGroupData(OrderModel orderModel, List<? extends OrderEntryGroupData> groupDataList) -
updateDevliverInfo
-
updateBaseUrl
-
getSite
- Specified by:
getSitein classAbstractEmailContext<OrderProcessModel>
-
getCustomer
- Specified by:
getCustomerin classAbstractEmailContext<OrderProcessModel>
-
getOrderConverter
-
setOrderConverter
-
getOrder
-
resolveInternal
-
getCategoryPath
-
getPrimaryCategoryForProduct
-
getCategoryPath
-
buildPathString
-
urlSafe
-
pushCurrentTemplateName
-
popCurrentTemplateName
public void popCurrentTemplateName() -
getCurrentTemplateName
-
getTemplateNameStack
-
pushCurrentMacroName
-
popCurrentMacroName
public void popCurrentMacroName() -
getCurrentMacroName
-
getCurrentMacroCallDepth
public int getCurrentMacroCallDepth() -
getMacroNameStack
-
icacheGet
-
icachePut
public void icachePut(Object arg0, org.apache.velocity.util.introspection.IntrospectionCacheData arg1) -
setCurrentResource
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0) -
getCurrentResource
public org.apache.velocity.runtime.resource.Resource getCurrentResource() -
setMacroLibraries
-
getMacroLibraries
-
attachEventCartridge
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0) - Specified by:
attachEventCartridgein interfaceorg.apache.velocity.context.InternalEventContext
-
getEventCartridge
public org.apache.velocity.app.event.EventCartridge getEventCartridge()- Specified by:
getEventCartridgein interfaceorg.apache.velocity.context.InternalEventContext
-