From 61ceced01925972627b54d11e102092061f0793d Mon Sep 17 00:00:00 2001 From: gakin <gakin> Date: Wed, 21 Dec 2016 15:50:10 +0000 Subject: [PATCH] SSDM-4555 : Simple wrapper for MasterDataRegistrationTransaction SVN: 37537 --- ...terDataRegistrationTransactionWrapper.java | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 openbis/source/java/ch/systemsx/cisd/openbis/generic/server/jython/api/v1/impl/MasterDataRegistrationTransactionWrapper.java diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/jython/api/v1/impl/MasterDataRegistrationTransactionWrapper.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/jython/api/v1/impl/MasterDataRegistrationTransactionWrapper.java new file mode 100644 index 00000000000..031800b64c0 --- /dev/null +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/jython/api/v1/impl/MasterDataRegistrationTransactionWrapper.java @@ -0,0 +1,38 @@ +/* + * Copyright 2016 ETH Zuerich, SIS + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package ch.systemsx.cisd.openbis.generic.server.jython.api.v1.impl; + +/** + * + * + * @author Ganime Betul Akin + */ +public class MasterDataRegistrationTransactionWrapper extends MasterDataRegistrationTransaction +{ + /** + * @param commonServer + */ + public MasterDataRegistrationTransactionWrapper(EncapsulatedCommonServer commonServer) + { + super(commonServer); + } + + public void execute() + { + super.commit(); + } +} -- GitLab