예제 #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;
 }