kaos.core.csi.registration
Interface GroupRegistration

All Known Subinterfaces:
Registration

public interface GroupRegistration

Defines the operations to register and deregister entities with group properties

Author:
KAoS Team $Revision: 1.2 $

Method Summary
 ModificationType addGroupLeader(java.lang.String actorId, java.lang.String groupURI)
          Adds the specified actor as a leader of the given group.
 ModificationType removeGroupLeader(java.lang.String actorId, java.lang.String groupURI)
          Remove the specified actor as a leader of the given group.
 

Method Detail

addGroupLeader

ModificationType addGroupLeader(java.lang.String actorId,
                                java.lang.String groupURI)
                                throws NotRegisteredException,
                                       DirectoryFailure,
                                       kaos.core.service.directory.ModificationException
Adds the specified actor as a leader of the given group. Sets values in the ontology service for both the Group.hasLeader and Actor.isLeaderOf properties.

Parameters:
actorId - - unique identifier of the Actor (Agent) individual to be set as the leader
teamURI - - unique URI of the Group for which to set the leader
Returns:
Throws:
NotRegisteredException
DirectoryFailure
kaos.core.service.directory.ModificationException

removeGroupLeader

ModificationType removeGroupLeader(java.lang.String actorId,
                                   java.lang.String groupURI)
                                   throws NotRegisteredException,
                                          DirectoryFailure,
                                          kaos.core.service.directory.ModificationException
Remove the specified actor as a leader of the given group. Clears values in the ontology service for both the Group.hasLeader and Actor.isLeaderOf properties.

Parameters:
actorId - - unique identifier of the Actor (Agent) individual to be removed as the leader
teamURI - - unique URI of the Group from which to remove the leader
Returns:
Throws:
NotRegisteredException
DirectoryFailure
kaos.core.service.directory.ModificationException


Copyright © 2006 IHMC All Rights Reserved.