return "selectDelete";
}
public String approveExperiment() {
Experiment exp = (Experiment) this.getToAppExp_data().getRowData();
TestbedManager testbedMan = (TestbedManager) JSFUtil.getManagedObject("TestbedManager");
exp.getExperimentApproval().setState(Experiment.STATE_COMPLETED);
exp.getExperimentExecution().setState(Experiment.STATE_IN_PROGRESS);
testbedMan.updateExperiment(exp);
//send email to helpdesk to inform them of approval
PlanetsMailMessage mailer = new PlanetsMailMessage();
mailer.setSender("noreply@planets-project.eu");
mailer.setSubject("Testbed Experiment Deleted");
mailer.setBody("Experiment "+exp.getExperimentSetup().getBasicProperties().getExperimentName()+" approved.");