Class ExperimentalDesignController
java.lang.Object
ubic.gemma.web.controller.expression.experiment.ExperimentalDesignController
@Controller
@RequestMapping("/experimentalDesign")
public class ExperimentalDesignController
extends Object
Main entry point to editing and viewing experimental designs. Note: do not use parametrized collections as
parameters for ajax methods in this class! Type information is lost during proxy creation so DWR can't figure out
what type of collection the method should take. See bug 2756. Use arrays instead.
- Author:
- keshav
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.Logprotected org.springframework.context.MessageSourceprotected MessageUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearFactorValuesNeedsAttention(Long[] fvvos, String note) AJAXvoidcreateDesignFromFile(Long eeid, String filename) AJAXvoidcreateExperimentalFactor(EntityDelegator<ExperimentalDesign> e, ExperimentalFactorValueWebUIObject efvo) Create an experimental factor.voidAJAXvoidAJAXvoiddeleteExperimentalFactors(EntityDelegator<ExperimentalDesign> e, Long[] efIds) AJAXvoidAJAXvoiddeleteFactorValues(EntityDelegator<ExperimentalFactor> e, Long[] fvIds) AJAXvoidMake an exact copy of a factorvalue and add it to the experiment.getBioMaterialCharacteristicCategories(Long experimentalDesignID) Extract just the categories from the biomaterial's characteristics.AJAXAJAXAJAXAJAXvoidmarkFactorValuesAsNeedsAttention(Long[] fvvos, String note) AJAXorg.springframework.web.servlet.ModelAndViewshowByExperimentId(Long eeId) org.springframework.web.servlet.ModelAndViewshowByExperimentShortName(String shortName) org.springframework.web.servlet.ModelAndViewvoidupdateBioMaterials(BioMaterialValueObject[] bmvos) AJAXvoidAJAXvoidAJAX
-
Field Details
-
log
protected final org.apache.commons.logging.Log log -
messageSource
@Autowired protected org.springframework.context.MessageSource messageSource -
messageUtil
-
-
Constructor Details
-
ExperimentalDesignController
public ExperimentalDesignController()
-
-
Method Details
-
createDesignFromFile
AJAX -
createExperimentalFactor
public void createExperimentalFactor(EntityDelegator<ExperimentalDesign> e, ExperimentalFactorValueWebUIObject efvo) Create an experimental factor.AJAX
- Parameters:
e- experimentalDesign to add the factor toefvo- non-null if we are pre-populating the factor values based on an existing set of BioMaterialCharacteristic, see #987
-
createFactorValue
AJAX -
createFactorValueCharacteristic
public void createFactorValueCharacteristic(EntityDelegator<FactorValue> e, CharacteristicValueObject cvo) AJAX -
deleteExperimentalFactors
AJAX -
deleteFactorValueCharacteristics
AJAX -
duplicateFactorValue
Make an exact copy of a factorvalue and add it to the experiment. As per #1160AJAX
- Parameters:
e- the experimental factorfvId- the id of the FV to duplicate
-
deleteFactorValues
AJAX -
getBioMaterials
AJAX -
getBioMaterialCharacteristicCategories
public Collection<CharacteristicValueObject> getBioMaterialCharacteristicCategories(Long experimentalDesignID) Extract just the categories from the biomaterial's characteristics.AJAX
- Returns:
- Collection of CharacteristicValueObjects but all we care about is the category
-
getExperimentalFactors
AJAX -
getFactorValues
AJAX -
getFactorValuesWithCharacteristics
public Collection<FactorValueValueObject> getFactorValuesWithCharacteristics(EntityDelegator<ExperimentalFactor> e) AJAX -
showById
@RequestMapping(value="/showExperimentalDesign.html", params="edid", method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView showById(@RequestParam("edid") Long edId) -
showByExperimentId
@RequestMapping(value="/showExperimentalDesign.html", params="eeid", method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView showByExperimentId(@RequestParam("eeid") Long eeId) -
showByExperimentShortName
@RequestMapping(value="/showExperimentalDesign.html", params="shortName", method={GET,HEAD}) public org.springframework.web.servlet.ModelAndView showByExperimentShortName(@RequestParam("shortName") String shortName) -
updateBioMaterials
AJAX -
updateExperimentalFactors
AJAX -
updateFactorValueCharacteristics
AJAX -
markFactorValuesAsNeedsAttention
AJAX -
clearFactorValuesNeedsAttention
AJAX
-