de.topicmapslab.majortom.database.jdbc.model
Interface IQueryProcessor

All Known Implementing Classes:
MySqlQueryProcessor, PostGreSqlQueryProcessor, RDBMSQueryProcessor, Sql99QueryProcessor

public interface IQueryProcessor

Author:
Sven Krosse

Method Summary
 boolean canPerformRemoveDuplicates()
          Checks if the query processor supports a database supported remove-duplicates function
 void close()
           
 void commit()
           
 void doClearTopicMap(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
           
 de.topicmapslab.majortom.model.core.IAssociation doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type)
           
 de.topicmapslab.majortom.model.core.IAssociation doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 void doCreateChangeSet(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.event.TopicMapEventType type, de.topicmapslab.majortom.model.core.IConstruct notifier, java.lang.Object newValue, java.lang.Object oldValue)
           
 de.topicmapslab.majortom.model.core.ILocator doCreateLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String reference)
           
 void doCreateMetadata(de.topicmapslab.majortom.model.revision.IRevision revision, java.lang.String key, java.lang.String value)
           
 de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value)
           
 de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, java.lang.String value)
           
 de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ILocator value)
           
 de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ILocator value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value)
           
 de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype)
           
 de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.revision.IRevision doCreateRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.event.TopicMapEventType type)
           
 de.topicmapslab.majortom.model.core.IAssociationRole doCreateRole(de.topicmapslab.majortom.model.core.IAssociation association, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic player)
           
 de.topicmapslab.majortom.model.core.IScope doCreateScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 void doCreateTag(java.lang.String tag, java.util.Calendar time)
           
 de.topicmapslab.majortom.model.core.ITopic doCreateTopicByItemIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
           
 de.topicmapslab.majortom.model.core.ITopic doCreateTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
           
 de.topicmapslab.majortom.model.core.ITopic doCreateTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ILocator subjectLocator)
           
 java.lang.Long doCreateTopicMapIdentity(de.topicmapslab.majortom.model.core.ILocator baseLocator)
           
 de.topicmapslab.majortom.model.core.ITopic doCreateTopicWithoutIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
           
 de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
           
 void doMergeTopicMaps(org.tmapi.core.TopicMap context, org.tmapi.core.TopicMap other)
           
 void doMergeTopics(de.topicmapslab.majortom.model.core.ITopic context, de.topicmapslab.majortom.model.core.ITopic other)
           
 void doModifyItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
           
 void doModifyPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role, de.topicmapslab.majortom.model.core.ITopic player)
           
 void doModifyReifier(de.topicmapslab.majortom.model.core.IReifiable r, de.topicmapslab.majortom.model.core.ITopic reifier)
           
 void doModifyScope(de.topicmapslab.majortom.model.core.IScopable s, de.topicmapslab.majortom.model.core.ITopic theme)
           
 void doModifySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
           
 void doModifySubjectLocator(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectLocator)
           
 void doModifySupertype(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 void doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm, java.lang.String tag)
           
 void doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm, java.lang.String tag, java.util.Calendar timestamp)
           
 void doModifyType(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 void doModifyType(de.topicmapslab.majortom.model.core.ITypeable t, de.topicmapslab.majortom.model.core.ITopic type)
           
 void doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware t, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype)
           
 void doModifyValue(de.topicmapslab.majortom.model.core.IName n, java.lang.String value)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, long offset, long limit)
           
 java.lang.String doReadBestIdentifier(de.topicmapslab.majortom.model.core.ITopic topic, boolean withPrefix)
          Returns the best and stable identifier of the topic.
 java.lang.String doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic)
          Returns the best label for the current topic instance.
 java.lang.String doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic theme, boolean strict)
          Returns the best label for the current topic instance.
 de.topicmapslab.majortom.model.revision.Changeset doReadChangeset(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 de.topicmapslab.majortom.model.revision.Changeset doReadChangesetsByAssociationType(de.topicmapslab.majortom.model.core.ITopic type)
           
 de.topicmapslab.majortom.model.revision.Changeset doReadChangesetsByTopic(de.topicmapslab.majortom.model.core.ITopic topic)
           
 de.topicmapslab.majortom.model.event.TopicMapEventType doReadChangesetType(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope)
           
 de.topicmapslab.majortom.model.core.IConstruct doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
           
 de.topicmapslab.majortom.model.core.IConstruct doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t, java.lang.Long id, boolean lookupHistory)
           
 de.topicmapslab.majortom.model.core.ILocator doReadDataType(de.topicmapslab.majortom.model.core.IDatatypeAware d)
           
 de.topicmapslab.majortom.model.revision.IRevision doReadFirstRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
           
 de.topicmapslab.majortom.model.revision.IRevision doReadFutureRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 java.util.Map<de.topicmapslab.majortom.model.store.TopicMapStoreParameterType,java.lang.Object> doReadHistory(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.store.TopicMapStoreParameterType... arguments)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> doReadItemIdentifiers(de.topicmapslab.majortom.model.core.IConstruct c)
           
 java.util.Calendar doReadLastModification(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
           
 java.util.Calendar doReadLastModificationOfTopic(de.topicmapslab.majortom.model.core.ITopic topic)
           
 de.topicmapslab.majortom.model.revision.IRevision doReadLastRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
           
 de.topicmapslab.majortom.model.core.ILocator doReadLocator(de.topicmapslab.majortom.model.core.ITopicMap t)
           
 java.util.Map<java.lang.String,java.lang.String> doReadMetadata(de.topicmapslab.majortom.model.revision.IRevision revision)
           
 java.lang.String doReadMetadataByKey(de.topicmapslab.majortom.model.revision.IRevision revision, java.lang.String key)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, long offset, long limit)
           
 long doReadNumberOfAssociations()
           
 long doReadNumberOfAssociationsPlayed(de.topicmapslab.majortom.model.core.ITopic topic)
           
 long doReadNumberOfNames(de.topicmapslab.majortom.model.core.ITopic topic)
           
 long doReadNumberOfOccurrences(de.topicmapslab.majortom.model.core.ITopic topic)
           
 long doReadNumberOfRoles(de.topicmapslab.majortom.model.core.IAssociation association)
           
 long doReadNumberOfRolesPlayed(de.topicmapslab.majortom.model.core.ITopic topic)
           
 long doReadNumberOfSupertypes(de.topicmapslab.majortom.model.core.ITopic topic)
           
 long doReadNumberOfTopics()
           
 java.lang.Long doReadNumberOfTopics(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
           
 long doReadNumberOfTypes(de.topicmapslab.majortom.model.core.ITopic topic)
           
 long doReadNumberOfVariants(de.topicmapslab.majortom.model.core.IName name)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, long offset, long limit)
           
 de.topicmapslab.majortom.model.revision.IRevision doReadPastRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 de.topicmapslab.majortom.model.core.ITopic doReadPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role)
           
 de.topicmapslab.majortom.model.core.ITopic doReadReification(de.topicmapslab.majortom.model.core.IReifiable r)
           
 de.topicmapslab.majortom.model.core.IReifiable doReadReification(de.topicmapslab.majortom.model.core.ITopic t)
           
 de.topicmapslab.majortom.model.revision.IRevision doReadRevisionByTag(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String tag)
           
 de.topicmapslab.majortom.model.revision.IRevision doReadRevisionByTimestamp(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Calendar time)
           
 java.util.List<de.topicmapslab.majortom.model.revision.IRevision> doReadRevisionsByAssociationType(de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.List<de.topicmapslab.majortom.model.revision.IRevision> doReadRevisionsByTopic(de.topicmapslab.majortom.model.core.ITopic topic)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic assocType)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadRoleTypes(de.topicmapslab.majortom.model.core.IAssociation association)
           
 de.topicmapslab.majortom.model.core.IScope doReadScope(de.topicmapslab.majortom.model.core.IScopable s)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> doReadSubjectIdentifiers(de.topicmapslab.majortom.model.core.ITopic t)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> doReadSubjectLocators(de.topicmapslab.majortom.model.core.ITopic t)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadSuptertypes(de.topicmapslab.majortom.model.core.ITopic t, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long scopeId)
          Internal method to read all themes of a scope
 java.util.Calendar doReadTimestamp(de.topicmapslab.majortom.model.revision.IRevision revision)
           
 de.topicmapslab.majortom.model.core.ITopic doReadTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
           
 de.topicmapslab.majortom.model.core.ITopic doReadTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ILocator subjectLocator)
           
 java.lang.Long doReadTopicMapIdentity(de.topicmapslab.majortom.model.core.ILocator baseLocator)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ITopic type)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t, long offset, long limit)
           
 de.topicmapslab.majortom.model.core.ITopic doReadType(de.topicmapslab.majortom.model.core.ITypeable typed)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadTypes(de.topicmapslab.majortom.model.core.ITopic t, long offset, long limit)
           
 java.lang.Object doReadValue(de.topicmapslab.majortom.model.core.IDatatypeAware t)
           
 java.lang.Object doReadValue(de.topicmapslab.majortom.model.core.IName n)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> doReadVariants(de.topicmapslab.majortom.model.core.IName n, de.topicmapslab.majortom.model.core.IScope scope)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> doReadVariants(de.topicmapslab.majortom.model.core.IName n, long offset, long limit)
           
 boolean doRemoveAssociation(de.topicmapslab.majortom.model.core.IAssociation association, boolean cascade)
           
 void doRemoveAssociation(de.topicmapslab.majortom.model.core.IAssociation association, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision)
          Using JDBC to remove an association instance and all roles.
 void doRemoveDuplicates()
          Method calls the database supported remove-duplicates function if it exists.
 void doRemoveItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
           
 boolean doRemoveName(de.topicmapslab.majortom.model.core.IName name, boolean cascade)
           
 void doRemoveName(de.topicmapslab.majortom.model.core.IName name, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 boolean doRemoveOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence, boolean cascade)
           
 void doRemoveOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 boolean doRemoveRole(de.topicmapslab.majortom.model.core.IAssociationRole role, boolean cascade)
           
 void doRemoveRole(de.topicmapslab.majortom.model.core.IAssociationRole role, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 void doRemoveScope(de.topicmapslab.majortom.model.core.IScopable s, de.topicmapslab.majortom.model.core.ITopic theme)
           
 void doRemoveSubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
           
 void doRemoveSubjectLocator(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectLocator)
           
 void doRemoveSupertype(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 boolean doRemoveTopic(de.topicmapslab.majortom.model.core.ITopic topic, boolean cascade)
           
 void doRemoveTopic(de.topicmapslab.majortom.model.core.ITopic topic, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 void doRemoveTopicMap(de.topicmapslab.majortom.model.core.ITopicMap topicMap, boolean cascade)
           
 void doRemoveType(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type)
           
 boolean doRemoveVariant(de.topicmapslab.majortom.model.core.IVariant variant, boolean cascade)
           
 void doRemoveVariant(de.topicmapslab.majortom.model.core.IVariant variant, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision)
           
 void dump(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.IAssociation association)
           
 void dump(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.IAssociationRole role)
           
 void dump(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.IName name)
           
 void dump(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.IOccurrence occurrence)
           
 void dump(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.ITopic topic)
           
 void dump(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.IVariant variant)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.IScope scope, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic theme, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic[] themes, boolean all, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByType(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation>
getAssociationsByTypes(java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation>
getAssociationsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getAssociationScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getAssociationThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getAssociationTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.IScope scope, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByType(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics>
getCharacteristicsByTypes(java.util.Collection<T> types, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics>
getCharacteristicsByTypesTransitive(java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getCharacteristicsTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.sql.Connection getConnection()
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IConstruct> getConstructsByIdentitifer(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String regExp, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IConstruct> getConstructsByItemIdentitifer(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String regExp, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwaresByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getDirectSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getDirectSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> getItemIdentifiers(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Set<de.topicmapslab.majortom.model.core.ILocator> getLocators()
          Method to load all topic map locators from database
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNames(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNames(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String pattern)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.IScope scope, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic theme, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic[] themes, boolean all, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByType(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IName>
getNamesByTypes(java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IName>
getNamesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getNameScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getNameThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getNameTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Calendar lower, java.util.Calendar upper, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap, double value, double deviance, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String reference, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String pattern)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String pattern, java.lang.String reference)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.IScope scope, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic theme, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic[] themes, boolean all, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByType(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence>
getOccurrencesByTypes(java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence>
getOccurrencesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getOccurrenceScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getOccurrenceThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getOccurrenceTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> getRolesByType(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole>
getRolesByTypes(java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> getRolesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole>
getRolesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> types, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getRoleTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IScopable> getScopables(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.IScope scope, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.IScope>
getScopesByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> themes, boolean all)
           
<T extends ISession>
T
getSession()
          Returns the session of the query processor instance
 java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> getSubjectIdentifiers(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> getSubjectLocators(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic>
getSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> types, boolean matchAll, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic>
getSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> types, boolean matchAll, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsBySubjectIdentitifer(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String regExp, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String regExp, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic>
getTopicsByType(de.topicmapslab.majortom.model.core.ITopicMap topicMap, T type, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic>
getTopicsByTypes(java.util.Collection<T> types, boolean all, long offset, long limit)
           
<T extends org.tmapi.core.Topic>
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic>
getTopicsByTypesTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<T> type, boolean all, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String pattern)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String value, java.lang.String reference)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String reference)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String pattern, java.lang.String reference)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.IScope scope, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic theme, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, org.tmapi.core.Topic[] themes, boolean all, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getVariantScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getVariantThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap, long offset, long limit)
           
 void openTransaction()
           
 

Method Detail

getConnection

java.sql.Connection getConnection()

close

void close()

openTransaction

void openTransaction()
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

commit

void commit()
            throws java.sql.SQLException
Throws:
java.sql.SQLException

getSession

<T extends ISession> T getSession()
Returns the session of the query processor instance

Returns:
the session

doReadNumberOfTopics

java.lang.Long doReadNumberOfTopics(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadTopicMapIdentity

java.lang.Long doReadTopicMapIdentity(de.topicmapslab.majortom.model.core.ILocator baseLocator)
                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateTopicMapIdentity

java.lang.Long doCreateTopicMapIdentity(de.topicmapslab.majortom.model.core.ILocator baseLocator)
                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateAssociation

de.topicmapslab.majortom.model.core.IAssociation doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                     de.topicmapslab.majortom.model.core.ITopic type)
                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateAssociation

de.topicmapslab.majortom.model.core.IAssociation doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                     de.topicmapslab.majortom.model.core.ITopic type,
                                                                     java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateName

de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
                                                       java.lang.String value)
                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateName

de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
                                                       java.lang.String value,
                                                       java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateName

de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
                                                       de.topicmapslab.majortom.model.core.ITopic type,
                                                       java.lang.String value)
                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateName

de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
                                                       de.topicmapslab.majortom.model.core.ITopic type,
                                                       java.lang.String value,
                                                       java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateOccurrence

de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                   java.lang.String value)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateOccurrence

de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                   java.lang.String value,
                                                                   java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateOccurrence

de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                   de.topicmapslab.majortom.model.core.ILocator value)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateOccurrence

de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                   de.topicmapslab.majortom.model.core.ILocator value,
                                                                   java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateOccurrence

de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                   java.lang.String value,
                                                                   de.topicmapslab.majortom.model.core.ILocator datatype)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateOccurrence

de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                   java.lang.String value,
                                                                   de.topicmapslab.majortom.model.core.ILocator datatype,
                                                                   java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateRole

de.topicmapslab.majortom.model.core.IAssociationRole doCreateRole(de.topicmapslab.majortom.model.core.IAssociation association,
                                                                  de.topicmapslab.majortom.model.core.ITopic type,
                                                                  de.topicmapslab.majortom.model.core.ITopic player)
                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateScope

de.topicmapslab.majortom.model.core.IScope doCreateScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                         java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateTopicWithoutIdentifier

de.topicmapslab.majortom.model.core.ITopic doCreateTopicWithoutIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
                                                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateTopicByItemIdentifier

de.topicmapslab.majortom.model.core.ITopic doCreateTopicByItemIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                         de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateTopicBySubjectIdentifier

de.topicmapslab.majortom.model.core.ITopic doCreateTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                            de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateTopicBySubjectLocator

de.topicmapslab.majortom.model.core.ITopic doCreateTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                         de.topicmapslab.majortom.model.core.ILocator subjectLocator)
                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateLocator

de.topicmapslab.majortom.model.core.ILocator doCreateLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                             java.lang.String reference)
                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateVariant

de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name,
                                                             java.lang.String value,
                                                             java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateVariant

de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name,
                                                             de.topicmapslab.majortom.model.core.ILocator datatype,
                                                             java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateVariant

de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name,
                                                             java.lang.String value,
                                                             de.topicmapslab.majortom.model.core.ILocator datatype,
                                                             java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyItemIdentifier

void doModifyItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c,
                            de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyPlayer

void doModifyPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role,
                    de.topicmapslab.majortom.model.core.ITopic player)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyReifier

void doModifyReifier(de.topicmapslab.majortom.model.core.IReifiable r,
                     de.topicmapslab.majortom.model.core.ITopic reifier)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyScope

void doModifyScope(de.topicmapslab.majortom.model.core.IScopable s,
                   de.topicmapslab.majortom.model.core.ITopic theme)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifySubjectIdentifier

void doModifySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t,
                               de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifySubjectLocator

void doModifySubjectLocator(de.topicmapslab.majortom.model.core.ITopic t,
                            de.topicmapslab.majortom.model.core.ILocator subjectLocator)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifySupertype

void doModifySupertype(de.topicmapslab.majortom.model.core.ITopic t,
                       de.topicmapslab.majortom.model.core.ITopic type)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyTag

void doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm,
                 java.lang.String tag)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyTag

void doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm,
                 java.lang.String tag,
                 java.util.Calendar timestamp)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyType

void doModifyType(de.topicmapslab.majortom.model.core.ITypeable t,
                  de.topicmapslab.majortom.model.core.ITopic type)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyType

void doModifyType(de.topicmapslab.majortom.model.core.ITopic t,
                  de.topicmapslab.majortom.model.core.ITopic type)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyValue

void doModifyValue(de.topicmapslab.majortom.model.core.IName n,
                   java.lang.String value)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doModifyValue

void doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware t,
                   java.lang.String value,
                   de.topicmapslab.majortom.model.core.ILocator datatype)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doMergeTopics

void doMergeTopics(de.topicmapslab.majortom.model.core.ITopic context,
                   de.topicmapslab.majortom.model.core.ITopic other)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doMergeTopicMaps

void doMergeTopicMaps(org.tmapi.core.TopicMap context,
                      org.tmapi.core.TopicMap other)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                         long offset,
                                                                                         long limit)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                         de.topicmapslab.majortom.model.core.ITopic type)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                         de.topicmapslab.majortom.model.core.ITopic type,
                                                                                         de.topicmapslab.majortom.model.core.IScope scope)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                         de.topicmapslab.majortom.model.core.IScope scope)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
                                                                                         long offset,
                                                                                         long limit)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
                                                                                         de.topicmapslab.majortom.model.core.ITopic type)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
                                                                                         de.topicmapslab.majortom.model.core.ITopic type,
                                                                                         de.topicmapslab.majortom.model.core.IScope scope)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadAssociation

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
                                                                                         de.topicmapslab.majortom.model.core.IScope scope)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadCharacteristics

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t)
                                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadCharacteristics

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                                 de.topicmapslab.majortom.model.core.ITopic type)
                                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadCharacteristics

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                                 de.topicmapslab.majortom.model.core.ITopic type,
                                                                                                 de.topicmapslab.majortom.model.core.IScope scope)
                                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadCharacteristics

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                                 de.topicmapslab.majortom.model.core.IScope scope)
                                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadConstruct

