de.topicmapslab.majortom.index.paged
Class PagedScopeIndexImpl<T extends de.topicmapslab.majortom.model.store.ITopicMapStore>

java.lang.Object
  extended by de.topicmapslab.majortom.index.IndexImpl<T>
      extended by de.topicmapslab.majortom.index.core.BaseCachedIndexImpl<T>
          extended by de.topicmapslab.majortom.index.core.BaseCachedScopeIndexImpl<T>
              extended by de.topicmapslab.majortom.index.paged.PagedScopeIndexImpl<T>
All Implemented Interfaces:
de.topicmapslab.majortom.model.event.ITopicMapListener, de.topicmapslab.majortom.model.index.IIndex, de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex, org.tmapi.index.Index
Direct Known Subclasses:
InMemoryPagedScopeIndex, JdbcPagedScopeIndex, PagedRedisScopedIndex

public abstract class PagedScopeIndexImpl<T extends de.topicmapslab.majortom.model.store.ITopicMapStore>
extends BaseCachedScopeIndexImpl<T>
implements de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

Implementation of IPagedScopedIndex

Author:
Sven Krosse

Field Summary
private  de.topicmapslab.majortom.model.index.IScopedIndex parentIndex
           
 
Constructor Summary
PagedScopeIndexImpl(T store, de.topicmapslab.majortom.model.index.IScopedIndex parentIndex)
          constructor
 
Method Summary
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          Returns all association items scoped by one of the given scope objects.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          Returns all association items scoped by one of the given scope objects.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          Returns all association items scoped by the given scope object.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          Returns all association items scoped by the given scope object.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          Returning all associations in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          Returning all associations in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic theme, int offset, int limit)
          Returning all associations in the scope containing the given theme.
protected  java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          Returning all associations in the scope containing the given theme.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetAssociationScopes(int offset, int limit)
          Returns all scope objects used as scope of an association item.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetAssociationScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          Returns all scope objects used as scope of an association item.
protected  java.util.List<org.tmapi.core.Topic> doGetAssociationThemes(int offset, int limit)
          Returning all themes contained by at least one association scope.
protected  java.util.List<org.tmapi.core.Topic> doGetAssociationThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          Returning all themes contained by at least one association scope.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          Returns all characteristics scoped by the given scope object.
protected  java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          Returns all characteristics scoped by the given scope object.
protected  java.util.List<org.tmapi.core.Name> doGetNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          Return all names scoped by one of the given scope objects
protected  java.util.List<org.tmapi.core.Name> doGetNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          Return all names scoped by one of the given scope objects
protected  java.util.List<org.tmapi.core.Name> doGetNames(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          Return all names scoped by the given scope object
protected  java.util.List<org.tmapi.core.Name> doGetNames(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          Return all names scoped by the given scope object
protected  java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          Returning all names in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          Returning all names in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic theme, int offset, int limit)
          Returning all names in the scope containing the given theme.
protected  java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          Returning all names in the scope containing the given theme.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetNameScopes(int offset, int limit)
          Returns all scope objects used as scope of a name item.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetNameScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          Returns all scope objects used as scope of a name item.
protected  java.util.List<org.tmapi.core.Topic> doGetNameThemes(int offset, int limit)
          Returning all themes contained by at least one name scope.
protected  java.util.List<org.tmapi.core.Topic> doGetNameThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          Returning all themes contained by at least one name scope.
protected  long doGetNumberOfAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          Returns the number of associations scoped by the given scopes
protected  long doGetNumberOfAssociations(de.topicmapslab.majortom.model.core.IScope scope)
          Returns the number of associations scoped by the given scope
protected  long doGetNumberOfAssociations(org.tmapi.core.Topic theme)
          Returns the number of associations scoped by the given theme
protected  long doGetNumberOfAssociations(org.tmapi.core.Topic[] themes, boolean all)
          Returns the number of associations scoped by the given themes
protected  long doGetNumberOfAssociationScopes()
          Returns the number of association scopes
protected  long doGetNumberOfAssociationThemes()
          Returns the number of association themes
protected  long doGetNumberOfNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          Returns the number of names scoped by the given scopes
protected  long doGetNumberOfNames(de.topicmapslab.majortom.model.core.IScope scope)
          Returns the number of names scoped by the given scope
protected  long doGetNumberOfNames(org.tmapi.core.Topic theme)
          Returns the number of names scoped by the given theme
protected  long doGetNumberOfNames(org.tmapi.core.Topic[] themes, boolean all)
          Returns the number of names scoped by the given themes
protected  long doGetNumberOfNameScopes()
          Returns the number of name scopes
protected  long doGetNumberOfNameThemes()
          Returns the number of name themes
protected  long doGetNumberOfOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          Returns the number of occurrences scoped by the given scopes
protected  long doGetNumberOfOccurrences(de.topicmapslab.majortom.model.core.IScope scope)
          Returns the number of occurrences scoped by the given scope
protected  long doGetNumberOfOccurrences(org.tmapi.core.Topic theme)
          Returns the number of occurrences scoped by the given theme
protected  long doGetNumberOfOccurrences(org.tmapi.core.Topic[] themes, boolean all)
          Returns the number of occurrences scoped by the given themes
protected  long doGetNumberOfOccurrencesScopes()
          Returns the number of occurrences scopes
protected  long doGetNumberOfOccurrenceThemes()
          Returns the number of occurrence themes
protected  long doGetNumberOfScopables(de.topicmapslab.majortom.model.core.IScope scope)
          Returns the number of constructs scoped by the given scope
protected  long doGetNumberOfVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          Returns the number of variants scoped by the given scopes
protected  long doGetNumberOfVariants(de.topicmapslab.majortom.model.core.IScope scope)
          Returns the number of variants scoped by the given scopes
protected  long doGetNumberOfVariants(org.tmapi.core.Topic theme)
          Returns the number of variants scoped by the given theme
protected  long doGetNumberOfVariants(org.tmapi.core.Topic[] themes, boolean all)
          Returns the number of variants scoped by the given themes
protected  long doGetNumberOfVariantScopes()
          Returns the number of variant scopes
protected  long doGetNumberOfVariantThemes()
          Returns the number of variant themes
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          Return all occurrences scoped by one of the given scope objects
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          Return all occurrences scoped by one of the given scope objects
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          Return all occurrences scoped by the given scope object
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          Return all occurrences scoped by the given scope object
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          Returning all occurrences in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          Returning all occurrences in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic theme, int offset, int limit)
          Returning all occurrences in the scope containing the given theme.
