org.globus.wsrf
Interface TopicList

All Superinterfaces:
TopicListenerList
All Known Implementing Classes:
SimpleTopicList

public interface TopicList
extends TopicListenerList

Interface for managing and performing queries on a set of root topics.


Method Summary
 void addTopic(Topic topic)
          Add a root topic
 Topic getTopic(List topicPath)
          Get the topic for the given topic path.
 Collection getTopics(TopicExpressionType topicExpression)
          Get the set of topics the given topic expression resolves to
 boolean isTopicSetFixed()
          Is the topic set fixed?
 void removeTopic(Topic topic)
          Remove the root topic
 void setFixedTopicSet(boolean fixedTopicSet)
          Indicate whether the topic set is fixed or not
 Iterator topicIterator()
          Iterator for the set of root topics
 
Methods inherited from interface org.globus.wsrf.TopicListenerList
addTopicListener, removeTopicListener, topicListenerIterator
 

Method Detail

addTopic

public void addTopic(Topic topic)
Add a root topic
Parameters:
topic - The topic to add

removeTopic

public void removeTopic(Topic topic)
Remove the root topic
Parameters:
topic - The topic to remove

getTopics

public Collection getTopics(TopicExpressionType topicExpression)
                     throws Exception
Get the set of topics the given topic expression resolves to
Parameters:
topicExpression - The topic expression to resolve to a set of topics
Returns:
The resulting set of topics
Throws:
Exception -  

getTopic

public Topic getTopic(List topicPath)
Get the topic for the given topic path.
Parameters:
topicPath - The topic path (list of topic names)
Returns:
The topic corresponding to the given topic path

setFixedTopicSet

public void setFixedTopicSet(boolean fixedTopicSet)
Indicate whether the topic set is fixed or not
Parameters:
fixedTopicSet - Boolean indicating whether the topic set is fixed or not

isTopicSetFixed

public boolean isTopicSetFixed()
Is the topic set fixed?
Returns:
Boolean indicating whether the topic set is fixed or not

topicIterator

public Iterator topicIterator()
Iterator for the set of root topics
Returns:
The iterator


Copyright © 1999-2003 University of Chicago and The University of Southern California. All rights reserved.