@Service public class TopicInformationManagement extends Object
| Constructor and Description |
|---|
TopicInformationManagement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthor(long userId,
long topicId,
Long discussionId)
Method to check if a specific user is an author within a given topic and optional discussion.
|
public boolean isAuthor(long userId,
long topicId,
Long discussionId)
userId - Id of the user to check.topicId - If of the topic to check.discussionId - If set, the check will also check the given discussion, can be null.Copyright © 2019 Communote team. All rights reserved.