X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.db%2Fscl%2FSimantics%2FDB.scl;h=f2984f36958db216ec19d440fe1c351f47bc09fb;hb=refs%2Fheads%2Frelease%2F1.30.0;hp=19e83d30b571a7dfd9cf197090b1fecbe72939ea;hpb=1cc487c3f6cf4b46b1fdd727183a9483e3bc05bb;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.db/scl/Simantics/DB.scl b/bundles/org.simantics.scl.db/scl/Simantics/DB.scl index 19e83d30b..f2984f369 100644 --- a/bundles/org.simantics.scl.db/scl/Simantics/DB.scl +++ b/bundles/org.simantics.scl.db/scl/Simantics/DB.scl @@ -265,6 +265,9 @@ importJava "org.simantics.db.common.utils.ListUtils" where @JavaName create createList :: [Resource] -> Resource + + @JavaName create + createListWithType :: Resource -> [Resource] -> Resource @javaName insertBack insertBack :: Resource -> [Resource] -> () @@ -343,7 +346,7 @@ importJava "org.simantics.db.layer0.util.Layer0Utils" where listOntologies :: () -> [Resource] emptyTrashBin :: () -> () purgeDatabase :: () -> () - prettyPrintResource :: Resource -> String + prettyPrintResource :: Resource -> Boolean -> String @private @JavaName copyTo