net.ontopia.topicmaps.impl.tmapi2.index
Class ScopedIndexImpl

java.lang.Object
  extended by net.ontopia.topicmaps.impl.tmapi2.index.ScopedIndexImpl
All Implemented Interfaces:
org.tmapi.index.Index, org.tmapi.index.ScopedIndex

public class ScopedIndexImpl
extends java.lang.Object
implements org.tmapi.index.ScopedIndex

This is the implementation for the TMAPI2 ScopedIndex interface. INTERNAL: OKS->TMAPI 2 object wrapper.


Constructor Summary
ScopedIndexImpl(TopicMapImpl topicMap)
           
 
Method Summary
 void close()
           
 java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme)
           
 java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes, boolean matchAll)
           
 java.util.Collection<org.tmapi.core.Topic> getAssociationThemes()
           
 java.util.Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme)
           
 java.util.Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes, boolean matchAll)
           
 java.util.Collection<org.tmapi.core.Topic> getNameThemes()
           
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme)
           
 java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes, boolean matchAll)
           
 java.util.Collection<org.tmapi.core.Topic> getOccurrenceThemes()
           
 java.util.Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme)
           
 java.util.Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes, boolean matchAll)
           
 java.util.Collection<org.tmapi.core.Topic> getVariantThemes()
           
 ScopeIndexIF getWrapped()
           
 boolean isAutoUpdated()
           
 boolean isOpen()
           
 void open()
           
 void reindex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopedIndexImpl

public ScopedIndexImpl(TopicMapImpl topicMap)
Method Detail

getAssociationThemes

public java.util.Collection<org.tmapi.core.Topic> getAssociationThemes()
Specified by:
getAssociationThemes in interface org.tmapi.index.ScopedIndex

getAssociations

public java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme)
Specified by:
getAssociations in interface org.tmapi.index.ScopedIndex

getAssociations

public java.util.Collection<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes,
                                                                        boolean matchAll)
Specified by:
getAssociations in interface org.tmapi.index.ScopedIndex

getNameThemes

public java.util.Collection<org.tmapi.core.Topic> getNameThemes()
Specified by:
getNameThemes in interface org.tmapi.index.ScopedIndex

getNames

public java.util.Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme)
Specified by:
getNames in interface org.tmapi.index.ScopedIndex

getNames

public java.util.Collection<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes,
                                                          boolean matchAll)
Specified by:
getNames in interface org.tmapi.index.ScopedIndex

getOccurrenceThemes

public java.util.Collection<org.tmapi.core.Topic> getOccurrenceThemes()
Specified by:
getOccurrenceThemes in interface org.tmapi.index.ScopedIndex

getOccurrences

public java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme)
Specified by:
getOccurrences in interface org.tmapi.index.ScopedIndex

getOccurrences

public java.util.Collection<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes,
                                                                      boolean matchAll)
Specified by:
getOccurrences in interface org.tmapi.index.ScopedIndex

getVariantThemes

public java.util.Collection<org.tmapi.core.Topic> getVariantThemes()
Specified by:
getVariantThemes in interface org.tmapi.index.ScopedIndex

getVariants

public java.util.Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme)
Specified by:
getVariants in interface org.tmapi.index.ScopedIndex

getVariants

public java.util.Collection<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes,
                                                                boolean matchAll)
Specified by:
getVariants in interface org.tmapi.index.ScopedIndex

close

public void close()
Specified by:
close in interface org.tmapi.index.Index

isAutoUpdated

public boolean isAutoUpdated()
Specified by:
isAutoUpdated in interface org.tmapi.index.Index

isOpen

public boolean isOpen()
Specified by:
isOpen in interface org.tmapi.index.Index

open

public void open()
Specified by:
open in interface org.tmapi.index.Index

reindex

public void reindex()
Specified by:
reindex in interface org.tmapi.index.Index

getWrapped

public ScopeIndexIF getWrapped()


Copyright © 2000-2012 Ontopia.