Package org.openblend.fejstbuk.domain

Examples of org.openblend.fejstbuk.domain.Comment


        addLinked(owner, q);
        return q;
    }

    public Comment addComment(Linked linked, User user, String text) {
        Comment comment = new Comment();
        comment.setText(text);
        comment.setUser(user);
        comment.setTimestamp(new Date());
        em.persist(comment);
        // linked comments
        Set<Comment> comments = linked.getComments();
        if (comments == null) {
            comments = new HashSet<Comment>();
View Full Code Here

TOP

Related Classes of org.openblend.fejstbuk.domain.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.