Пример #1
0
 @Bean
 public freemarker.template.Configuration freemakerConfig()
     throws IOException, URISyntaxException {
   freemarker.template.Configuration cfg =
       new freemarker.template.Configuration(freemarker.template.Configuration.VERSION_2_3_22);
   cfg.setDirectoryForTemplateLoading(
       Paths.get(this.getClass().getClassLoader().getResource("/template").toURI()).toFile());
   cfg.setDefaultEncoding("UTF-8");
   cfg.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
   return cfg;
 }
Пример #2
0
 @Bean
 public Template challengeEmployerMailTemplateVi(freemarker.template.Configuration freemakerConfig)
     throws IOException {
   Template template = freemakerConfig.getTemplate("challengeEmployerEmail.vi.ftl");
   return template;
 }
Пример #3
0
 @Bean
 public Template dailyChallengeSummaryMailTemplateVi(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("challengeDailySummary.vi.ftl");
   return template;
 }
Пример #4
0
 @Bean
 public Template onBoardingMailTemplateVi(freemarker.template.Configuration freemakerConfig)
     throws IOException {
   Template template = freemakerConfig.getTemplate("onboarding.vi.ftl");
   return template;
 }
Пример #5
0
 @Bean
 public Template alertEventOrganiserMailTemplateVi(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("webinar.vi.ftl");
   return template;
 }
Пример #6
0
 @Bean
 public Template jobAlertMailTemplateVi(freemarker.template.Configuration freemakerConfig)
     throws IOException {
   Template template = freemakerConfig.getTemplate("jobAlert.vi.ftl");
   return template;
 }
Пример #7
0
 @Bean
 public Template alertTechloopiesPostJobMailTemplateEn(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("alertTechloopiesApplyJob.en.ftl");
   return template;
 }
Пример #8
0
 @Bean
 public Template alertEmployerPostJobMailTemplateVi(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("alertEmployerPostJob.vi.ftl");
   return template;
 }
Пример #9
0
 @Bean
 public Template alertEmployerChallengeMailTemplateEn(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("alertEmployerChallenge.en.ftl");
   return template;
 }
Пример #10
0
 @Bean
 public Template confirmUserJoinChallengeMailTemplateVi(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("confirmUserJoinChallenge.vi.ftl");
   return template;
 }
Пример #11
0
 @Bean
 public Template postChallengeUpdateMailTemplateEn(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("updateChallenge.en.ftl");
   return template;
 }
Пример #12
0
 @Bean
 public Template notifyChallengeTimelineMailTemplateEn(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("notifyChallengeTimeline.en.ftl");
   return template;
 }
Пример #13
0
 @Bean
 public Template getPromotedTemplateVi(freemarker.template.Configuration freemakerConfig)
     throws IOException {
   Template template = freemakerConfig.getTemplate("getPromoted.vi.ftl");
   return template;
 }
Пример #14
0
 @Bean
 public Template salaryReviewReportTemplateVi(freemarker.template.Configuration freemakerConfig)
     throws IOException {
   Template template = freemakerConfig.getTemplate("salaryReviewReport.vi.ftl");
   return template;
 }
Пример #15
0
 @Bean
 public Template citibankCreditCardPromotionTemplate(
     freemarker.template.Configuration freemakerConfig) throws IOException {
   Template template = freemakerConfig.getTemplate("citibankCreditCardPromotion.ftl");
   return template;
 }