de.topicmapslab.majortom.model.core.IConstruct doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t,
                                                               java.lang.Long id,
                                                               boolean lookupHistory)
                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadConstruct

de.topicmapslab.majortom.model.core.IConstruct doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t,
                                                               de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadDataType

de.topicmapslab.majortom.model.core.ILocator doReadDataType(de.topicmapslab.majortom.model.core.IDatatypeAware d)
                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadItemIdentifiers

java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> doReadItemIdentifiers(de.topicmapslab.majortom.model.core.IConstruct c)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadLocator

de.topicmapslab.majortom.model.core.ILocator doReadLocator(de.topicmapslab.majortom.model.core.ITopicMap t)
                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNames

java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
                                                                            long offset,
                                                                            long limit)
                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNames

java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
                                                                            de.topicmapslab.majortom.model.core.ITopic type)
                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNames

java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
                                                                            de.topicmapslab.majortom.model.core.ITopic type,
                                                                            de.topicmapslab.majortom.model.core.IScope scope)
                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNames

java.util.Collection<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
                                                                            de.topicmapslab.majortom.model.core.IScope scope)
                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                        long offset,
                                                                                        long limit)
                                                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                        de.topicmapslab.majortom.model.core.ITopic type)
                                                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                        de.topicmapslab.majortom.model.core.ITopic type,
                                                                                        de.topicmapslab.majortom.model.core.IScope scope)
                                                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                        de.topicmapslab.majortom.model.core.IScope scope)
                                                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadPlayer

