Examples of StudyImpl


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

        studyType = j.getString("value");
      }
    }
    try {
      Project p = requestManager.getProjectById(projectId);
      Study s = new StudyImpl();
      s.setProject(p);
      s.setAlias(p.getAlias());
      s.setDescription(studyDescription);
      s.setSecurityProfile(p.getSecurityProfile());
      s.setStudyType(studyType);

      requestManager.saveStudy(s);

      sb.append("<a  class=\"dashboardresult\" href='/miso/study/" + s.getId() + "' target='_blank'><div onmouseover=\"this.className='dashboardhighlight ui-corner-all'\" onmouseout=\"this.className='dashboard ui-corner-all'\"  class='dashboard ui-corner-all' >New Study Added:<br/>");
      sb.append("Study ID: " + s.getId() + "<br/>");
      sb.append("Study Name: <b>" + s.getName() + "</b><br/>");
      sb.append("Study Alias: <b>" + s.getAlias() + "</b><br/>");
      sb.append("Study Description: <b>" + s.getDescription() + "</b></div></a><br/><hr/><br/>");
    }
    catch (IOException e) {
      log.debug("Failed", e);
      return JSONUtils.SimpleJSONError("Failed: " + e.getMessage());
    }
View Full Code Here

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

      }
    }

    try {
      Project p = requestManager.getProjectById(projectId);
      Study s = new StudyImpl();
      s.setProject(p);
      s.setAlias(p.getAlias());
      s.setDescription(p.getDescription());
      s.setSecurityProfile(p.getSecurityProfile());
      s.setStudyType(studyType);
      requestManager.saveStudy(s);

      studyId = String.valueOf(s.getId());

      for (Long i : ids) {
        String title = null;
        String alias = null;
        String description = null;
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.