Class BioMaterialController
- java.lang.Object
-
- ubic.gemma.web.controller.expression.biomaterial.BioMaterialController
-
@Controller @RequestMapping("/bioMaterial") public class BioMaterialController extends Object
- Author:
- keshav
-
-
Constructor Summary
Constructors Constructor Description BioMaterialController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFactorValueTo(Collection<Long> bmIds, EntityDelegator<FactorValue> factorValueId)
AJAXModelAndView
annot(Long id)
Collection<AnnotationValueObject>
getAnnotation(EntityDelegator<BioMaterial> bm)
Collection<BioMaterial>
getBioMaterials(Collection<Long> ids)
Collection<BioMaterial>
getBioMaterialsForEE(Long id)
Collection<FactorValueValueObject>
getFactorValues(EntityDelegator<BioMaterial> bm)
ModelAndView
show(Long id)
-
-
-
Method Detail
-
addFactorValueTo
public void addFactorValueTo(Collection<Long> bmIds, EntityDelegator<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) public ModelAndView annot(@RequestParam("eeid") Long id)
-
getAnnotation
public Collection<AnnotationValueObject> getAnnotation(EntityDelegator<BioMaterial> bm) throws TimeoutException
- Throws:
TimeoutException
-
getBioMaterials
public Collection<BioMaterial> getBioMaterials(Collection<Long> ids)
-
getBioMaterialsForEE
public Collection<BioMaterial> getBioMaterialsForEE(Long id)
- Parameters:
id
- of experiment
-
getFactorValues
public Collection<FactorValueValueObject> getFactorValues(EntityDelegator<BioMaterial> bm)
-
show
@RequestMapping(value={"/showBioMaterial.html","/"}, method=GET) public ModelAndView show(@RequestParam("id") Long id)
-
-