de.topicmapslab.majortom.model.core.ITopic doReadPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role)
                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadReification

de.topicmapslab.majortom.model.core.IReifiable doReadReification(de.topicmapslab.majortom.model.core.ITopic t)
                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadReification

de.topicmapslab.majortom.model.core.ITopic doReadReification(de.topicmapslab.majortom.model.core.IReifiable r)
                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRoles

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association,
                                                                                       long offset,
                                                                                       long limit)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRoles

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association,
                                                                                       de.topicmapslab.majortom.model.core.ITopic type)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRoles

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player,
                                                                                       long offset,
                                                                                       long limit)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRoles

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player,
                                                                                       de.topicmapslab.majortom.model.core.ITopic type)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRoles

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player,
                                                                                       de.topicmapslab.majortom.model.core.ITopic type,
                                                                                       de.topicmapslab.majortom.model.core.ITopic assocType)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRoleTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadRoleTypes(de.topicmapslab.majortom.model.core.IAssociation association)
                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadSubjectIdentifiers

java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> doReadSubjectIdentifiers(de.topicmapslab.majortom.model.core.ITopic t)
                                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadSubjectLocators

java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> doReadSubjectLocators(de.topicmapslab.majortom.model.core.ITopic t)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadSuptertypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadSuptertypes(de.topicmapslab.majortom.model.core.ITopic t,
                                                                                   long offset,
                                                                                   long limit)
                                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadTopicBySubjectIdentifier

