Example usage for com.liferay.portal.kernel.comment DiscussionComment getCommentId

List of usage examples for com.liferay.portal.kernel.comment DiscussionComment getCommentId

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.comment DiscussionComment getCommentId.

Prototype

public long getCommentId();

Source Link

Usage

From source file:com.liferay.comment.internal.jsonws.CommentJSONWS.java

License:Open Source License

public CommentJSONWS(DiscussionComment discussionComment) {
    setBody(discussionComment.getBody());
    setCommentId(discussionComment.getCommentId());
    setCreateDate(discussionComment.getCreateDate());
    setDescendantCommentsCount(discussionComment.getDescendantCommentsCount());
    setModifiedDate(discussionComment.getModifiedDate());
    setParentCommentId(discussionComment.getParentCommentId());
    setUserId(discussionComment.getUserId());
    setUserName(discussionComment.getUserName());
}