Class Utils

java.lang.Object
net.ontopia.topicmaps.impl.rdbms.Utils

public class Utils extends Object
INTERNAL: An internal utility class that contains various utility operations on the topic map implementation from this package.
Since:
2.0
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • clearTopicMap

      protected static void clearTopicMap(TopicMapIF topicmap) throws SQLException
      INTERNAL: An internal utility class that let one delete a topic map physically from the database. This method will delete a topic map conforming to the database schema in OKS 1.x and 2.x.
      Throws:
      SQLException
      Since:
      2.1.1
    • deleteTopicMap

      protected static void deleteTopicMap(TopicMapIF topicmap) throws SQLException
      INTERNAL: An internal utility class that let one delete a topic map physically from the database. This method will delete a topic map conforming to the database schema in OKS 1.x and 2.x.
      Throws:
      SQLException
      Since:
      2.0
    • removeDuplicates

      public static void removeDuplicates(TopicMapIF topicmap) throws SQLException
      INTERNAL: Helper function that effectively finds duplicate characteristics and suppresses them.
      Throws:
      SQLException