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

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

Introduction

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

Prototype

public long getParentCommentId();

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());
}