public class OntopolyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
filterTopicByAdministratorRole(Topic topic) |
static boolean |
filterTopicByAnnotationRole(Topic topic) |
static boolean |
filterTopicByDefaultRole(Topic topic) |
static void |
filterTopicsByAdministratorRole(Collection<? extends Topic> topics) |
static void |
filterTopicsByAnnotationRole(Collection<? extends Topic> topics) |
static void |
filterTopicsByDefaultRole(Collection<? extends Topic> topics) |
static TopicType |
getDefaultTopicType(Topic topic)
Returns the topic type that is the default topic type amongst the topic types of the topic.
|
public static TopicType getDefaultTopicType(Topic topic)
topic
- public static boolean filterTopicByAdministratorRole(Topic topic)
public static boolean filterTopicByAnnotationRole(Topic topic)
public static boolean filterTopicByDefaultRole(Topic topic)
public static void filterTopicsByAdministratorRole(Collection<? extends Topic> topics)
public static void filterTopicsByAnnotationRole(Collection<? extends Topic> topics)
public static void filterTopicsByDefaultRole(Collection<? extends Topic> topics)