|
3 | 3 | import ch.ethz.sis.openbis.generic.asapi.v3.dto.attachment.Attachment;
|
4 | 4 | import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.interfaces.IEntityType;
|
5 | 5 | import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.DataSet;
|
| 6 | +import ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.DataSetType; |
6 | 7 | import ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.Experiment;
|
7 | 8 | import ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.ExperimentType;
|
8 | 9 | import ch.ethz.sis.openbis.generic.asapi.v3.dto.project.Project;
|
@@ -833,11 +834,25 @@ public List<DataSet> listDataSetsForSamples(
|
833 | 834 | public List<Sample> searchSampleByCode(String sampleCode);
|
834 | 835 |
|
835 | 836 | /**
|
836 |
| - * Retrieve a list of property types associated with a given entity type, e.g. a sample or experiment type |
837 |
| - * @param type entity type of sample, experiment or other openBIS entity |
| 837 | + * Retrieve a list of property types associated with a given experiment type |
| 838 | + * @param type entity type of experiment |
838 | 839 | * @return List of PropertyTypes
|
839 | 840 | */
|
840 |
| - public List<PropertyType> getPropertiesOfEntityType(IEntityType type); |
| 841 | + public List<PropertyType> getPropertiesOfExperimentType(ExperimentType type); |
| 842 | + |
| 843 | + /** |
| 844 | + * Retrieve a list of property types associated with a given sample type |
| 845 | + * @param type entity type of sample |
| 846 | + * @return List of PropertyTypes |
| 847 | + */ |
| 848 | + public List<PropertyType> getPropertiesOfSampleType(SampleType type); |
| 849 | + |
| 850 | + /** |
| 851 | + * Retrieve a list of property types associated with a given dataset type |
| 852 | + * @param type entity type of dataset |
| 853 | + * @return List of PropertyTypes |
| 854 | + */ |
| 855 | + public List<PropertyType> getPropertiesOfDataSetType(DataSetType type); |
841 | 856 |
|
842 | 857 | // /**
|
843 | 858 | // * returns file information for a given number of datasets. params should look something like
|
|
0 commit comments