Interface TopicIndexIF

    • Method Detail

      • getTopics

        Collection<TopicIF> getTopics​(Collection<LocatorIF> indicators,
                                      Collection<LocatorIF> sources,
                                      Collection<LocatorIF> subjects)
        Returns all topics the index knows about whose identity matches one the of the locators passed as arguments.
        Parameters:
        indicators - A collection of subject identifiers as LocatorIF objects.
        sources - A collection of source locators as LocatorIF objects.
        subjects - A colleciton of subject locators as LocatorIF objects.
        Returns:
        Collection of TopicIF
      • getTopicPages

        Collection<TopicPage> getTopicPages​(Collection<LocatorIF> indicators,
                                            Collection<LocatorIF> sources,
                                            Collection<LocatorIF> subjects)
        Returns all known topic pages for the topics whose identity matches one of the locators passed as arguments.
        Parameters:
        indicators - A collection of subject identifiers as LocatorIF objects.
        sources - A collection of source locators as LocatorIF objects.
        subjects - A colleciton of subject locators as LocatorIF objects.
        Returns:
        Collection of TopicPage
      • getTopicPages2

        TopicPages getTopicPages2​(Collection<LocatorIF> indicators,
                                  Collection<LocatorIF> sources,
                                  Collection<LocatorIF> subjects)
        Returns all known topic pages for the topics whose identity matches one of the locators passed as arguments.
        Parameters:
        indicators - A collection of subject identifiers as LocatorIF objects.
        sources - A collection of source locators as LocatorIF objects.
        subjects - A colleciton of subject locators as LocatorIF objects.
        Returns:
        Collection of TopicPage
      • close

        void close()
        Lets go of any underlying resources used by the index. Must be called when used with the RDBMS backend.