Class IdentifierIndex
- java.lang.Object
-
- net.ontopia.topicmaps.impl.utils.AbstractIndex
-
- net.ontopia.topicmaps.impl.utils.BasicIndex
-
- net.ontopia.topicmaps.impl.basic.index.IdentifierIndex
-
- All Implemented Interfaces:
IdentifierIndexIF
,IndexIF
,EventListenerIF
public class IdentifierIndex extends BasicIndex implements IdentifierIndexIF
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
BasicIndex.EventHandler<K,V>, BasicIndex.TypedPredicate
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
handlers
-
-
Constructor Summary
Constructors Constructor Description IdentifierIndex(SubjectIdentityCache sicache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<LocatorIF>
getItemIdentifiers()
PUBLIC: Returns all the item identifiers of all the objects in the topicmap.Collection<LocatorIF>
getItemIdentifiersByPrefix(String prefix)
PUBLIC: Returns all the item identifiers of all the objects in the topicmap that start with the provided prefix.Collection<LocatorIF>
getSubjectIdentifiers()
PUBLIC: Returns all the subject identifiers of all the topics in the topicmap.Collection<LocatorIF>
getSubjectIdentifiersByPrefix(String prefix)
PUBLIC: Returns all the subject identifiers of all the topics in the topicmap that start with the provided prefix.-
Methods inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
getIndex, processEvent
-
-
-
-
Constructor Detail
-
IdentifierIndex
public IdentifierIndex(SubjectIdentityCache sicache)
-
-
Method Detail
-
getItemIdentifiers
public Collection<LocatorIF> getItemIdentifiers()
Description copied from interface:IdentifierIndexIF
PUBLIC: Returns all the item identifiers of all the objects in the topicmap.- Specified by:
getItemIdentifiers
in interfaceIdentifierIndexIF
- Returns:
- all the item identifiers of all the objects in the topicmap.
-
getItemIdentifiersByPrefix
public Collection<LocatorIF> getItemIdentifiersByPrefix(String prefix)
Description copied from interface:IdentifierIndexIF
PUBLIC: Returns all the item identifiers of all the objects in the topicmap that start with the provided prefix.- Specified by:
getItemIdentifiersByPrefix
in interfaceIdentifierIndexIF
- Returns:
- all the matched item identifiers
-
getSubjectIdentifiers
public Collection<LocatorIF> getSubjectIdentifiers()
Description copied from interface:IdentifierIndexIF
PUBLIC: Returns all the subject identifiers of all the topics in the topicmap.- Specified by:
getSubjectIdentifiers
in interfaceIdentifierIndexIF
- Returns:
- all the subject identifiers of all the topics in the topicmap.
-
getSubjectIdentifiersByPrefix
public Collection<LocatorIF> getSubjectIdentifiersByPrefix(String prefix)
Description copied from interface:IdentifierIndexIF
PUBLIC: Returns all the subject identifiers of all the topics in the topicmap that start with the provided prefix.- Specified by:
getSubjectIdentifiersByPrefix
in interfaceIdentifierIndexIF
- Returns:
- all the matched subject identifiers
-
-