Class BioAssayMetadataServiceImpl
java.lang.Object
ubic.gemma.core.analysis.service.BioAssayMetadataServiceImpl
- All Implemented Interfaces:
BioAssayMetadataService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhatBioAssayMetadataService.setLibraryStrategy(ExpressionExperiment, Collection, String)will accept, for the 400 message and for callers that want to offer a menu.setExtractedMolecule(ExpressionExperiment ee, Collection<BioAssay> bioAssays, String value) SetextractedMoleculeon the given samples.setLibrarySelection(ExpressionExperiment ee, Collection<BioAssay> bioAssays, String value) SetlibrarySelectionon the given samples.setLibraryStrategy(ExpressionExperiment ee, Collection<BioAssay> bioAssays, String value) SetlibraryStrategyon the given samples.
-
Constructor Details
-
BioAssayMetadataServiceImpl
public BioAssayMetadataServiceImpl()
-
-
Method Details
-
getValidLibraryStrategies
Description copied from interface:BioAssayMetadataServiceWhatBioAssayMetadataService.setLibraryStrategy(ExpressionExperiment, Collection, String)will accept, for the 400 message and for callers that want to offer a menu.- Specified by:
getValidLibraryStrategiesin interfaceBioAssayMetadataService
-
setLibraryStrategy
@Transactional public Collection<BioAssay> setLibraryStrategy(ExpressionExperiment ee, Collection<BioAssay> bioAssays, @Nullable String value) Description copied from interface:BioAssayMetadataServiceSetlibraryStrategyon the given samples.- Specified by:
setLibraryStrategyin interfaceBioAssayMetadataService- Parameters:
ee- the experiment the samples belong to; every assay must be one of its samplesbioAssays- the samples to changevalue- aGeoLibraryStrategyconstant name,MICROARRAY_ONE_COLORorMICROARRAY_TWO_COLOR, ornullto clear the field- Returns:
- the samples actually changed; empty when every sample already held
value
-
setLibrarySelection
@Transactional public Collection<BioAssay> setLibrarySelection(ExpressionExperiment ee, Collection<BioAssay> bioAssays, @Nullable String value) Description copied from interface:BioAssayMetadataServiceSetlibrarySelectionon the given samples. Free text by design — see the class javadoc.- Specified by:
setLibrarySelectionin interfaceBioAssayMetadataService- Parameters:
value- trimmed;nullor blank clears the field- Returns:
- the samples actually changed
-
setExtractedMolecule
@Transactional public Collection<BioAssay> setExtractedMolecule(ExpressionExperiment ee, Collection<BioAssay> bioAssays, @Nullable String value) Description copied from interface:BioAssayMetadataServiceSetextractedMoleculeon the given samples.- Specified by:
setExtractedMoleculein interfaceBioAssayMetadataService- Parameters:
value- anExtractedMoleculeconstant name, ornullto clear the field- Returns:
- the samples actually changed
-