protected  java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          Returning all occurrences in the scope containing the given theme.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetOccurrenceScopes(int offset, int limit)
          Returns all scope objects used as scope of an occurrence item.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetOccurrenceScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          Returns all scope objects used as scope of an occurrence item.
protected  java.util.List<org.tmapi.core.Topic> doGetOccurrenceThemes(int offset, int limit)
          Returning all themes contained by at least one occurrence scope.
protected  java.util.List<org.tmapi.core.Topic> doGetOccurrenceThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          Returning all themes contained by at least one occurrence scope.
protected  java.util.List<org.tmapi.core.Scoped> doGetScopables(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          Returns all constructs scoped by the given scope object.
protected  java.util.List<org.tmapi.core.Scoped> doGetScopables(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Scoped> comparator)
          Returns all constructs scoped by the given scope object.
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          Return all variants scoped by one of the given scope objects
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          Return all variants scoped by one of the given scope objects
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          Return all variants scoped by the given scope object
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          Return all variants scoped by the given scope object
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          Returning all variants in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          Returning all variants in the scope containing the given themes.
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic theme, int offset, int limit)
          Returning all variants in the scope containing the given theme.
protected  java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          Returning all variants in the scope containing the given theme.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetVariantScopes(int offset, int limit)
          Returns all scope objects used as scope of a variant item.
protected  java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetVariantScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          Returns all scope objects used as scope of a variant item.
protected  java.util.List<org.tmapi.core.Topic> doGetVariantThemes(int offset, int limit)
          Returning all themes contained by at least one variant scope.
