Exemplo n.º 1
0
 private String getAnnouncementBody(Thesis thesis, String key, Language language) {
   return getMessage(
       key,
       new Locale(language.toString()),
       thesis.getStudent().getPerson().getName(),
       getDate(thesis.getProposedDiscussed()),
       hasPlace(thesis),
       thesis.getProposedPlace(),
       hasTime(thesis.getProposedDiscussed()),
       getTime(thesis.getProposedDiscussed()),
       getString(thesis.getTitle(), language));
 }
Exemplo n.º 2
0
 private String getAnnouncementSubject(Thesis thesis, String key, Language language) {
   return getMessage(
       key, new Locale(language.toString()), thesis.getStudent().getPerson().getName());
 }