de.topicmapslab.majortom.model.core.ITopic doReadTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap t,
                                                                          de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
                                                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadTopicBySubjectLocator

de.topicmapslab.majortom.model.core.ITopic doReadTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap t,
                                                                       de.topicmapslab.majortom.model.core.ILocator subjectLocator)
                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadThemes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                              long scopeId)
                                                                              throws java.sql.SQLException
Internal method to read all themes of a scope

Parameters:
topicMap - the topic map
scopeId - the scope id
Returns:
a collection of all themes
Throws:
java.sql.SQLException - thrown if a database error occurrs

doReadTopics

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t,
                                                                              long offset,
                                                                              long limit)
                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadTopics

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t,
                                                                              de.topicmapslab.majortom.model.core.ITopic type)
                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadType

de.topicmapslab.majortom.model.core.ITopic doReadType(de.topicmapslab.majortom.model.core.ITypeable typed)
                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> doReadTypes(de.topicmapslab.majortom.model.core.ITopic t,
                                                                             long offset,
                                                                             long limit)
                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadScope

de.topicmapslab.majortom.model.core.IScope doReadScope(de.topicmapslab.majortom.model.core.IScopable s)
                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadValue

java.lang.Object doReadValue(de.topicmapslab.majortom.model.core.IName n)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadValue

