Interface MetadataEntryRepositoryCustom

    • Method Detail

      • getMetadataForProjectSamples

        java.util.Map<java.lang.Long,​java.util.Set<MetadataEntry>> getMetadataForProjectSamples​(Project project,
                                                                                                      java.util.List<java.lang.Long> sampleIds,
                                                                                                      java.util.List<MetadataTemplateField> fields)
        Get all the MetadataEntry for a set of samples in a given project. This will return a Map of the Sample IDs associated with a Set of MetadataEntry
        Parameters:
        project - the Project to get metadata for
        sampleIds - the Sample ids to get metadata for
        fields - the fields to get metadata from in the project. This must not be empty.
        Returns:
        The Map of the Project's metadata