コード例 #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;
 }