public class DefaultActivityLinkBuilder extends Object implements ActivityLinkBuilder
ActivityLinkBuilder
computing URLs with the default id codec for documents and user codec for users.Constructor and Description |
---|
DefaultActivityLinkBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentLink(String documentActivityObject,
String displayValue) |
String |
getUserAvatarURL(CoreSession session,
String username) |
String |
getUserProfileLink(String userActivityObject,
String displayValue) |
public String getDocumentLink(String documentActivityObject, String displayValue)
getDocumentLink
in interface ActivityLinkBuilder
public String getUserProfileLink(String userActivityObject, String displayValue)
getUserProfileLink
in interface ActivityLinkBuilder
public String getUserAvatarURL(CoreSession session, String username) throws ClientException
getUserAvatarURL
in interface ActivityLinkBuilder
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.