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) |
protected String |
getDocumentURL(String repositoryName,
String documentId) |
String |
getUserAvatarURL(CoreSession session,
String username) |
String |
getUserProfileLink(String userActivityObject,
String displayValue) |
protected String |
getUserProfileURL(String username) |
public DefaultActivityLinkBuilder()
public String getDocumentLink(String documentActivityObject, String displayValue)
getDocumentLink
in interface ActivityLinkBuilder
protected String getDocumentURL(String repositoryName, String documentId)
public String getUserProfileLink(String userActivityObject, String displayValue)
getUserProfileLink
in interface ActivityLinkBuilder
protected String getUserProfileURL(String username)
public String getUserAvatarURL(CoreSession session, String username)
getUserAvatarURL
in interface ActivityLinkBuilder
Copyright © 2018 Nuxeo. All rights reserved.