protected  java.util.List<org.tmapi.core.Topic> doGetVariantThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          Returning all themes contained by at least one variant scope.
 java.util.List<org.tmapi.core.Association> getAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          
 java.util.List<org.tmapi.core.Association> getAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          
 java.util.List<org.tmapi.core.Association> getAssociations(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          
 java.util.List<org.tmapi.core.Association> getAssociations(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          
 java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          
 java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          
 java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme, int offset, int limit)
          
 java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Association> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getAssociationScopes(int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getAssociationScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          
 java.util.List<org.tmapi.core.Topic> getAssociationThemes(int offset, int limit)
          
 java.util.List<org.tmapi.core.Topic> getAssociationThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
          
 java.util.List<org.tmapi.core.Name> getNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          
 java.util.List<org.tmapi.core.Name> getNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          
 java.util.List<org.tmapi.core.Name> getNames(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          
 java.util.List<org.tmapi.core.Name> getNames(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          
 java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          
 java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          
 java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme, int offset, int limit)
          
 java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Name> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getNameScopes(int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getNameScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          
 java.util.List<org.tmapi.core.Topic> getNameThemes(int offset, int limit)
          
 java.util.List<org.tmapi.core.Topic> getNameThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          
 long getNumberOfAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          
 long getNumberOfAssociations(de.topicmapslab.majortom.model.core.IScope scope)
          
 long getNumberOfAssociations(org.tmapi.core.Topic theme)
          
 long getNumberOfAssociations(org.tmapi.core.Topic[] themes, boolean all)
          
 long getNumberOfAssociationScopes()
          
 long getNumberOfAssociationThemes()
          
 long getNumberOfNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          
 long getNumberOfNames(de.topicmapslab.majortom.model.core.IScope scope)
          
 long getNumberOfNames(org.tmapi.core.Topic theme)
          
 long getNumberOfNames(org.tmapi.core.Topic[] themes, boolean all)
          
 long getNumberOfNameScopes()
          
 long getNumberOfNameThemes()
          
 long getNumberOfOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          
 long getNumberOfOccurrences(de.topicmapslab.majortom.model.core.IScope scope)
          
 long getNumberOfOccurrences(org.tmapi.core.Topic theme)
          
 long getNumberOfOccurrences(org.tmapi.core.Topic[] themes, boolean all)
          
 long getNumberOfOccurrenceScopes()
          
 long getNumberOfOccurrenceThemes()
          
 long getNumberOfScopables(de.topicmapslab.majortom.model.core.IScope scope)
          
 long getNumberOfVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
          
 long getNumberOfVariants(de.topicmapslab.majortom.model.core.IScope scope)
          
 long getNumberOfVariants(org.tmapi.core.Topic theme)
          
 long getNumberOfVariants(org.tmapi.core.Topic[] themes, boolean all)
          
 long getNumberOfVariantScopes()
          
 long getNumberOfVariantThemes()
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme, int offset, int limit)
          
 java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Occurrence> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getOccurrenceScopes(int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getOccurrenceScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          
 java.util.List<org.tmapi.core.Topic> getOccurrenceThemes(int offset, int limit)
          
 java.util.List<org.tmapi.core.Topic> getOccurrenceThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          
 de.topicmapslab.majortom.model.index.IScopedIndex getParentIndex()
           
 java.util.List<org.tmapi.core.Scoped> getScopables(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          
 java.util.List<org.tmapi.core.Scoped> getScopables(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Scoped> comparator)
          
 java.util.List<org.tmapi.core.Variant> getVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit)
          
 java.util.List<org.tmapi.core.Variant> getVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          
 java.util.List<org.tmapi.core.Variant> getVariants(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit)
          
 java.util.List<org.tmapi.core.Variant> getVariants(de.topicmapslab.majortom.model.core.IScope scope, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          
 java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit)
          
 java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes, boolean all, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          
 java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme, int offset, int limit)
          
 java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme, int offset, int limit, java.util.Comparator<org.tmapi.core.Variant> comparator)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getVariantScopes(int offset, int limit)
          
 java.util.List<de.topicmapslab.majortom.model.core.IScope> getVariantScopes(int offset, int limit, java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
          
 java.util.List<org.tmapi.core.Topic> getVariantThemes(int offset, int limit)
          
 java.util.List<org.tmapi.core.Topic> getVariantThemes(int offset, int limit, java.util.Comparator<org.tmapi.core.Topic> comparator)
          
 void open()
          
 
Methods inherited from class de.topicmapslab.majortom.index.core.BaseCachedScopeIndexImpl
cache, cache, cacheNumberOfConstructs, cacheScope, cacheScopes, cacheScopes, cacheScopes, cacheScopes, cacheThemes, cacheThemes, clear, clearCache, close, generateScopesCacheKey, generateScopesCacheKey, generateScopesCacheKey, generateScopesCacheKey, generateScopesCacheKey, generateScopesCacheKey, read, read, readNumberOfConstructs, readScope, readScopes, readScopes, readScopes, readScopes, readThemes, readThemes, topicMapChanged
 
Methods inherited from class de.topicmapslab.majortom.index.core.BaseCachedIndexImpl
isCachingEnabled, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext, isOnTransactionContext
 
Methods inherited from class de.topicmapslab.majortom.index.IndexImpl
getTopicMapStore, isAutoUpdated, isOpen, reindex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.topicmapslab.majortom.model.index.IIndex
clear
 
Methods inherited from interface org.tmapi.index.Index
close, isAutoUpdated, isOpen, reindex
 

Field Detail

parentIndex

private de.topicmapslab.majortom.model.index.IScopedIndex parentIndex
Constructor Detail

PagedScopeIndexImpl

public PagedScopeIndexImpl(T store,
                           de.topicmapslab.majortom.model.index.IScopedIndex parentIndex)
constructor

Parameters:
store - the store
parentIndex - the parent index
Method Detail

getParentIndex

public de.topicmapslab.majortom.model.index.IScopedIndex getParentIndex()
Returns:
the parentIndex

getAssociationScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getAssociationScopes(int offset,
                                                                                       int limit)

Specified by:
getAssociationScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociationScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getAssociationScopes(int offset,
                                                                                       int limit,
                                                                                       java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)

Specified by:
getAssociationScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociationThemes

public java.util.List<org.tmapi.core.Topic> getAssociationThemes(int offset,
                                                                 int limit)

Specified by:
getAssociationThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociationThemes

public java.util.List<org.tmapi.core.Topic> getAssociationThemes(int offset,
                                                                 int limit,
                                                                 java.util.Comparator<org.tmapi.core.Topic> comparator)

Specified by:
getAssociationThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme,
                                                                  int offset,
                                                                  int limit)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic theme,
                                                                  int offset,
                                                                  int limit,
                                                                  java.util.Comparator<org.tmapi.core.Association> comparator)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes,
                                                                  boolean all,
                                                                  int offset,
                                                                  int limit)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(org.tmapi.core.Topic[] themes,
                                                                  boolean all,
                                                                  int offset,
                                                                  int limit,
                                                                  java.util.Comparator<org.tmapi.core.Association> comparator)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(de.topicmapslab.majortom.model.core.IScope scope,
                                                                  int offset,
                                                                  int limit)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(de.topicmapslab.majortom.model.core.IScope scope,
                                                                  int offset,
                                                                  int limit,
                                                                  java.util.Comparator<org.tmapi.core.Association> comparator)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                  int offset,
                                                                  int limit)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getAssociations

