[New] Added RestfulStrolchComponent.openTx() overload for TX

This commit is contained in:
Robert von Burg 2022-06-03 15:19:04 +02:00
parent bcc90ce29e
commit 765b849f82
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}