public class TopicUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Long |
getTopicId(BaseTopic topic)
Get the ID of the topic
|
static BlogManagement |
getTopicmanagement() |
public static Long getTopicId(BaseTopic topic) throws BlogNotFoundException, BlogAccessException
topic
- the topic to getBlogNotFoundException
- in case no id is set and topic for alias does not existBlogAccessException
- in case the current user has no access to the topicpublic static BlogManagement getTopicmanagement()
Copyright © 2019 Communote team. All rights reserved.