java.lang.Object doReadValue(de.topicmapslab.majortom.model.core.IDatatypeAware t)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadVariants

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> doReadVariants(de.topicmapslab.majortom.model.core.IName n,
                                                                                  long offset,
                                                                                  long limit)
                                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadVariants

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> doReadVariants(de.topicmapslab.majortom.model.core.IName n,
                                                                                  de.topicmapslab.majortom.model.core.IScope scope)
                                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadBestLabel

java.lang.String doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic)
                                 throws java.sql.SQLException
Returns the best label for the current topic instance. The best label will be identified satisfying the following rules in the given order.

1. Names of the default name type are weighted higher than names of other types.

2. Names with the unconstrained scope are weighted higher than other scoped names.

3. Names with a smaller number of scoping themes are weighted higher than others.

4. Names with a lexicographically smaller value are weighted higher than others.

5. If no names are existing, the subject-identifier with the lexicographically smallest reference are returned.

6. If no subject-identifiers are existing, the subject-locators with the lexicographically smallest reference are returned.

7. If no subject-locators are existing, the item-identifier with the lexicographically smallest reference are returned.

8. At least the ID of the topic will be returned.

Throws:
java.sql.SQLException
Since:
1.1.2

doReadBestIdentifier

java.lang.String doReadBestIdentifier(de.topicmapslab.majortom.model.core.ITopic topic,
                                      boolean withPrefix)
                                      throws java.sql.SQLException
Returns the best and stable identifier of the topic. The best identifier will be extracted by following rules.

1. Identifiers are weighted by its types in the following order subject-identifier, subject-locator and item-identifier.

2. If there are more than one identifier of the same type, the shortest will be returned.

3. If there are more than one identifier with the same length, the lexicographically smallest will be returned.

Parameters:
topic - the topic
withPrefix - flag indicates if the returned identifier will be prefixed with its type. Subject-identifier( si:), subject-locator(sl:) or item-identifier(ii:).
Returns:
the best identifier or the id if the topic has no identifiers
Throws:
java.sql.SQLException
Since:
1.2.0

doReadBestLabel

java.lang.String doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic,
                                 de.topicmapslab.majortom.model.core.ITopic theme,
                                 boolean strict)
                                 throws java.sql.SQLException
Returns the best label for the current topic instance. The best label will be identified satisfying the following rules in the given order.

1. Names of the default name type are weighted higher than names of other types.

2. Names with the unconstrained scope are weighted higher than other scoped names.

3. Names with a smaller number of scoping themes are weighted higher than others.

4. Names with a lexicographically smaller value are weighted higher than others.

5. If no names are existing, the subject-identifier with the lexicographically smallest reference are returned.

6. If no subject-identifiers are existing, the subject-locators with the lexicographically smallest reference are returned.

7. If no subject-locators are existing, the item-identifier with the lexicographically smallest reference are returned.

8. At least the ID of the topic will be returned.

Parameters:
strict - if there is no name with the given theme and strict is true, then null will be returned.
Throws:
java.sql.SQLException
Since:
1.1.2

doRemoveItemIdentifier

void doRemoveItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c,
                            de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveScope

void doRemoveScope(de.topicmapslab.majortom.model.core.IScopable s,
                   de.topicmapslab.majortom.model.core.ITopic theme)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveSubjectIdentifier

void doRemoveSubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t,
                               de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveSubjectLocator

void doRemoveSubjectLocator(de.topicmapslab.majortom.model.core.ITopic t,
                            de.topicmapslab.majortom.model.core.ILocator subjectLocator)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveSupertype

void doRemoveSupertype(de.topicmapslab.majortom.model.core.ITopic t,
                       de.topicmapslab.majortom.model.core.ITopic type)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveType

void doRemoveType(de.topicmapslab.majortom.model.core.ITopic t,
                  de.topicmapslab.majortom.model.core.ITopic type)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveTopicMap

void doRemoveTopicMap(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                      boolean cascade)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveTopic

boolean doRemoveTopic(de.topicmapslab.majortom.model.core.ITopic topic,
                      boolean cascade)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveTopic

void doRemoveTopic(de.topicmapslab.majortom.model.core.ITopic topic,
                   boolean cascade,
                   de.topicmapslab.majortom.model.revision.IRevision revision)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveName

boolean doRemoveName(de.topicmapslab.majortom.model.core.IName name,
                     boolean cascade)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveName

void doRemoveName(de.topicmapslab.majortom.model.core.IName name,
                  boolean cascade,
                  de.topicmapslab.majortom.model.revision.IRevision revision)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveOccurrence

boolean doRemoveOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence,
                           boolean cascade)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveOccurrence

void doRemoveOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence,
                        boolean cascade,
                        de.topicmapslab.majortom.model.revision.IRevision revision)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doClearTopicMap