public java.util.List<org.tmapi.core.Association> getAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                  int offset,
                                                                  int limit,
                                                                  java.util.Comparator<org.tmapi.core.Association> comparator)

Specified by:
getAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.IScope scope,
                                                                                               int offset,
                                                                                               int limit)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getCharacteristics

public java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.IScope scope,
                                                                                               int offset,
                                                                                               int limit,
                                                                                               java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)

Specified by:
getCharacteristics in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNameScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getNameScopes(int offset,
                                                                                int limit)

Specified by:
getNameScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNameScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getNameScopes(int offset,
                                                                                int limit,
                                                                                java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)

Specified by:
getNameScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNameThemes

public java.util.List<org.tmapi.core.Topic> getNameThemes(int offset,
                                                          int limit)

Specified by:
getNameThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNameThemes

public java.util.List<org.tmapi.core.Topic> getNameThemes(int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Topic> comparator)

Specified by:
getNameThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme,
                                                    int offset,
                                                    int limit)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic theme,
                                                    int offset,
                                                    int limit,
                                                    java.util.Comparator<org.tmapi.core.Name> comparator)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes,
                                                    boolean all,
                                                    int offset,
                                                    int limit)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(org.tmapi.core.Topic[] themes,
                                                    boolean all,
                                                    int offset,
                                                    int limit,
                                                    java.util.Comparator<org.tmapi.core.Name> comparator)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(de.topicmapslab.majortom.model.core.IScope scope,
                                                    int offset,
                                                    int limit)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(de.topicmapslab.majortom.model.core.IScope scope,
                                                    int offset,
                                                    int limit,
                                                    java.util.Comparator<org.tmapi.core.Name> comparator)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                    int offset,
                                                    int limit)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNames

public java.util.List<org.tmapi.core.Name> getNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                    int offset,
                                                    int limit,
                                                    java.util.Comparator<org.tmapi.core.Name> comparator)

Specified by:
getNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrenceScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getOccurrenceScopes(int offset,
                                                                                      int limit)

Specified by:
getOccurrenceScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrenceScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getOccurrenceScopes(int offset,
                                                                                      int limit,
                                                                                      java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)

Specified by:
getOccurrenceScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrenceThemes

public java.util.List<org.tmapi.core.Topic> getOccurrenceThemes(int offset,
                                                                int limit)

Specified by:
getOccurrenceThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrenceThemes

public java.util.List<org.tmapi.core.Topic> getOccurrenceThemes(int offset,
                                                                int limit,
                                                                java.util.Comparator<org.tmapi.core.Topic> comparator)

Specified by:
getOccurrenceThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme,
                                                                int offset,
                                                                int limit)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic theme,
                                                                int offset,
                                                                int limit,
                                                                java.util.Comparator<org.tmapi.core.Occurrence> comparator)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes,
                                                                boolean all,
                                                                int offset,
                                                                int limit)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(org.tmapi.core.Topic[] themes,
                                                                boolean all,
                                                                int offset,
                                                                int limit,
                                                                java.util.Comparator<org.tmapi.core.Occurrence> comparator)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(de.topicmapslab.majortom.model.core.IScope scope,
                                                                int offset,
                                                                int limit)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(de.topicmapslab.majortom.model.core.IScope scope,
                                                                int offset,
                                                                int limit,
                                                                java.util.Comparator<org.tmapi.core.Occurrence> comparator)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                int offset,
                                                                int limit)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getOccurrences

public java.util.List<org.tmapi.core.Occurrence> getOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                int offset,
                                                                int limit,
                                                                java.util.Comparator<org.tmapi.core.Occurrence> comparator)

Specified by:
getOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getScopables

public java.util.List<org.tmapi.core.Scoped> getScopables(de.topicmapslab.majortom.model.core.IScope scope,
                                                          int offset,
                                                          int limit)

Specified by:
getScopables in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getScopables

public java.util.List<org.tmapi.core.Scoped> getScopables(de.topicmapslab.majortom.model.core.IScope scope,
                                                          int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Scoped> comparator)

Specified by:
getScopables in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariantScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getVariantScopes(int offset,
                                                                                   int limit)

Specified by:
getVariantScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariantScopes

public java.util.List<de.topicmapslab.majortom.model.core.IScope> getVariantScopes(int offset,
                                                                                   int limit,
                                                                                   java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)

Specified by:
getVariantScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariantThemes

public java.util.List<org.tmapi.core.Topic> getVariantThemes(int offset,
                                                             int limit)

Specified by:
getVariantThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariantThemes

public java.util.List<org.tmapi.core.Topic> getVariantThemes(int offset,
                                                             int limit,
                                                             java.util.Comparator<org.tmapi.core.Topic> comparator)

Specified by:
getVariantThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme,
                                                          int offset,
                                                          int limit)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic theme,
                                                          int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Variant> comparator)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes,
                                                          boolean all,
                                                          int offset,
                                                          int limit)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(org.tmapi.core.Topic[] themes,
                                                          boolean all,
                                                          int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Variant> comparator)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(de.topicmapslab.majortom.model.core.IScope scope,
                                                          int offset,
                                                          int limit)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(de.topicmapslab.majortom.model.core.IScope scope,
                                                          int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Variant> comparator)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                          int offset,
                                                          int limit)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getVariants

