Package net.ontopia.topicmaps.impl.rdbms
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 Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
clearTopicMap(TopicMapIF topicmap)
INTERNAL: An internal utility class that let one delete a topic map physically from the database.protected static void
deleteTopicMap(TopicMapIF topicmap)
INTERNAL: An internal utility class that let one delete a topic map physically from the database.static void
removeDuplicates(TopicMapIF topicmap)
INTERNAL: Helper function that effectively finds duplicate characteristics and suppresses them.
-
-
-
Method Detail
-
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
-
-