From 9713bb78142aaa34b2960412ce5fea822c9965c1 Mon Sep 17 00:00:00 2001 From: jakubs <jakubs> Date: Mon, 12 Nov 2012 12:33:15 +0000 Subject: [PATCH] BIS-226 SP-341 add vocabulary methods to transaction SVN: 27575 --- ...aSetRegistrationTransactionV2Delegate.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransactionV2Delegate.java b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransactionV2Delegate.java index 10151f10b08..02fb7766faa 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransactionV2Delegate.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/jython/v2/ImagingDataSetRegistrationTransactionV2Delegate.java @@ -31,6 +31,8 @@ import ch.systemsx.cisd.etlserver.registrator.api.v1.IMetaproject; import ch.systemsx.cisd.etlserver.registrator.api.v1.IProject; import ch.systemsx.cisd.etlserver.registrator.api.v1.ISample; import ch.systemsx.cisd.etlserver.registrator.api.v1.ISpace; +import ch.systemsx.cisd.etlserver.registrator.api.v1.IVocabulary; +import ch.systemsx.cisd.etlserver.registrator.api.v1.IVocabularyTerm; import ch.systemsx.cisd.openbis.dss.etl.dto.api.v1.IImageDataSet; import ch.systemsx.cisd.openbis.dss.etl.dto.api.v1.SimpleImageDataConfig; import ch.systemsx.cisd.openbis.dss.etl.dto.api.v2.FeatureListDataConfig; @@ -47,6 +49,7 @@ import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v1.IProjectImmut import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v1.ISampleImmutable; import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v1.ISearchService; import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v1.ISpaceImmutable; +import ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v1.IVocabularyImmutable; /** * @author Jakub Straszewski @@ -252,6 +255,24 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements return transaction.getMetaproject(name, ownerId); } + @Override + public IVocabularyImmutable getVocabulary(String code) + { + return transaction.getVocabulary(code); + } + + @Override + public IVocabulary getVocabularyForUpdate(String code) + { + return transaction.getVocabularyForUpdate(code); + } + + @Override + public IVocabularyTerm createNewVocabularyTerm() + { + return transaction.createNewVocabularyTerm(); + } + @Override public String moveFile(String src, IDataSet dst) { -- GitLab