|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines all the high-level functions related to Topics. The TarlExecuter solely uses this interface to deal with the Topic environment. Some of the functions related to topics are initializing the topics environment, retrieving a random topic from the database and cleaning up the topic environment.
TopicDatabase| Method Summary | |
void |
cleanUpTopic()
Cleans up the Topic environment. |
Topic |
getRandomTopic()
Returns a random Topic from the database |
TopicGroup |
getTopics()
Returns the group of all the Topics in the system |
void |
initializeTopics(TopicParameters topicParameters)
Initializes the Topic environment to enable various operations on the Topics. |
| Method Detail |
public void initializeTopics(TopicParameters topicParameters)
Topic environment to enable various operations on the Topics. This function should be called before calling any other function in TopicManager.
topicParameters - Specifies the model parameters related to topicspublic Topic getRandomTopic()
Topic from the database
public TopicGroup getTopics()
Topics in the system
public void cleanUpTopic()
Topic environment. It is responsible for freeing up resources that the Topic environment has used for its execution.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||