public java.util.List<org.tmapi.core.Variant> getVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                          int offset,
                                                          int limit,
                                                          java.util.Comparator<org.tmapi.core.Variant> comparator)

Specified by:
getVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfAssociations

public long getNumberOfAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)

Specified by:
getNumberOfAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfAssociations

public long getNumberOfAssociations(de.topicmapslab.majortom.model.core.IScope scope)

Specified by:
getNumberOfAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfAssociations

public long getNumberOfAssociations(org.tmapi.core.Topic theme)

Specified by:
getNumberOfAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfAssociations

public long getNumberOfAssociations(org.tmapi.core.Topic[] themes,
                                    boolean all)

Specified by:
getNumberOfAssociations in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfAssociationScopes

public long getNumberOfAssociationScopes()

Specified by:
getNumberOfAssociationScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfAssociationThemes

public long getNumberOfAssociationThemes()

Specified by:
getNumberOfAssociationThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfNames

public long getNumberOfNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)

Specified by:
getNumberOfNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfNames

public long getNumberOfNames(de.topicmapslab.majortom.model.core.IScope scope)

Specified by:
getNumberOfNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfNames

public long getNumberOfNames(org.tmapi.core.Topic theme)

Specified by:
getNumberOfNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfNames

public long getNumberOfNames(org.tmapi.core.Topic[] themes,
                             boolean all)

Specified by:
getNumberOfNames in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfNameScopes

public long getNumberOfNameScopes()

Specified by:
getNumberOfNameScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfNameThemes

public long getNumberOfNameThemes()

Specified by:
getNumberOfNameThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfOccurrences

public long getNumberOfOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)

Specified by:
getNumberOfOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfOccurrences

public long getNumberOfOccurrences(de.topicmapslab.majortom.model.core.IScope scope)

Specified by:
getNumberOfOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfOccurrences

public long getNumberOfOccurrences(org.tmapi.core.Topic theme)

Specified by:
getNumberOfOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfOccurrences

public long getNumberOfOccurrences(org.tmapi.core.Topic[] themes,
                                   boolean all)

Specified by:
getNumberOfOccurrences in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfOccurrenceScopes

public long getNumberOfOccurrenceScopes()

Specified by:
getNumberOfOccurrenceScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfOccurrenceThemes

public long getNumberOfOccurrenceThemes()

Specified by:
getNumberOfOccurrenceThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfScopables

public long getNumberOfScopables(de.topicmapslab.majortom.model.core.IScope scope)

Specified by:
getNumberOfScopables in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfVariants

public long getNumberOfVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)

Specified by:
getNumberOfVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfVariants

public long getNumberOfVariants(de.topicmapslab.majortom.model.core.IScope scope)

Specified by:
getNumberOfVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfVariants

public long getNumberOfVariants(org.tmapi.core.Topic theme)

Specified by:
getNumberOfVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfVariants

public long getNumberOfVariants(org.tmapi.core.Topic[] themes,
                                boolean all)

Specified by:
getNumberOfVariants in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfVariantScopes

public long getNumberOfVariantScopes()

Specified by:
getNumberOfVariantScopes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

getNumberOfVariantThemes

public long getNumberOfVariantThemes()

Specified by:
getNumberOfVariantThemes in interface de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex

doGetScopables

protected java.util.List<org.tmapi.core.Scoped> doGetScopables(de.topicmapslab.majortom.model.core.IScope scope,
                                                               int offset,
                                                               int limit)
Returns all constructs scoped by the given scope object.

Parameters:
scope - the scope
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a list of all constructs within the given range scoped by the given scope

doGetScopables

protected java.util.List<org.tmapi.core.Scoped> doGetScopables(de.topicmapslab.majortom.model.core.IScope scope,
                                                               int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Scoped> comparator)
Returns all constructs scoped by the given scope object.

Parameters:
scope - the scope
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a list of all constructs within the given range scoped by the given scope

doGetAssociationScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetAssociationScopes(int offset,
                                                                                            int limit)
Returns all scope objects used as scope of an association item. Default implementation only calls the parent index.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a list of scope objects within the given range

doGetAssociationScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetAssociationScopes(int offset,
                                                                                            int limit,
                                                                                            java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
Returns all scope objects used as scope of an association item. Default implementation only calls the parent index.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a list of scope objects within the given range

doGetAssociationThemes

protected java.util.List<org.tmapi.core.Topic> doGetAssociationThemes(int offset,
                                                                      int limit)
Returning all themes contained by at least one association scope. Default implementation only calls the parent index.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all themes within the given range contained by at least one association scope.

doGetAssociationThemes

protected java.util.List<org.tmapi.core.Topic> doGetAssociationThemes(int offset,
                                                                      int limit,
                                                                      java.util.Comparator<org.tmapi.core.Topic> comparator)
Returning all themes contained by at least one association scope. Default implementation only calls the parent index.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all themes within the given range contained by at least one association scope.

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic theme,
                                                                       int offset,
                                                                       int limit)
