Class ChineseAbstractEmailContext<T extends BusinessProcessModel>

java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
All Implemented Interfaces:
Serializable, Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext
Direct Known Subclasses:
BackInStockNotificationEmailContext, ConsignmentCollectionReminderEmailContext, CouponNotificationEmailContext, CustomerEmailContext, DeliverySentEmailContext, NotPickedUpConsignmentCanceledEmailContext, OrderCancelledEmailContext, OrderNotificationEmailContext, OrderPartiallyModifiedEmailContext, OrderRefundEmailContext, ReadyForPickupEmailContext

public abstract class ChineseAbstractEmailContext<T extends BusinessProcessModel> extends AbstractEmailContext<T>
See Also:
  • Field Details

  • Constructor Details

    • ChineseAbstractEmailContext

      public ChineseAbstractEmailContext()
  • Method Details

    • init

      public void init(T businessProcessModel, EmailPageModel emailPageModel)
      Overrides:
      init in class AbstractEmailContext<T extends BusinessProcessModel>
    • getEmailLanguage

      protected LanguageModel getEmailLanguage(T businessProcessModel)
      Specified by:
      getEmailLanguage in class AbstractEmailContext<T extends BusinessProcessModel>
    • localize

      protected void localize(T businessProcessModel)
    • setNameWithTitleInContext

      public void setNameWithTitleInContext()
      Set the nameWithTitle in email context
    • getNameWithTitle

      public String getNameWithTitle()
    • getCustomerNameStrategy

      public CustomerNameStrategy getCustomerNameStrategy()
    • setCustomerNameStrategy

      public void setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
    • getNameWithTitleFormatStrategy

      public NameWithTitleFormatStrategy getNameWithTitleFormatStrategy()
    • setNameWithTitleFormatStrategy

      public void setNameWithTitleFormatStrategy(NameWithTitleFormatStrategy nameWithTitleFormatStrategy)
    • getChineseCustomerAccountService

      protected ChineseCustomerAccountService getChineseCustomerAccountService()
    • setChineseCustomerAccountService

      public void setChineseCustomerAccountService(ChineseCustomerAccountService chineseCustomerAccountService)
    • pushCurrentTemplateName

      public void pushCurrentTemplateName(String arg0)
    • popCurrentTemplateName

      public void popCurrentTemplateName()
    • getCurrentTemplateName

      public String getCurrentTemplateName()
    • getTemplateNameStack

      public String[] getTemplateNameStack()
    • pushCurrentMacroName

      public void pushCurrentMacroName(String arg0)
    • popCurrentMacroName

      public void popCurrentMacroName()
    • getCurrentMacroName

      public String getCurrentMacroName()
    • getCurrentMacroCallDepth

      public int getCurrentMacroCallDepth()
    • getMacroNameStack

      public String[] getMacroNameStack()
    • icacheGet

      public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(Object arg0)
    • 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

      public void setMacroLibraries(List<org.apache.velocity.Template> arg0)
    • getMacroLibraries

      public List<org.apache.velocity.Template> getMacroLibraries()
    • attachEventCartridge

      public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
      Specified by:
      attachEventCartridge in interface org.apache.velocity.context.InternalEventContext
    • getEventCartridge

      public org.apache.velocity.app.event.EventCartridge getEventCartridge()
      Specified by:
      getEventCartridge in interface org.apache.velocity.context.InternalEventContext