From 765b849f82c1bd1d847ef5e6d24a431026960ef4 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Fri, 3 Jun 2022 15:19:04 +0200 Subject: [PATCH] [New] Added RestfulStrolchComponent.openTx() overload for TX --- .../main/java/li/strolch/rest/RestfulStrolchComponent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/li.strolch.rest/src/main/java/li/strolch/rest/RestfulStrolchComponent.java b/li.strolch.rest/src/main/java/li/strolch/rest/RestfulStrolchComponent.java index 38525c7d7..21f5a3e25 100644 --- a/li.strolch.rest/src/main/java/li/strolch/rest/RestfulStrolchComponent.java +++ b/li.strolch.rest/src/main/java/li/strolch/rest/RestfulStrolchComponent.java @@ -238,6 +238,10 @@ public class RestfulStrolchComponent extends StrolchComponent { return getContainer().getRealm(certificate).openTx(certificate, name, true); } + public StrolchTransaction openTx(Certificate certificate, String name, boolean readOnly) { + return getContainer().getRealm(certificate).openTx(certificate, name, readOnly); + } + public StrolchTransaction openTx(Certificate certificate, String realm, Class clazz) { return getContainer().getRealm(realm).openTx(certificate, clazz, true); }