Returning all associations in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all associations within the given range

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic theme,
                                                                       int offset,
                                                                       int limit,
                                                                       java.util.Comparator<org.tmapi.core.Association> comparator)
Returning all associations in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all associations within the given range

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic[] themes,
                                                                       boolean all,
                                                                       int offset,
                                                                       int limit)
Returning all associations in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all associations within the given range

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(org.tmapi.core.Topic[] themes,
                                                                       boolean all,
                                                                       int offset,
                                                                       int limit,
                                                                       java.util.Comparator<org.tmapi.core.Association> comparator)
Returning all associations in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all associations within the given range

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(de.topicmapslab.majortom.model.core.IScope scope,
                                                                       int offset,
                                                                       int limit)
Returns all association items scoped by the given scope object.

Parameters:
scope - the scope
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a list of all association items within the given range scoped by the given scope

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(de.topicmapslab.majortom.model.core.IScope scope,
                                                                       int offset,
                                                                       int limit,
                                                                       java.util.Comparator<org.tmapi.core.Association> comparator)
Returns all association items scoped by the given scope object.

Parameters:
scope - the scope
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a list of all association items within the given range scoped by the given scope

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                       int offset,
                                                                       int limit)
Returns all association items scoped by one of the given scope objects.

Parameters:
scopes - the scopes
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a list of all association items within the given range scoped by one of the given scopes

doGetAssociations

protected java.util.List<org.tmapi.core.Association> doGetAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                       int offset,
                                                                       int limit,
                                                                       java.util.Comparator<org.tmapi.core.Association> comparator)
Returns all association items scoped by one of the given scope objects.

Parameters:
scopes - the scopes
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a list of all association items within the given range scoped by one of the given scopes

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(de.topicmapslab.majortom.model.core.IScope scope,
                                                                                                    int offset,
                                                                                                    int limit)
Returns all characteristics scoped by the given scope object.

Parameters:
scope - the scope
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a list of all characteristics within the given range scoped by the given scope

doGetCharacteristics

protected java.util.List<de.topicmapslab.majortom.model.core.ICharacteristics> doGetCharacteristics(de.topicmapslab.majortom.model.core.IScope scope,
                                                                                                    int offset,
                                                                                                    int limit,
                                                                                                    java.util.Comparator<de.topicmapslab.majortom.model.core.ICharacteristics> comparator)
Returns all characteristics scoped by the given scope object.

Parameters:
scope - the scope
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a list of all characteristics within the given range scoped by the given scope

doGetOccurrenceScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetOccurrenceScopes(int offset,
                                                                                           int limit)
Returns all scope objects used as scope of an occurrence item.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a list of scope objects within the given range

doGetOccurrenceScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetOccurrenceScopes(int offset,
                                                                                           int limit,
                                                                                           java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
Returns all scope objects used as scope of an occurrence item.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a collection of scope objects within the given range

doGetOccurrenceThemes

protected java.util.List<org.tmapi.core.Topic> doGetOccurrenceThemes(int offset,
                                                                     int limit)
Returning all themes contained by at least one occurrence scope.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all themes within the given range contained by at least one occurrence scope.

doGetOccurrenceThemes

protected java.util.List<org.tmapi.core.Topic> doGetOccurrenceThemes(int offset,
                                                                     int limit,
                                                                     java.util.Comparator<org.tmapi.core.Topic> comparator)
Returning all themes contained by at least one occurrence scope.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all themes within the given range contained by at least one occurrence scope.

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic theme,
                                                                     int offset,
                                                                     int limit)
Returning all occurrences in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all occurrences within the given range

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic theme,
                                                                     int offset,
                                                                     int limit,
                                                                     java.util.Comparator<org.tmapi.core.Occurrence> comparator)
Returning all occurrences in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all occurrences within the given range

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic[] themes,
                                                                     boolean all,
                                                                     int offset,
                                                                     int limit)
Returning all occurrences in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all occurrences within the given range

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(org.tmapi.core.Topic[] themes,
                                                                     boolean all,
                                                                     int offset,
                                                                     int limit,
                                                                     java.util.Comparator<org.tmapi.core.Occurrence> comparator)
Returning all occurrences in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all occurrences within the given range

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(de.topicmapslab.majortom.model.core.IScope scope,
                                                                     int offset,
                                                                     int limit)
Return all occurrences scoped by the given scope object

Parameters:
scope - the scope object
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all occurrences scoped by the given scope object within the given range

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(de.topicmapslab.majortom.model.core.IScope scope,
                                                                     int offset,
                                                                     int limit,
                                                                     java.util.Comparator<org.tmapi.core.Occurrence> comparator)
Return all occurrences scoped by the given scope object

Parameters:
scope - the scope object
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all occurrences scoped by the given scope object within the given range

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                     int offset,
                                                                     int limit)
Return all occurrences scoped by one of the given scope objects

Parameters:
scopes - the scope objects
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all occurrences within the given range scoped by one of the given scope objects

doGetOccurrences

protected java.util.List<org.tmapi.core.Occurrence> doGetOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                     int offset,
                                                                     int limit,
                                                                     java.util.Comparator<org.tmapi.core.Occurrence> comparator)
Return all occurrences scoped by one of the given scope objects

