|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.core.service.directory.query.AgentRelations
public class AgentRelations
This class enables to perform queries about different kinds of relations between agents. $Revision: 1.7 $
| Constructor Summary | |
|---|---|
AgentRelations(KAoSAgentDirectoryServiceProxy _myKAoSDirectoryServiceProxy)
Constructor of the class. |
|
| Method Summary | |
|---|---|
java.util.Vector |
collectSubordinatesFrom(java.lang.String domainName)
Get a list of agents in the child domains of the single domain the given agent is a member of with a positive authorisation (interpreted these as subordinates) |
java.util.Vector |
collectSuperiorsFrom(java.lang.String domainName)
Get a list of agents in the parent domains of a single domain the given agent is a member of with a positive authorisation (interpreted these as superiors) |
java.util.Vector |
getPeers(java.lang.String agentGUID)
Get a list of agents in the domain(s) the given agent is in with a positive authorisation (interpreted as peers) |
java.util.Vector |
getSubordinates(java.lang.String agentGUID)
Get a list of agents in the child domains of the domains the given agent is a member of with a positive authorisation (interpreted these as subordinates) |
java.util.Vector |
getSuperiors(java.lang.String agentGUID)
Get a list of agents in the parent domains of the domains the given agent is a member of with a positive authorisation (interpreted these as superiors) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentRelations(KAoSAgentDirectoryServiceProxy _myKAoSDirectoryServiceProxy)
_myKAoSDirectoryServiceProxy - reference to the object representing a Directory Service proxy withing agent execution context| Method Detail |
|---|
public java.util.Vector getPeers(java.lang.String agentGUID)
throws NotRegisteredException
agentGUID - GUID of the agent, whose peers are requested
NotRegisteredException - if the agentGUID is not registered
public java.util.Vector getSubordinates(java.lang.String agentGUID)
throws NotRegisteredException
agentGUID - GUID of the agent, whose subordinates are requested
NotRegisteredException - if the agentGUID is not registered
public java.util.Vector getSuperiors(java.lang.String agentGUID)
throws NotRegisteredException
agentGUID - GUID of the agent, whose susuperiors are requested
NotRegisteredException - if the agentGUID is not registeredpublic java.util.Vector collectSuperiorsFrom(java.lang.String domainName)
domainName - string representing the domain name
public java.util.Vector collectSubordinatesFrom(java.lang.String domainName)
throws NotRegisteredException
domainName - string representing the domain name
NotRegisteredException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||