TopicsContext value object
The getTopicContexts
method returns TopicContexts,
which has a list of topic IDs and names.
TopicContexts extends the value object TopicsServiceContext
and has
the actual number of rows returned in numRows field and the total
number of rows in the totalRows field.
If the findTopicId
parameter was set, then the
matchingTopicContext field in TopicsContexts contains the
matching context or null if it was not found or not set. You can use this field to
implement an auto complete field for the existing topic name in the Save to Topic dialog
box in your application.
Note:
Topic names are not unique.class TopicContexts extends TopicsServiceResult {
TopicContext matchingTopicContext;
List<TopicContext> topicContexts;
}
class TopicsServiceResult {
TopicsServiceContext topicsServiceContext;
}
class TopicContext {
long id; String name;
}
Parent topic: Get a list of topics