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 bd50ba20130d60471ae2f2bef3afab7eaf656285..8a2aa0ae7cece7a290666d8fd4dff4f8a05f1c12 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; - - }