net.ontopia.topicmaps.db2tm
Class Processor

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.Processor

public class Processor
extends java.lang.Object

INTERNAL: Class that performs the actual db2tm processing.


Field Summary
static int COUNT_COMMIT_MODE
           
static int DEFAULT_COMMIT_MODE
           
static int NEVER_COMMIT_MODE
           
static int RELATIONAL_COMMIT_MODE
           
static int TUPLE_COMMIT_MODE
           
 
Method Summary
static void addRelations(RelationMapping rmapping, java.util.Collection relnames, TopicMapIF topicmap, LocatorIF baseloc)
          INTERNAL: Runs a DB2TM process by adding tuples to the topic map.
static void addTuple(Relation relation, java.lang.String[] tuple, Context ctx)
           
static void removeRelations(RelationMapping rmapping, java.util.Collection relnames, TopicMapIF topicmap, LocatorIF baseloc)
          INTERNAL: Runs a DB2TM process by removing tuples from the topic map.
static void removeTuple(Relation relation, java.lang.String[] tuple, Context ctx)
           
static void synchronizeRelations(RelationMapping rmapping, java.util.Collection relnames, TopicMapIF topicmap, LocatorIF baseloc)
          INTERNAL: Runs a DB2TM process by synchronizing the relations.
static void synchronizeRelations(RelationMapping rmapping, java.util.Collection relnames, TopicMapIF topicmap, LocatorIF baseloc, boolean forceRescan)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEVER_COMMIT_MODE

public static int NEVER_COMMIT_MODE

RELATIONAL_COMMIT_MODE

public static int RELATIONAL_COMMIT_MODE

TUPLE_COMMIT_MODE

public static int TUPLE_COMMIT_MODE

COUNT_COMMIT_MODE

public static int COUNT_COMMIT_MODE

DEFAULT_COMMIT_MODE

public static int DEFAULT_COMMIT_MODE
Method Detail

addRelations

public static void addRelations(RelationMapping rmapping,
                                java.util.Collection relnames,
                                TopicMapIF topicmap,
                                LocatorIF baseloc)
INTERNAL: Runs a DB2TM process by adding tuples to the topic map.


removeRelations

public static void removeRelations(RelationMapping rmapping,
                                   java.util.Collection relnames,
                                   TopicMapIF topicmap,
                                   LocatorIF baseloc)
INTERNAL: Runs a DB2TM process by removing tuples from the topic map.


addTuple

public static void addTuple(Relation relation,
                            java.lang.String[] tuple,
                            Context ctx)

removeTuple

public static void removeTuple(Relation relation,
                               java.lang.String[] tuple,
                               Context ctx)

synchronizeRelations

public static void synchronizeRelations(RelationMapping rmapping,
                                        java.util.Collection relnames,
                                        TopicMapIF topicmap,
                                        LocatorIF baseloc)
INTERNAL: Runs a DB2TM process by synchronizing the relations.


synchronizeRelations

public static void synchronizeRelations(RelationMapping rmapping,
                                        java.util.Collection relnames,
                                        TopicMapIF topicmap,
                                        LocatorIF baseloc,
                                        boolean forceRescan)


Copyright © 2000-2010 Ontopia.