Skip to content
Snippets Groups Projects
Commit 8cc29191 authored by felmer's avatar felmer
Browse files

SE-235 adapt to modified service interface to openBIS

SVN: 15485
parent b46c039d
No related branches found
No related tags found
No related merge requests found
...@@ -346,6 +346,21 @@ public final class EncapsulatedOpenBISService implements IEncapsulatedOpenBISSer ...@@ -346,6 +346,21 @@ public final class EncapsulatedOpenBISService implements IEncapsulatedOpenBISSer
} }
} }
synchronized public List<ExternalData> listDataSetsByExperimentID(long experimentID)
throws UserFailureException
{
checkSessionToken();
TechId id = new TechId(experimentID);
try
{
return service.listDataSetsByExperimentID(sessionToken, id);
} catch (InvalidSessionException ex)
{
authenticate();
return service.listDataSetsByExperimentID(sessionToken, id);
}
}
synchronized public List<ExternalData> listDataSetsBySampleID(long sampleID, synchronized public List<ExternalData> listDataSetsBySampleID(long sampleID,
boolean showOnlyDirectlyConnected) boolean showOnlyDirectlyConnected)
{ {
......
...@@ -100,6 +100,12 @@ public interface IEncapsulatedOpenBISService ...@@ -100,6 +100,12 @@ public interface IEncapsulatedOpenBISService
*/ */
public DataSetTypeWithVocabularyTerms getDataSetType(String dataSetTypeCode); public DataSetTypeWithVocabularyTerms getDataSetType(String dataSetTypeCode);
/**
* Lists all data sets of the specified experiment ID.
*/
public List<ExternalData> listDataSetsByExperimentID(long experimentID)
throws UserFailureException;
/** /**
* Lists all data sets of the specified sample ID. * Lists all data sets of the specified sample ID.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment