Skip to content
Snippets Groups Projects
Commit 9ff3159a authored by felmer's avatar felmer
Browse files

add listDataSetsByExperiment() and using corresponding method in IProteomicsDataService.

SVN: 21107
parent e50e9fdc
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@ package ch.systemsx.cisd.openbis.plugin.phosphonetx.client.api.v1;
import java.util.List;
import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Project;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.DataSet;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.DataStoreServerProcessingPluginInfo;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.Experiment;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.MsInjectionDataInfo;
......@@ -78,6 +79,11 @@ public interface IProteomicsDataApiFacade
*/
public List<Experiment> listExperiments(String sessionToken, String userID, String experimentTypeCode);
/**
* Returns all data sets of specified experiment which the specified user is allowed to read.
*/
public List<DataSet> listDataSetsByExperiment(String userID, long experimentID);
/**
* Processes the data sets of specified experiments of type <tt>MS_SEARCH</tt> by the DSS
* processing plug-in of specified key for the specified user. It will be checked if the
......
......@@ -26,6 +26,7 @@ import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Project;
import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Role;
import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SpaceWithProjectsAndRoleAssignments;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.IProteomicsDataService;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.DataSet;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.DataStoreServerProcessingPluginInfo;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.Experiment;
import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.api.v1.dto.MsInjectionDataInfo;
......@@ -120,6 +121,11 @@ class ProteomicsDataApiFacade implements IProteomicsDataApiFacade
return service.listExperiments(sessionToken, userID, experimentTypeCode);
}
public List<DataSet> listDataSetsByExperiment(String userID, long experimentID)
{
return service.listDataSetsByExperiment(sessionToken, userID, experimentID);
}
@SuppressWarnings("deprecation")
public void processSearchData(String userID, String dataSetProcessingKey,
long[] searchExperimentIDs)
......
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