Example usage for com.liferay.portal.kernel.comment CommentManagerUtil fetchComment

List of usage examples for com.liferay.portal.kernel.comment CommentManagerUtil fetchComment

Introduction

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

Prototype

public static Comment fetchComment(long commentId) 

Source Link

Usage

From source file:com.liferay.comment.web.internal.asset.CommentAssetRenderer.java

License:Open Source License

@Override
public boolean include(HttpServletRequest request, HttpServletResponse response, String template)
        throws Exception {

    Comment comment = CommentManagerUtil.fetchComment(_workflowableComment.getCommentId());

    request.setAttribute(WebKeys.COMMENT, comment);

    return super.include(request, response, template);
}