Class MentionUtils
java.lang.Object
org.exoplatform.social.core.utils.MentionUtils
-
Method Summary
Modifier and TypeMethodDescriptiongetMentionedRoles(String message, String identityId) getMentionedUsernames(String message) static StringsubstituteRoles(org.exoplatform.social.core.manager.IdentityManager identityManager, String message, Locale locale) static StringsubstituteRoleWithLocale(String message, Locale locale) static voidsubstituteRoleWithLocale(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, Locale locale) static StringsubstituteUsernames(String message) static StringsubstituteUsernames(String portalOwner, String message) static StringsubstituteUsernames(String portalOwner, String message, Locale locale) static StringsubstituteUsernames(String message, Locale locale) static voidsubstituteUsernames(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, String portalOwner) static voidsubstituteUsernames(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, List<String> templateParamKeys, String portalOwner) static StringsubstituteUsernames(org.exoplatform.social.core.manager.IdentityManager identityManager, String portalOwner, String message) static StringsubstituteUsernames(org.exoplatform.social.core.manager.IdentityManager identityManager, String portalOwner, String message, Locale locale)
-
Method Details
-
getMentionedUsernames
-
getMentionedRoles
-
substituteUsernames
-
substituteUsernames
-
substituteUsernames
-
substituteUsernames
-
substituteUsernames
public static void substituteUsernames(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, String portalOwner) -
substituteUsernames
-
substituteUsernames
-
substituteUsernames
-
substituteRoles
-
substituteRoleWithLocale
public static void substituteRoleWithLocale(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, Locale locale) -
substituteRoleWithLocale
-