Class BioMaterialController

java.lang.Object
ubic.gemma.web.controller.expression.biomaterial.BioMaterialController

@Controller @RequestMapping("/bioMaterial") public class BioMaterialController extends Object
Author:
keshav
  • 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

      @RequestMapping(value={"/showBioMaterial.html","/"}, method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView show(@RequestParam("id") Long id, @RequestParam(value="dimension",required=false) Long dimensionId)
    • createBioMaterialTag

      public void createBioMaterialTag(ubic.gemma.model.common.description.Characteristic vc, Long bmId)
      Add a characteristic to a sample.

      AJAX

    • removeBioMaterialTag

      public void removeBioMaterialTag(Collection<Long> characterIds, Long bmId)
      Remove a number of characteristics from a sample.

      AJAX