ch.agent.crnickl.junit
Class Util
java.lang.Object
ch.agent.crnickl.junit.Util
public class Util
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deleteChronicleCollection
public static void deleteChronicleCollection(ch.agent.crnickl.api.Chronicle chronicle)
throws ch.agent.core.KeyedException
- Delete everything belonging to the entity, except the entity itself. This
deletes all entities, series, values, and their dependent objects. The
method returns an array with the number of entities and the number of
series deleted. The method does not commit.
- Parameters:
chronicle -
- Throws:
ch.agent.core.KeyedException
deleteChronicles
public static void deleteChronicles(ch.agent.crnickl.api.Database db,
String... chrons)
throws Exception
- Throws:
Exception
deleteProperties
public static void deleteProperties(ch.agent.crnickl.api.Database db,
String... props)
throws Exception
- Throws:
Exception
deleteValueTypes
public static void deleteValueTypes(ch.agent.crnickl.api.Database db,
String... vts)
throws Exception
- Throws:
Exception
deleteSchema
public static void deleteSchema(ch.agent.crnickl.api.Database db,
String... schemas)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.