Liferay 7.0-ce-m6

com.liferay.portlet.messageboards.comment
Class MBDiscussionCommentImpl

java.lang.Object
  extended by com.liferay.portlet.messageboards.comment.MBCommentImpl
      extended by com.liferay.portlet.messageboards.comment.MBDiscussionCommentImpl
All Implemented Interfaces:
Comment, DiscussionComment, WorkflowableComment

public class MBDiscussionCommentImpl
extends MBCommentImpl
implements DiscussionComment, WorkflowableComment


Constructor Summary
MBDiscussionCommentImpl(MBMessage message, MBTreeWalker treeWalker, List<RatingsEntry> ratingsEntries, List<RatingsStats> ratingsStats, String pathThemeImages)
           
 
Method Summary
 DiscussionComment getParentComment()
           
 long getParentCommentId()
           
 RatingsEntry getRatingsEntry()
           
 RatingsStats getRatingsStats()
           
 List<DiscussionComment> getThreadComments()
           
 int getThreadCommentsCount()
           
 DiscussionCommentIterator getThreadDiscussionCommentIterator()
           
 DiscussionCommentIterator getThreadDiscussionCommentIterator(int from)
           
 String getTranslatedBody()
           
 boolean isRoot()
           
 
Methods inherited from class com.liferay.portlet.messageboards.comment.MBCommentImpl
getBody, getClassName, getClassPK, getCommentId, getCompanyId, getCreateDate, getGroupId, getMessage, getModelClass, getModelClassName, getModifiedDate, getPrimaryKey, getStatus, getUser, getUserId, getUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.comment.WorkflowableComment
getCompanyId, getGroupId, getPrimaryKey, getStatus
 
Methods inherited from interface com.liferay.portal.kernel.comment.Comment
getBody, getClassName, getClassPK, getCommentId, getCreateDate, getModelClass, getModelClassName, getModifiedDate, getUser, getUserId, getUserName
 

Constructor Detail

MBDiscussionCommentImpl

public MBDiscussionCommentImpl(MBMessage message,
                               MBTreeWalker treeWalker,
                               List<RatingsEntry> ratingsEntries,
                               List<RatingsStats> ratingsStats,
                               String pathThemeImages)
Method Detail

getParentComment

public DiscussionComment getParentComment()
                                   throws PortalException
Specified by:
getParentComment in interface DiscussionComment
Throws:
PortalException

getParentCommentId

public long getParentCommentId()
Specified by:
getParentCommentId in interface DiscussionComment

getRatingsEntry

public RatingsEntry getRatingsEntry()
Specified by:
getRatingsEntry in interface DiscussionComment

getRatingsStats

public RatingsStats getRatingsStats()
Specified by:
getRatingsStats in interface DiscussionComment

getThreadComments

public List<DiscussionComment> getThreadComments()
Specified by:
getThreadComments in interface DiscussionComment

getThreadCommentsCount

public int getThreadCommentsCount()
Specified by:
getThreadCommentsCount in interface DiscussionComment

getThreadDiscussionCommentIterator

public DiscussionCommentIterator getThreadDiscussionCommentIterator()
Specified by:
getThreadDiscussionCommentIterator in interface DiscussionComment

getThreadDiscussionCommentIterator

public DiscussionCommentIterator getThreadDiscussionCommentIterator(int from)
Specified by:
getThreadDiscussionCommentIterator in interface DiscussionComment

getTranslatedBody

public String getTranslatedBody()
Specified by:
getTranslatedBody in interface DiscussionComment

isRoot

public boolean isRoot()
Specified by:
isRoot in interface DiscussionComment

Liferay 7.0-ce-m6