kaos.ontology.repository
Class GroupOntologySupport

java.lang.Object
  extended by kaos.ontology.repository.GroupOntologySupport

public class GroupOntologySupport
extends java.lang.Object


Constructor Summary
GroupOntologySupport()
           
 
Method Summary
static void addGroupMembershipClasses(java.lang.String newGroupName)
          Adds the classes describing the group membership to the JTP context
static void registerGroupsFromLoadedOntology(java.util.Set myNameSpaces)
          Adds the domains found in the recently loaded ontology to the Directory service.
static void setNotificationRef(KAoSDirectoryService _myKAoSDirectoryService)
          Sets the reference to the notification class.
static void setReasoningContext(OntologyRepository context)
          Sets the reference to the JTP context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupOntologySupport

public GroupOntologySupport()
Method Detail

setReasoningContext

public static void setReasoningContext(OntologyRepository context)
Sets the reference to the JTP context.


setNotificationRef

public static void setNotificationRef(KAoSDirectoryService _myKAoSDirectoryService)
Sets the reference to the notification class.


registerGroupsFromLoadedOntology

public static void registerGroupsFromLoadedOntology(java.util.Set myNameSpaces)
                                             throws jtp.ReasoningException
Adds the domains found in the recently loaded ontology to the Directory service.

Parameters:
myNameSpaces - The url to the recently loaded ontology
Throws:
ReasoningException - when loading of the ontology failed.

addGroupMembershipClasses

public static void addGroupMembershipClasses(java.lang.String newGroupName)
                                      throws ReasoningException
Adds the classes describing the group membership to the JTP context

Parameters:
newGroupName - The name of the recently registered ontologies
Throws:
ReasoningException - when adding to the ontology repository failed.