ontopoly.utils
Class OntopolyUtils

java.lang.Object
  extended by ontopoly.utils.OntopolyUtils

public class OntopolyUtils
extends java.lang.Object


Method Summary
static boolean filterTopicByAdministratorRole(Topic topic)
           
static boolean filterTopicByAnnotationRole(Topic topic)
           
static boolean filterTopicByDefaultRole(Topic topic)
           
static void filterTopicsByAdministratorRole(java.util.Collection<? extends Topic> topics)
           
static void filterTopicsByAnnotationRole(java.util.Collection<? extends Topic> topics)
           
static void filterTopicsByDefaultRole(java.util.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultTopicType

public static TopicType getDefaultTopicType(Topic topic)
Returns the topic type that is the default topic type amongst the topic types of the topic.

Parameters:
topic -

filterTopicByAdministratorRole

public static boolean filterTopicByAdministratorRole(Topic topic)

filterTopicByAnnotationRole

public static boolean filterTopicByAnnotationRole(Topic topic)

filterTopicByDefaultRole

public static boolean filterTopicByDefaultRole(Topic topic)

filterTopicsByAdministratorRole

public static void filterTopicsByAdministratorRole(java.util.Collection<? extends Topic> topics)

filterTopicsByAnnotationRole

public static void filterTopicsByAnnotationRole(java.util.Collection<? extends Topic> topics)

filterTopicsByDefaultRole

public static void filterTopicsByDefaultRole(java.util.Collection<? extends Topic> topics)


Copyright © 2000-2012 Ontopia.