@DefaultKey(value="followTool") @ValidScope(value="request") public class FollowTool extends RequestAwareTool
| Constructor and Description |
|---|
FollowTool() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
followsBlog(Long blogId) |
boolean |
followsTag(Long tag) |
boolean |
followsUser(Long userId) |
getRequest, getResponse, getServletContext, setRequest, setResponse, setServletContextpublic boolean followsBlog(Long blogId)
blogId - The blog id.public boolean followsTag(Long tag)
tag - The tag .public boolean followsUser(Long userId)
userId - The user id.Copyright © 2019 Communote team. All rights reserved.