Class BioMaterialController
java.lang.Object
ubic.gemma.web.controller.expression.biomaterial.BioMaterialController
- Author:
- keshav
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFactorValueTo(Collection<Long> bmIds, EntityDelegator<ubic.gemma.model.expression.experiment.FactorValue> factorValueId) AJAXorg.springframework.web.servlet.ModelAndViewvoidcreateBioMaterialTag(ubic.gemma.model.common.description.Characteristic vc, Long bmId) Add a characteristic to a sample.Collection<ubic.gemma.model.common.description.AnnotationValueObject> getAnnotation(EntityDelegator<ubic.gemma.model.expression.biomaterial.BioMaterial> bm) Collection<ubic.gemma.model.expression.biomaterial.BioMaterial> getBioMaterials(Collection<Long> ids) Collection<ubic.gemma.model.expression.biomaterial.BioMaterial> Collection<ubic.gemma.model.expression.experiment.FactorValueValueObject> getFactorValues(EntityDelegator<ubic.gemma.model.expression.biomaterial.BioMaterial> bm) voidremoveBioMaterialTag(Collection<Long> characterIds, Long bmId) Remove a number of characteristics from a sample.org.springframework.web.servlet.ModelAndView
-
Constructor Details
-
BioMaterialController
public BioMaterialController()
-
-
Method Details
-
addFactorValueTo
public void addFactorValueTo(Collection<Long> bmIds, EntityDelegator<ubic.gemma.model.expression.experiment.FactorValue> factorValueId) AJAX- Parameters:
factorValueId- given a collection of biomaterial ids, and a factor value id will add that factor value to all of the biomaterials in the collection. If the factor is already defined for one of the biomaterials will remove the previous one and add the new one.
-
annot
@RequestMapping(value="/annotate.html", method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView annot(@RequestParam("eeid") Long id) -
getAnnotation
public Collection<ubic.gemma.model.common.description.AnnotationValueObject> getAnnotation(EntityDelegator<ubic.gemma.model.expression.biomaterial.BioMaterial> bm) -
getBioMaterials
public Collection<ubic.gemma.model.expression.biomaterial.BioMaterial> getBioMaterials(Collection<Long> ids) -
getBioMaterialsForEE
public Collection<ubic.gemma.model.expression.biomaterial.BioMaterial> getBioMaterialsForEE(Long id) - Parameters:
id- of experiment
-
getFactorValues
public Collection<ubic.gemma.model.expression.experiment.FactorValueValueObject> getFactorValues(EntityDelegator<ubic.gemma.model.expression.biomaterial.BioMaterial> bm) -
show
-
createBioMaterialTag
Add a characteristic to a sample.AJAX
-
removeBioMaterialTag
Remove a number of characteristics from a sample.AJAX
-