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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Collection<AnnotationValueObject>
getAnnotation(EntityDelegator<BioMaterial> bm)
Collection<BioMaterial>
getBioMaterials(Collection<Long> ids)
Collection<BioMaterial>
getBioMaterialsForEE(Long id)
Collection<FactorValueValueObject>
getFactorValues(EntityDelegator<BioMaterial> bm)
void
setBioMaterialService(BioMaterialService bioMaterialService)
void
setExpressionExperimentService(ExpressionExperimentService expressionExperimentService)
void
setFactorValueService(FactorValueService factorValueService)
void
setOntologyService(OntologyService ontologyService)
ModelAndView
show(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
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("/annotate.html") public ModelAndView annot(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
getAnnotation
public Collection<AnnotationValueObject> getAnnotation(EntityDelegator<BioMaterial> bm)
-
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)
-
setBioMaterialService
public void setBioMaterialService(BioMaterialService bioMaterialService)
-
setExpressionExperimentService
public void setExpressionExperimentService(ExpressionExperimentService expressionExperimentService)
-
setFactorValueService
public void setFactorValueService(FactorValueService factorValueService)
- Parameters:
factorValueService
- the factorValueService to set
-
setOntologyService
public void setOntologyService(OntologyService ontologyService)
-
show
@RequestMapping({"/showBioMaterial.html","/"}) public ModelAndView show(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-