List of usage examples for com.liferay.portal.kernel.comment DiscussionComment getGroupId
public long getGroupId();
From source file:com.liferay.comment.internal.jsonws.CommentManagerJSONWS.java
License:Open Source License
public List<CommentJSONWS> getComments(long commentId, int start, int end) throws PortalException { DiscussionComment discussionComment = _commentManager.fetchDiscussionComment(getUserId(), commentId); DiscussionPermission discussionPermission = _commentManager.getDiscussionPermission(getPermissionChecker()); discussionPermission.checkViewPermission(getCompanyId(discussionComment.getGroupId()), discussionComment.getGroupId(), discussionComment.getClassName(), discussionComment.getClassPK()); return getComments(discussionComment, start, end); }