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 getUserProfileLink(String userActivityObject, String displayValue)
public static String getUserAvatarURL(CoreSession session, String username) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.