Examples of containsComment()


Examples of eu.planets_project.tb.impl.CommentManagerImpl.containsComment()

      //Comment com1 = new Comment(1, "setup");
      //System.out.println("Contains? "+manager.containsComment(1));
      commentID1 = dao_r.persistComment(com1);
      CommentImpl find_com1 = dao_r.findComment(commentID1);
      manager.registerComment(find_com1, find_com1.getExperimentID(),find_com1.getExperimentPhaseID());
      System.out.println("XXXContains? "+manager.containsComment(commentID1));
     
      //new root comment
      CommentImpl com2 = (CommentImpl)manager.getNewRootComment(2, "evaluation");
      commentID2 = dao_r.persistComment(com2);
      CommentImpl find_com2 = dao_r.findComment(commentID2);
View Full Code Here

Examples of eu.planets_project.tb.impl.CommentManagerImpl.containsComment()

      //new root comment
      CommentImpl com2 = (CommentImpl)manager.getNewRootComment(2, "evaluation");
      commentID2 = dao_r.persistComment(com2);
      CommentImpl find_com2 = dao_r.findComment(commentID2);
      manager.registerComment(find_com2, find_com2.getExperimentID(),find_com2.getExperimentPhaseID());
      System.out.println("XXXContains? "+manager.containsComment(commentID2));
     
     
    } catch (NamingException e) {
      //TODO integrate message into logging mechanism
      System.out.println("Setup: Exception in while setUp: "+e.toString());
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.