public class ActivityMessageHelper extends Object
ActivityMessage
content from an activity attributes.Modifier and Type | Field and Description |
---|---|
static Pattern |
HTTP_URL_PATTERN |
Modifier and Type | Method and Description |
---|---|
static String |
getDocumentLink(String documentActivityObject,
String displayValue) |
static String |
getDocumentURL(String repositoryName,
String documentId) |
static String |
getUserAvatarURL(CoreSession session,
String username) |
static String |
getUserProfileLink(String userActivityObject,
String displayValue) |
static String |
getUserProfileURL(String username) |
static String |
replaceURLsByLinks(String message) |
public static Pattern HTTP_URL_PATTERN
public static String getDocumentLink(String documentActivityObject, String displayValue)
public static String getDocumentURL(String repositoryName, String documentId)
public static String getUserProfileLink(String userActivityObject, String displayValue)
public static String getUserProfileURL(String username)
public static String getUserAvatarURL(CoreSession session, String username)
public static String replaceURLsByLinks(String message)
Copyright © 2018 Nuxeo. All rights reserved.