From 93a9a52e5991cba48e62b8f1ceb25f3c7cf74406 Mon Sep 17 00:00:00 2001 From: izabel <izabel> Date: Tue, 7 Sep 2010 12:30:45 +0000 Subject: [PATCH] fix regression test SVN: 17746 --- .../generic/shared/IETLLIMSService.java.expected | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/IETLLIMSService.java.expected b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/IETLLIMSService.java.expected index bd50ba20130..8a2aa0ae7ce 100644 --- a/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/IETLLIMSService.java.expected +++ b/openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/shared/IETLLIMSService.java.expected @@ -16,6 +16,7 @@ package ch.systemsx.cisd.openbis.generic.shared; +import java.util.Collection; import java.util.List; import org.springframework.transaction.annotation.Transactional; @@ -53,6 +54,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.NewSample; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.RoleWithHierarchy; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.Sample; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.SampleType; +import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseModificationKind.ObjectKind; import ch.systemsx.cisd.openbis.generic.shared.dto.DataStoreServerInfo; import ch.systemsx.cisd.openbis.generic.shared.dto.ListSamplesByPropertyCriteria; @@ -134,6 +136,14 @@ public interface IETLLIMSService extends IServer, ISessionProvider public ExperimentType getExperimentType(String sessionToken, String experimentTypeCode) throws UserFailureException; + /** + * Returns a list of terms belonging to given vocabulary. + */ + @Transactional(readOnly = true) + @RolesAllowed(RoleWithHierarchy.SPACE_ETL_SERVER) + public Collection<VocabularyTerm> listVocabularyTerms(String sessionToken, String vocabulary) + throws UserFailureException; + /** * Returns the SampleType together with assigned property types for specified sample type code. */ @@ -442,6 +452,4 @@ public interface IETLLIMSService extends IServer, ISessionProvider @AuthorizationGuard(guardClass = DataSetCodePredicate.class) String dataSetCode) throws UserFailureException; - - } -- GitLab