void doClearTopicMap(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveAssociation

void doRemoveAssociation(de.topicmapslab.majortom.model.core.IAssociation association,
                         boolean cascade,
                         de.topicmapslab.majortom.model.revision.IRevision revision)
                         throws java.sql.SQLException
Using JDBC to remove an association instance and all roles.

Parameters:
association - the association
cascade - cascading deletion
revision - the revision to store changes
Throws:
java.sql.SQLException - thrown if JDBC command fails

doRemoveAssociation

boolean doRemoveAssociation(de.topicmapslab.majortom.model.core.IAssociation association,
                            boolean cascade)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveRole

boolean doRemoveRole(de.topicmapslab.majortom.model.core.IAssociationRole role,
                     boolean cascade)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveRole

void doRemoveRole(de.topicmapslab.majortom.model.core.IAssociationRole role,
                  boolean cascade,
                  de.topicmapslab.majortom.model.revision.IRevision revision)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveVariant

boolean doRemoveVariant(de.topicmapslab.majortom.model.core.IVariant variant,
                        boolean cascade)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException

doRemoveVariant

void doRemoveVariant(de.topicmapslab.majortom.model.core.IVariant variant,
                     boolean cascade,
                     de.topicmapslab.majortom.model.revision.IRevision revision)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfAssociations

long doReadNumberOfAssociations()
                                throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfTopics

long doReadNumberOfTopics()
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfNames

long doReadNumberOfNames(de.topicmapslab.majortom.model.core.ITopic topic)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfOccurrences

long doReadNumberOfOccurrences(de.topicmapslab.majortom.model.core.ITopic topic)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfTypes

long doReadNumberOfTypes(de.topicmapslab.majortom.model.core.ITopic topic)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfSupertypes

long doReadNumberOfSupertypes(de.topicmapslab.majortom.model.core.ITopic topic)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfAssociationsPlayed

long doReadNumberOfAssociationsPlayed(de.topicmapslab.majortom.model.core.ITopic topic)
                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfRolesPlayed

long doReadNumberOfRolesPlayed(de.topicmapslab.majortom.model.core.ITopic topic)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfVariants

long doReadNumberOfVariants(de.topicmapslab.majortom.model.core.IName name)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadNumberOfRoles

long doReadNumberOfRoles(de.topicmapslab.majortom.model.core.IAssociation association)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getAssociationTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getCharacteristicsTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                         long offset,
                                                                                         long limit)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getNameTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                              long offset,
                                                                              long limit)
                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrenceTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getOccurrenceTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                    long offset,
                                                                                    long limit)
                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getRoleTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getRoleTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                              long offset,
                                                                              long limit)
                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicTypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicTypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByType

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByType(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                             long offset,
                                                                                             long limit)
                                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByTypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByTypes(java.util.Collection<T> types,
                                                                                                                               long offset,
                                                                                                                               long limit)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByType

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByType(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                                    long offset,
                                                                                                    long limit)
                                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByTypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByTypes(java.util.Collection<T> types,
                                                                                                                                      long offset,
                                                                                                                                      long limit)
                                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByType

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByType(de.topicmapslab.majortom.model.core.ITopic type,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByTypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByTypes(java.util.Collection<T> types,
                                                                                                                 long offset,
                                                                                                                 long limit)
                                                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByType

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByType(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                           long offset,
                                                                                           long limit)
                                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByTypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByTypes(java.util.Collection<T> types,
                                                                                                                             long offset,
                                                                                                                             long limit)
                                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getRolesByType

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> getRolesByType(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                          long offset,
                                                                                          long limit)
                                                                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

getRolesByTypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> getRolesByTypes(java.util.Collection<T> types,
                                                                                                                            long offset,
                                                                                                                            long limit)
                                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicsByType

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsByType(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                  T type,
                                                                                                                  long offset,
                                                                                                                  long limit)
                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicsByTypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsByTypes(java.util.Collection<T> types,
                                                                                                                   boolean all,
                                                                                                                   long offset,
                                                                                                                   long limit)
                                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByTypeTransitive

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                                       long offset,
                                                                                                       long limit)
                                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByTypeTransitive

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                                        java.util.Collection<T> types,
                                                                                                                                        long offset,
                                                                                                                                        long limit)
                                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByTypeTransitive

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                                              long offset,
                                                                                                              long limit)
                                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByTypesTransitive

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByTypesTransitive(java.util.Collection<T> types,
                                                                                                                                                long offset,
                                                                                                                                                long limit)
                                                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByTypeTransitive

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                         long offset,
                                                                                         long limit)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByTypeTransitive

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                          java.util.Collection<T> types,
                                                                                                                          long offset,
                                                                                                                          long limit)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByTypeTransitive

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                                     long offset,
                                                                                                     long limit)
                                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByTypeTransitive

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                                      java.util.Collection<T> types,
                                                                                                                                      long offset,
                                                                                                                                      long limit)
                                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getRolesByTypeTransitive

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> getRolesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                                    long offset,
                                                                                                    long limit)
                                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getRolesByTypeTransitive

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IAssociationRole> getRolesByTypeTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                                     java.util.Collection<T> types,
                                                                                                                                     long offset,
                                                                                                                                     long limit)
                                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicsByTypeTransitive

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsByTypeTransitive(de.topicmapslab.majortom.model.core.ITopic type,
                                                                                           long offset,
                                                                                           long limit)
                                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicsByTypesTransitive

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsByTypesTransitive(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                             java.util.Collection<T> type,
                                                                                                                             boolean all,
                                                                                                                             long offset,
                                                                                                                             long limit)
                                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getScopesByThemes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getScopesByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                    java.util.Collection<T> themes,
                                                                                                                    boolean all)
                                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByScope

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              de.topicmapslab.majortom.model.core.IScope scope,
                                                                                              long offset,
                                                                                              long limit)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                               java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                                               long offset,
                                                                                               long limit)
                                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByTheme

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              org.tmapi.core.Topic theme,
                                                                                              long offset,
                                                                                              long limit)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationsByThemes

java.util.Collection<de.topicmapslab.majortom.model.core.IAssociation> getAssociationsByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                               org.tmapi.core.Topic[] themes,
                                                                                               boolean all,
                                                                                               long offset,
                                                                                               long limit)
                                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getAssociationScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      long offset,
                                                                                      long limit)
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getAssociationThemes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getAssociationThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      long offset,
                                                                                      long limit)
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByScope

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                     de.topicmapslab.majortom.model.core.IScope scope,
                                                                                                     long offset,
                                                                                                     long limit)
                                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByScope

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                de.topicmapslab.majortom.model.core.IScope scope,
                                                                                long offset,
                                                                                long limit)
                                                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                 java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                                 long offset,
                                                                                 long limit)
                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByTheme

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                org.tmapi.core.Topic theme,
                                                                                long offset,
                                                                                long limit)
                                                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByThemes

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                 org.tmapi.core.Topic[] themes,
                                                                                 boolean all,
                                                                                 long offset,
                                                                                 long limit)
                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getNameScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getNameThemes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getNameThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByScope

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                            de.topicmapslab.majortom.model.core.IScope scope,
                                                                                            long offset,
                                                                                            long limit)
                                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                             java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                                             long offset,
                                                                                             long limit)
                                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByTheme

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                            org.tmapi.core.Topic theme,
                                                                                            long offset,
                                                                                            long limit)
                                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByThemes

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                             org.tmapi.core.Topic[] themes,
                                                                                             boolean all,
                                                                                             long offset,
                                                                                             long limit)
                                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrenceScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getOccurrenceScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrenceThemes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getOccurrenceThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getScopables

