]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.db/scl/Simantics/DB.scl
Initial version of purge
[simantics/platform.git] / bundles / org.simantics.scl.db / scl / Simantics / DB.scl
index 280f6ebbf7286397a867b8f96e67fdfbc9c8df04..e42af1878214e75fdf90378fdafa57631b33aa57 100644 (file)
@@ -312,6 +312,8 @@ importJava "org.simantics.db.layer0.util.Layer0Utils" where
     sortByCluster :: [a] -> (a->Resource) -> <ReadGraph> [a]
     makeSynchronous :: Boolean -> <ReadGraph> ()
     listOntologies :: () -> <ReadGraph> [Resource]
+    emptyTrashBin :: () -> <Proc> ()
+    purgeDatabase :: () -> <Proc> ()
 
     @private
     @JavaName copyTo