Package uk.ac.bbsrc.tgac.miso.core.data.impl

Examples of uk.ac.bbsrc.tgac.miso.core.data.impl.ExperimentImpl


            poolBarcode = j.getString("value");
          }
        }
        Long platformId = Long.parseLong(platformIdStr);

        Experiment e = new ExperimentImpl();
        e.setStudy(s);
        e.setDescription(description);
        e.setAlias(alias);
        e.setTitle(title);
        e.setPlatform(requestManager.getPlatformById(platformId));
        if (poolBarcode != null) {
          e.setPool(requestManager.getPoolByBarcode(poolBarcode));
        }
        requestManager.saveExperiment(e);

      }
    }
    catch (IOException e) {
      log.debug("Failed", e);
      return JSONUtils.SimpleJSONError("Failed: " + e.getMessage());
    }
    return JSONUtils.JSONObjectResponse("studyId", studyId);
  }
View Full Code Here

TOP

Related Classes of uk.ac.bbsrc.tgac.miso.core.data.impl.ExperimentImpl

Copyright © 2018 www.massapicom. 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.