Package se.gu.fire.core

Examples of se.gu.fire.core.Comment


                    new FacesMessage(FacesMessage.SEVERITY_ERROR,
                        "Empty comments not allowed", null));
            return;
        }

        sub.addComments(new Comment(user, newCommentMap.get(sub.getId())));
        subMan.update(sub);
        getNewCommentMap().remove(sub.getId());
    }
View Full Code Here


        em.getTransaction().begin();
        sm.create(sub);
        em.getTransaction().commit();
        assertEquals(SubmissionStatus.New, sm.getAssignmentStatus(assign, group));

        Comment com = new Comment(u2, "Total katastrof! Bara Christopher kan rädda dig nu");

        sub.addComments(com);
        sub.addFile(new StoredFile("Hacker.java", text, "text/plain"));
        Submission sub2 = sm.read(sub.getId());
View Full Code Here

TOP

Related Classes of se.gu.fire.core.Comment

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.