Parameters:
scopes - the scope objects
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all occurrences within the given range scoped by one of the given scope objects

doGetNameScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetNameScopes(int offset,
                                                                                     int limit)
Returns all scope objects used as scope of a name item.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a collection of scope objects within the given range

doGetNameScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetNameScopes(int offset,
                                                                                     int limit,
                                                                                     java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
Returns all scope objects used as scope of a name item.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a collection of scope objects within the given range

doGetNameThemes

protected java.util.List<org.tmapi.core.Topic> doGetNameThemes(int offset,
                                                               int limit)
Returning all themes contained by at least one name scope.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all themes within the given range contained by at least one name scope.

doGetNameThemes

protected java.util.List<org.tmapi.core.Topic> doGetNameThemes(int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Topic> comparator)
Returning all themes contained by at least one name scope.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all themes within the given range contained by at least one name scope.

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic theme,
                                                         int offset,
                                                         int limit)
Returning all names in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all names within the given range

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic theme,
                                                         int offset,
                                                         int limit,
                                                         java.util.Comparator<org.tmapi.core.Name> comparator)
Returning all names in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all names within the given range

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic[] themes,
                                                         boolean all,
                                                         int offset,
                                                         int limit)
Returning all names in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all names within the given range

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(org.tmapi.core.Topic[] themes,
                                                         boolean all,
                                                         int offset,
                                                         int limit,
                                                         java.util.Comparator<org.tmapi.core.Name> comparator)
Returning all names in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all names within the given range

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(de.topicmapslab.majortom.model.core.IScope scope,
                                                         int offset,
                                                         int limit)
Return all names scoped by the given scope object

Parameters:
scope - the scope object
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all names within the given range scoped by the given scope object

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(de.topicmapslab.majortom.model.core.IScope scope,
                                                         int offset,
                                                         int limit,
                                                         java.util.Comparator<org.tmapi.core.Name> comparator)
Return all names scoped by the given scope object

Parameters:
scope - the scope object
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all names within the given range scoped by the given scope object

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                         int offset,
                                                         int limit)
Return all names scoped by one of the given scope objects

Parameters:
scopes - the scope objects
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all names scoped by one of the given scope objects

doGetNames

protected java.util.List<org.tmapi.core.Name> doGetNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                         int offset,
                                                         int limit,
                                                         java.util.Comparator<org.tmapi.core.Name> comparator)
Return all names scoped by one of the given scope objects

Parameters:
scopes - the scope objects
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all names within the given range scoped by one of the given scope objects

doGetVariantScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetVariantScopes(int offset,
                                                                                        int limit)
Returns all scope objects used as scope of a variant item.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
a collection of scope objects within the given range

doGetVariantScopes

protected java.util.List<de.topicmapslab.majortom.model.core.IScope> doGetVariantScopes(int offset,
                                                                                        int limit,
                                                                                        java.util.Comparator<de.topicmapslab.majortom.model.core.IScope> comparator)
Returns all scope objects used as scope of a variant item.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
a collection of scope objects within the given range

doGetVariantThemes

protected java.util.List<org.tmapi.core.Topic> doGetVariantThemes(int offset,
                                                                  int limit)
Returning all themes contained by at least one variant scope.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all themes within the given range contained by at least one variant scope.

doGetVariantThemes

protected java.util.List<org.tmapi.core.Topic> doGetVariantThemes(int offset,
                                                                  int limit,
                                                                  java.util.Comparator<org.tmapi.core.Topic> comparator)
Returning all themes contained by at least one variant scope.

Parameters:
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all themes within the given range contained by at least one variant scope.

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic theme,
                                                               int offset,
                                                               int limit)
Returning all variants in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all variants within the given range

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic theme,
                                                               int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Variant> comparator)
Returning all variants in the scope containing the given theme.

Parameters:
theme - the theme
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all variants within the given range

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic[] themes,
                                                               boolean all,
                                                               int offset,
                                                               int limit)
Returning all variants in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all variants within the given range

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(org.tmapi.core.Topic[] themes,
                                                               boolean all,
                                                               int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Variant> comparator)
Returning all variants in the scope containing the given themes.

Parameters:
themes - the themes
all - flag indicates if all themes have to be contained
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all variants within the given range

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(de.topicmapslab.majortom.model.core.IScope scope,
                                                               int offset,
                                                               int limit)
Return all variants scoped by the given scope object

Parameters:
scope - the scope object
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all variants within the given range scoped by the given scope object

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(de.topicmapslab.majortom.model.core.IScope scope,
                                                               int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Variant> comparator)
Return all variants scoped by the given scope object

Parameters:
scope - the scope object
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all variants within the given range scoped by the given scope object

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                               int offset,
                                                               int limit)
Return all variants scoped by one of the given scope objects

Parameters:
scopes - the scope objects
offset - the index of the first item
limit - the maximum count of returned values
Returns:
all variants within the given range scoped by one of the given scope objects

doGetVariants

protected java.util.List<org.tmapi.core.Variant> doGetVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                               int offset,
                                                               int limit,
                                                               java.util.Comparator<org.tmapi.core.Variant> comparator)
Return all variants scoped by one of the given scope objects

