com.liferay.portal.comment.display.context
Class DefaultCommentSectionDisplayContext
java.lang.Object
com.liferay.portal.comment.display.context.BaseCommentDisplayContext
com.liferay.portal.comment.display.context.DefaultCommentSectionDisplayContext
- All Implemented Interfaces:
- com.liferay.portal.kernel.comment.display.context.CommentDisplayContext, com.liferay.portal.kernel.comment.display.context.CommentSectionDisplayContext
public class DefaultCommentSectionDisplayContext
- extends BaseCommentDisplayContext
- implements com.liferay.portal.kernel.comment.display.context.CommentSectionDisplayContext
| 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.display.context.CommentDisplayContext |
isReplyButtonVisible |
DefaultCommentSectionDisplayContext
public DefaultCommentSectionDisplayContext(DiscussionRequestHelper discussionRequestHelper,
DiscussionTaglibHelper discussionTaglibHelper,
com.liferay.portal.kernel.comment.DiscussionPermission discussionPermission,
com.liferay.portal.kernel.comment.Discussion discussion)
isControlsVisible
public boolean isControlsVisible()
throws com.liferay.portal.kernel.exception.PortalException
- Specified by:
isControlsVisible in interface com.liferay.portal.kernel.comment.display.context.CommentSectionDisplayContext
- Throws:
com.liferay.portal.kernel.exception.PortalException
isDiscussionVisible
public boolean isDiscussionVisible()
throws com.liferay.portal.kernel.exception.PortalException
- Specified by:
isDiscussionVisible in interface com.liferay.portal.kernel.comment.display.context.CommentSectionDisplayContext
- Throws:
com.liferay.portal.kernel.exception.PortalException
isMessageThreadVisible
public boolean isMessageThreadVisible()
- Specified by:
isMessageThreadVisible in interface com.liferay.portal.kernel.comment.display.context.CommentSectionDisplayContext
getThemeDisplay
protected com.liferay.portal.kernel.theme.ThemeDisplay getThemeDisplay()
- Specified by:
getThemeDisplay in class BaseCommentDisplayContext
hasViewPermission
protected boolean hasViewPermission()
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException