Esempio n. 1
0
 private String getRoleName(Map<String, String> properties) {
   String roleName = properties.get(wfVarRole);
   String role = messageService.getMessage("invitation.invitesender.email.role." + roleName);
   if (role == null) {
     role = roleName;
   }
   return role;
 }
Esempio n. 2
0
 private String buildSubject(Map<String, String> properties) {
   return messageService.getMessage(
       "invitation.invitesender.email.subject",
       ModelUtil.getProductName(repoAdminService),
       getSiteName(properties));
 }