public class MBDiscussionCommentImpl extends MBCommentImpl implements com.liferay.portal.kernel.comment.DiscussionComment, com.liferay.portal.kernel.comment.WorkflowableComment
Constructor and Description |
---|
MBDiscussionCommentImpl(com.liferay.message.boards.kernel.model.MBMessage message,
com.liferay.message.boards.kernel.model.MBTreeWalker treeWalker,
java.util.List<com.liferay.ratings.kernel.model.RatingsEntry> ratingsEntries,
java.util.List<com.liferay.ratings.kernel.model.RatingsStats> ratingsStats) |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.comment.DiscussionComment |
getParentComment() |
com.liferay.ratings.kernel.model.RatingsEntry |
getRatingsEntry() |
com.liferay.ratings.kernel.model.RatingsStats |
getRatingsStats() |
java.util.List<com.liferay.portal.kernel.comment.DiscussionComment> |
getThreadComments() |
int |
getThreadCommentsCount() |
com.liferay.portal.kernel.comment.DiscussionCommentIterator |
getThreadDiscussionCommentIterator() |
com.liferay.portal.kernel.comment.DiscussionCommentIterator |
getThreadDiscussionCommentIterator(int from) |
boolean |
isRoot() |
getBody, getClassName, getClassPK, getCommentId, getCompanyId, getCreateDate, getGroupId, getMessage, getModelClass, getModelClassName, getModifiedDate, getParentCommentId, getPrimaryKey, getStatus, getTranslatedBody, getUser, getUserId, getUserName, getUuid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MBDiscussionCommentImpl(com.liferay.message.boards.kernel.model.MBMessage message, com.liferay.message.boards.kernel.model.MBTreeWalker treeWalker, java.util.List<com.liferay.ratings.kernel.model.RatingsEntry> ratingsEntries, java.util.List<com.liferay.ratings.kernel.model.RatingsStats> ratingsStats)
public com.liferay.portal.kernel.comment.DiscussionComment getParentComment() throws com.liferay.portal.kernel.exception.PortalException
getParentComment
in interface com.liferay.portal.kernel.comment.DiscussionComment
com.liferay.portal.kernel.exception.PortalException
public com.liferay.ratings.kernel.model.RatingsEntry getRatingsEntry()
getRatingsEntry
in interface com.liferay.portal.kernel.comment.DiscussionComment
public com.liferay.ratings.kernel.model.RatingsStats getRatingsStats()
getRatingsStats
in interface com.liferay.portal.kernel.comment.DiscussionComment
public java.util.List<com.liferay.portal.kernel.comment.DiscussionComment> getThreadComments()
getThreadComments
in interface com.liferay.portal.kernel.comment.DiscussionComment
public int getThreadCommentsCount()
getThreadCommentsCount
in interface com.liferay.portal.kernel.comment.DiscussionComment
public com.liferay.portal.kernel.comment.DiscussionCommentIterator getThreadDiscussionCommentIterator()
getThreadDiscussionCommentIterator
in interface com.liferay.portal.kernel.comment.DiscussionComment
public com.liferay.portal.kernel.comment.DiscussionCommentIterator getThreadDiscussionCommentIterator(int from)
getThreadDiscussionCommentIterator
in interface com.liferay.portal.kernel.comment.DiscussionComment
public boolean isRoot()
isRoot
in interface com.liferay.portal.kernel.comment.Comment
isRoot
in class MBCommentImpl