Parameters:
scopes - the scope objects
offset - the index of the first item
limit - the maximum count of returned values
comparator - the comparator
Returns:
all variants within the given range scoped by one of the given scope objects

doGetNumberOfAssociations

protected long doGetNumberOfAssociations(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
Returns the number of associations scoped by the given scopes

Parameters:
scopes - the scopes
Returns:
the number

doGetNumberOfAssociations

protected long doGetNumberOfAssociations(de.topicmapslab.majortom.model.core.IScope scope)
Returns the number of associations scoped by the given scope

Parameters:
scope - the scope
Returns:
the number

doGetNumberOfAssociations

protected long doGetNumberOfAssociations(org.tmapi.core.Topic theme)
Returns the number of associations scoped by the given theme

Parameters:
theme - the theme
Returns:
the number

doGetNumberOfAssociations

protected long doGetNumberOfAssociations(org.tmapi.core.Topic[] themes,
                                         boolean all)
Returns the number of associations scoped by the given themes

Parameters:
themes - the themes
all - flag indicates full or partial match
Returns:
the number

doGetNumberOfAssociationScopes

protected long doGetNumberOfAssociationScopes()
Returns the number of association scopes

Returns:
the number

doGetNumberOfAssociationThemes

protected long doGetNumberOfAssociationThemes()
Returns the number of association themes

Returns:
the number

doGetNumberOfNames

protected long doGetNumberOfNames(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
Returns the number of names scoped by the given scopes

Parameters:
scopes - the scopes
Returns:
the number

doGetNumberOfNames

protected long doGetNumberOfNames(de.topicmapslab.majortom.model.core.IScope scope)
Returns the number of names scoped by the given scope

Parameters:
scope - the scope
Returns:
the number

doGetNumberOfNames

protected long doGetNumberOfNames(org.tmapi.core.Topic theme)
Returns the number of names scoped by the given theme

Parameters:
theme - the theme
Returns:
the number

doGetNumberOfNames

protected long doGetNumberOfNames(org.tmapi.core.Topic[] themes,
                                  boolean all)
Returns the number of names scoped by the given themes

Parameters:
themes - the scopes
all - the flag of partial or full match
Returns:
the number

doGetNumberOfNameScopes

protected long doGetNumberOfNameScopes()
Returns the number of name scopes

Returns:
the number

doGetNumberOfNameThemes

protected long doGetNumberOfNameThemes()
Returns the number of name themes

Returns:
the number

doGetNumberOfOccurrences

protected long doGetNumberOfOccurrences(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
Returns the number of occurrences scoped by the given scopes

Parameters:
scopes - the scopes
Returns:
the number

doGetNumberOfOccurrences

protected long doGetNumberOfOccurrences(de.topicmapslab.majortom.model.core.IScope scope)
Returns the number of occurrences scoped by the given scope

Parameters:
scope - the scope
Returns:
the number

doGetNumberOfOccurrences

protected long doGetNumberOfOccurrences(org.tmapi.core.Topic theme)
Returns the number of occurrences scoped by the given theme

Parameters:
theme - the theme
Returns:
the number

doGetNumberOfOccurrences

protected long doGetNumberOfOccurrences(org.tmapi.core.Topic[] themes,
                                        boolean all)
Returns the number of occurrences scoped by the given themes

Parameters:
themes - the themes
all - the flag of partial or full match
Returns:
the number

doGetNumberOfOccurrencesScopes

protected long doGetNumberOfOccurrencesScopes()
Returns the number of occurrences scopes

Returns:
the number

doGetNumberOfOccurrenceThemes

protected long doGetNumberOfOccurrenceThemes()
Returns the number of occurrence themes

Returns:
the number

doGetNumberOfScopables

protected long doGetNumberOfScopables(de.topicmapslab.majortom.model.core.IScope scope)
Returns the number of constructs scoped by the given scope

Parameters:
scope - the scope
Returns:
the number

doGetNumberOfVariants

protected long doGetNumberOfVariants(de.topicmapslab.majortom.model.core.IScope scope)
Returns the number of variants scoped by the given scopes

Parameters:
scopes - the scopes
Returns:
the number

doGetNumberOfVariants

protected long doGetNumberOfVariants(org.tmapi.core.Topic theme)
Returns the number of variants scoped by the given theme

Parameters:
theme - the theme
Returns:
the number

doGetNumberOfVariants

protected long doGetNumberOfVariants(org.tmapi.core.Topic[] themes,
                                     boolean all)
Returns the number of variants scoped by the given themes

Parameters:
themes - the themes
all - the flag of partial or full match
Returns:
the number

doGetNumberOfVariantScopes

protected long doGetNumberOfVariantScopes()
Returns the number of variant scopes

Returns:
the number

doGetNumberOfVariants

protected long doGetNumberOfVariants(java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes)
Returns the number of variants scoped by the given scopes

Parameters:
scopes - the scopes
Returns:
the number

doGetNumberOfVariantThemes

protected long doGetNumberOfVariantThemes()
Returns the number of variant themes

Returns:
the number

open

public void open()

Specified by:
open in interface org.tmapi.index.Index
Overrides:
open in class BaseCachedScopeIndexImpl<T extends de.topicmapslab.majortom.model.store.ITopicMapStore>