@DefaultKey(value="urlTool") public class NoteTemplateUrlTool extends Object
| Constructor and Description |
|---|
NoteTemplateUrlTool() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBlog(NoteRenderContext context,
MinimalBlogData blog)
Return the link to a topic.
|
String |
getUser(NoteRenderContext context,
UserData user)
Return the link to a user.
|
public String getBlog(NoteRenderContext context, MinimalBlogData blog)
context - the note render contextblog - the topicpublic String getUser(NoteRenderContext context, UserData user)
context - the note render contextuser - the userCopyright © 2019 Communote team. All rights reserved.