Package eu.planets_project.tb.gui.backing

Examples of eu.planets_project.tb.gui.backing.ExperimentBean.fill()


     * @return
     */
    public static ExperimentBean putExperimentIntoSessionExperimentBean( Experiment exp ) {
        ExperimentBean expBean = new ExperimentBean();
        if( exp != null ){
          expBean.fill(exp);
        }
        else{
          //in this case we're having a request for a new experiment
          resetExpTypeBeanForExperimentInSession();
        }
View Full Code Here


     * @param exp
     * @return
     */
    public static ExperimentBean putExperimentIntoRequestExperimentBean( Experiment exp ) {
        ExperimentBean expBean = new ExperimentBean();
        if( exp != null ) expBean.fill(exp);
        //Store selected Experiment Row accessible later as #{ExperimentBean}
        FacesContext ctx = FacesContext.getCurrentInstance();
        ctx.getExternalContext().getRequestMap().put(EXP_BEAN_IN_REQUEST, expBean);
        //finally update the experiment-type specific bean for this expBean
        updateExpTypeBeanForExperimentInSession(expBean.getEtype());
View Full Code Here

     * @return
     */
    public static String commandSaveExperimentAs( Experiment selectedExperiment ) {
        log.info("exp name: "+ selectedExperiment.getExperimentSetup().getBasicProperties().getExperimentName());
        ExperimentBean expBean = new ExperimentBean();
        expBean.fill(selectedExperiment);
        return commandSaveExperimentAs(expBean);
    }
   
    /**
     * @param entityID
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.