Package org.cipres.treebase.domain.study

Examples of org.cipres.treebase.domain.study.StudyStatus


    if (request.getParameter(ACTION_UPDATE) != null) {

      for (Submission submission : asbmcollection) {

        Study study = submission.getStudy();
        StudyStatus studyStatus = study.getStudyStatus();

        if (LOGGER.isDebugEnabled()) {
          LOGGER.debug("++ " + submission.getId() + "  "
            + study.getTransientDescription());
        }
View Full Code Here


      logger.info("\n\t\tRunning Test: " + testName);
    }

    // 1. create a new study:
    String newName = testName + " test " + Math.random();
    StudyStatus inprogress = getStudyStatusHome().findStatusInProgress();

    Citation c = new ArticleCitation();
    c.setTitle(newName);

    Analysis a1 = new Analysis();
View Full Code Here

      logger.info("\n\t\tRunning Test: " + testName);
    }

    // 1. create a new study:
    String newName = testName + " test " + Math.random();
    StudyStatus inprogress = getStudyStatusHome().findStatusInProgress();

    Citation c = new ArticleCitation();
    c.setTitle(newName);

    Study s = new Study();
View Full Code Here

      logger.info("\n\t\tRunning Test: " + testName);
    }

    // 1. create a new study:
    String newName = testName + " test " + Math.random();
    StudyStatus inprogress = getStudyStatusHome().findStatusInProgress();

    Citation c = new ArticleCitation();
    c.setTitle(newName);

    Study s = new Study();
View Full Code Here

      logger.info("\n\t\tRunning Test: " + testName);
    }

    // 1. create a new study:
    String newName = testName + " test " + Math.random();
    StudyStatus inprogress = getStudyStatusHome().findStatusInProgress();

    Study s = new Study();
    s.setName(newName);
    s.setStudyStatus(inprogress);
View Full Code Here

      logger.info("\n\t\tRunning Test: " + testName);
    }

    // 1. create a new study:
    String newName = testName + " test " + Math.random();
    StudyStatus inprogress = getStudyStatusHome().findStatusInProgress();

    Study s = new Study();
    s.setName(newName);
    s.setStudyStatus(inprogress);
View Full Code Here

      logger.info("\n\t\tRunning Test: " + testName);
    }

    // 1. create a new study:
    String newName = testName + " test " + Math.random();
    StudyStatus inprogress = getStudyStatusHome().findStatusInProgress();

    Citation c = new ArticleCitation();
    c.setTitle(newName);

    Study s = new Study();
View Full Code Here

      pSubmitter.addSubmission(sub);
    }

    // create a new study. Initialize bi-directional relationships.
    StudyStatus initStatus = getStudyStatusHome().findStatusInProgress();

    if (pStudy == null) {
      pStudy = new Study();
    }
    pStudy.setStudyStatus(initStatus);
View Full Code Here

        "Failed to publish a study. study is not ready for publishing for submission id:"
          + pSubmissionID);
    }

    if (study.isReady()) {
      StudyStatus status = getStudyStatusHome().findStatusPublished();
      study.setStudyStatus(status);
      Date today = new Date();
      study.setReleaseDate(today);
      study.setLastModifiedDate(today);
    }
View Full Code Here

        "Failed to make a study in progress. The study is not found for submission id:"
          + pSubmissionID);
    }

    if (!study.isInProgress()) {
      StudyStatus status = getStudyStatusHome().findStatusInProgress();
      study.setStudyStatus(status);
      study.setLastModifiedDate(new Date());
     
      updatePublishedFlag(study, false);
    }
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.study.StudyStatus

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.