java.util.Collection<de.topicmapslab.majortom.model.core.IScopable> getScopables(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                 de.topicmapslab.majortom.model.core.IScope scope,
                                                                                 long offset,
                                                                                 long limit)
                                                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantsByScope

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      de.topicmapslab.majortom.model.core.IScope scope,
                                                                                      long offset,
                                                                                      long limit)
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantsByScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                       java.util.Collection<de.topicmapslab.majortom.model.core.IScope> scopes,
                                                                                       long offset,
                                                                                       long limit)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantsByTheme

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByTheme(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      org.tmapi.core.Topic theme,
                                                                                      long offset,
                                                                                      long limit)
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantsByThemes

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                       org.tmapi.core.Topic[] themes,
                                                                                       boolean all,
                                                                                       long offset,
                                                                                       long limit)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantScopes

java.util.Collection<de.topicmapslab.majortom.model.core.IScope> getVariantScopes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                  long offset,
                                                                                  long limit)
                                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantThemes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getVariantThemes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                  long offset,
                                                                                  long limit)
                                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristics

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              java.lang.String value,
                                                                                              long offset,
                                                                                              long limit)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristics

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristics(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              java.lang.String value,
                                                                                              java.lang.String reference,
                                                                                              long offset,
                                                                                              long limit)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByDatatype

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                        java.lang.String reference,
                                                                                                        long offset,
                                                                                                        long limit)
                                                                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                       java.lang.String value,
                                                                                                       long offset,
                                                                                                       long limit)
                                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getCharacteristicsByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.ICharacteristics> getCharacteristicsByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                       java.lang.String value,
                                                                                                       java.lang.String reference,
                                                                                                       long offset,
                                                                                                       long limit)
                                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getDatatypeAwaresByDatatype

java.util.Collection<de.topicmapslab.majortom.model.core.IDatatypeAware> getDatatypeAwaresByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                     java.lang.String reference,
                                                                                                     long offset,
                                                                                                     long limit)
                                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getNames

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNames(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                         long offset,
                                                                         long limit)
                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getNames

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNames(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                         java.lang.String value)
                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getNamesByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.IName> getNamesByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                  java.lang.String pattern)
                                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     java.util.Calendar lower,
                                                                                     java.util.Calendar upper,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     double value,
                                                                                     double deviance,
                                                                                     java.lang.String reference,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     java.lang.String value)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrences

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrences(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     java.lang.String value,
                                                                                     java.lang.String reference,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByDatatype

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                               java.lang.String reference,
                                                                                               long offset,
                                                                                               long limit)
                                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              java.lang.String pattern)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getOccurrencesByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.IOccurrence> getOccurrencesByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                              java.lang.String pattern,
                                                                                              java.lang.String reference)
                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariants

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariants

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               java.lang.String value)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariants

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariants(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               java.lang.String value,
                                                                               java.lang.String reference)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantsByDatatype

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByDatatype(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                         java.lang.String reference)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                       java.lang.String pattern)
                                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getVariantsByPattern

java.util.Collection<de.topicmapslab.majortom.model.core.IVariant> getVariantsByPattern(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                        java.lang.String pattern,
                                                                                        java.lang.String reference)
                                                                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getItemIdentifiers

java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> getItemIdentifiers(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      long offset,
                                                                                      long limit)
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getSubjectIdentifiers

java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> getSubjectIdentifiers(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                         long offset,
                                                                                         long limit)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getSubjectLocators

java.util.Collection<de.topicmapslab.majortom.model.core.ILocator> getSubjectLocators(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                      long offset,
                                                                                      long limit)
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

getConstructsByIdentitifer

java.util.Collection<de.topicmapslab.majortom.model.core.IConstruct> getConstructsByIdentitifer(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                java.lang.String regExp,
                                                                                                long offset,
                                                                                                long limit)
                                                                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

getConstructsByItemIdentitifer

java.util.Collection<de.topicmapslab.majortom.model.core.IConstruct> getConstructsByItemIdentitifer(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                    java.lang.String regExp,
                                                                                                    long offset,
                                                                                                    long limit)
                                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicsBySubjectIdentitifer

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsBySubjectIdentitifer(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                               java.lang.String regExp,
                                                                                               long offset,
                                                                                               long limit)
                                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getTopicsBySubjectLocator

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getTopicsBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                           java.lang.String regExp,
                                                                                           long offset,
                                                                                           long limit)
                                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getDirectSubtypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getDirectSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                   de.topicmapslab.majortom.model.core.ITopic type,
                                                                                   long offset,
                                                                                   long limit)
                                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getSubtypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                             de.topicmapslab.majortom.model.core.ITopic type,
                                                                             long offset,
                                                                             long limit)
                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getSubtypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                             long offset,
                                                                             long limit)
                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getSubtypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSubtypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                              java.util.Collection<T> types,
                                                                                                              boolean matchAll,
                                                                                                              long offset,
                                                                                                              long limit)
                                                                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getDirectSupertypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getDirectSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                     de.topicmapslab.majortom.model.core.ITopic type,
                                                                                     long offset,
                                                                                     long limit)
                                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

getSupertypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               de.topicmapslab.majortom.model.core.ITopic type,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getSupertypes

java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                               long offset,
                                                                               long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

getSupertypes

<T extends org.tmapi.core.Topic> java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> getSupertypes(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                                                                java.util.Collection<T> types,
                                                                                                                boolean matchAll,
                                                                                                                long offset,
                                                                                                                long limit)
                                                                               throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateRevision

de.topicmapslab.majortom.model.revision.IRevision doCreateRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                   de.topicmapslab.majortom.model.event.TopicMapEventType type)
                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateChangeSet

void doCreateChangeSet(de.topicmapslab.majortom.model.revision.IRevision revision,
                       de.topicmapslab.majortom.model.event.TopicMapEventType type,
                       de.topicmapslab.majortom.model.core.IConstruct notifier,
                       java.lang.Object newValue,
                       java.lang.Object oldValue)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateTag

void doCreateTag(java.lang.String tag,
                 java.util.Calendar time)
                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doCreateMetadata

void doCreateMetadata(de.topicmapslab.majortom.model.revision.IRevision revision,
                      java.lang.String key,
                      java.lang.String value)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadFirstRevision

de.topicmapslab.majortom.model.revision.IRevision doReadFirstRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadLastRevision

de.topicmapslab.majortom.model.revision.IRevision doReadLastRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadPastRevision

de.topicmapslab.majortom.model.revision.IRevision doReadPastRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                     de.topicmapslab.majortom.model.revision.IRevision revision)
                                                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadFutureRevision

de.topicmapslab.majortom.model.revision.IRevision doReadFutureRevision(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                       de.topicmapslab.majortom.model.revision.IRevision revision)
                                                                       throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadChangeset

de.topicmapslab.majortom.model.revision.Changeset doReadChangeset(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                  de.topicmapslab.majortom.model.revision.IRevision revision)
                                                                  throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadChangesetType

de.topicmapslab.majortom.model.event.TopicMapEventType doReadChangesetType(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                           de.topicmapslab.majortom.model.revision.IRevision revision)
                                                                           throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadLastModification

java.util.Calendar doReadLastModification(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadLastModificationOfTopic

java.util.Calendar doReadLastModificationOfTopic(de.topicmapslab.majortom.model.core.ITopic topic)
                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadTimestamp

java.util.Calendar doReadTimestamp(de.topicmapslab.majortom.model.revision.IRevision revision)
                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRevisionsByTopic

java.util.List<de.topicmapslab.majortom.model.revision.IRevision> doReadRevisionsByTopic(de.topicmapslab.majortom.model.core.ITopic topic)
                                                                                         throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRevisionsByAssociationType

java.util.List<de.topicmapslab.majortom.model.revision.IRevision> doReadRevisionsByAssociationType(de.topicmapslab.majortom.model.core.ITopic type)
                                                                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadChangesetsByTopic

de.topicmapslab.majortom.model.revision.Changeset doReadChangesetsByTopic(de.topicmapslab.majortom.model.core.ITopic topic)
                                                                          throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadChangesetsByAssociationType

de.topicmapslab.majortom.model.revision.Changeset doReadChangesetsByAssociationType(de.topicmapslab.majortom.model.core.ITopic type)
                                                                                    throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRevisionByTag

de.topicmapslab.majortom.model.revision.IRevision doReadRevisionByTag(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                      java.lang.String tag)
                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadRevisionByTimestamp

de.topicmapslab.majortom.model.revision.IRevision doReadRevisionByTimestamp(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
                                                                            java.util.Calendar time)
                                                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadMetadata

java.util.Map<java.lang.String,java.lang.String> doReadMetadata(de.topicmapslab.majortom.model.revision.IRevision revision)
                                                                throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadMetadataByKey

java.lang.String doReadMetadataByKey(de.topicmapslab.majortom.model.revision.IRevision revision,
                                     java.lang.String key)
                                     throws java.sql.SQLException
Throws:
java.sql.SQLException

dump

void dump(de.topicmapslab.majortom.model.revision.IRevision revision,
          de.topicmapslab.majortom.model.core.IAssociationRole role)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

dump

void dump(de.topicmapslab.majortom.model.revision.IRevision revision,
          de.topicmapslab.majortom.model.core.IAssociation association)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

dump

void dump(de.topicmapslab.majortom.model.revision.IRevision revision,
          de.topicmapslab.majortom.model.core.IVariant variant)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

dump

void dump(de.topicmapslab.majortom.model.revision.IRevision revision,
          de.topicmapslab.majortom.model.core.IName name)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

dump

void dump(de.topicmapslab.majortom.model.revision.IRevision revision,
          de.topicmapslab.majortom.model.core.IOccurrence occurrence)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

dump

void dump(de.topicmapslab.majortom.model.revision.IRevision revision,
          de.topicmapslab.majortom.model.core.ITopic topic)
          throws java.sql.SQLException
Throws:
java.sql.SQLException

doReadHistory

java.util.Map<de.topicmapslab.majortom.model.store.TopicMapStoreParameterType,java.lang.Object> doReadHistory(de.topicmapslab.majortom.model.core.IConstruct c,
                                                                                                              de.topicmapslab.majortom.model.store.TopicMapStoreParameterType... arguments)
                                                                                                              throws java.sql.SQLException
Throws:
java.sql.SQLException

getLocators

java.util.Set<de.topicmapslab.majortom.model.core.ILocator> getLocators()
                                                                        throws java.sql.SQLException
Method to load all topic map locators from database

Returns:
Throws:
java.sql.SQLException

canPerformRemoveDuplicates

boolean canPerformRemoveDuplicates()
Checks if the query processor supports a database supported remove-duplicates function

Returns:
true if the database contains a function to handle remove duplicates, false otherwise.

doRemoveDuplicates

void doRemoveDuplicates()
                        throws java.sql.SQLException,
                               java.lang.UnsupportedOperationException
Method calls the database supported remove-duplicates function if it exists.

Throws:
java.sql.SQLException - thrown during execution
java.lang.UnsupportedOperationException - throw if the function is not supported
See Also:
Method to check if function is supported