Class CommentUtil
java.lang.Object
com.liferay.headless.delivery.dto.v1_0.util.CommentUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommenttoComment(com.liferay.petra.function.UnsafeSupplier<com.liferay.portal.kernel.comment.Comment, Exception> addCommentUnsafeSupplier, com.liferay.portal.kernel.comment.CommentManager commentManager, com.liferay.portal.kernel.util.Portal portal) static CommenttoComment(com.liferay.portal.kernel.comment.Comment comment, com.liferay.portal.kernel.comment.CommentManager commentManager, com.liferay.portal.kernel.util.Portal portal)
-
Constructor Details
-
CommentUtil
public CommentUtil()
-
-
Method Details
-
toComment
public static Comment toComment(com.liferay.portal.kernel.comment.Comment comment, com.liferay.portal.kernel.comment.CommentManager commentManager, com.liferay.portal.kernel.util.Portal portal) throws Exception - Throws:
Exception
-
toComment
public static Comment toComment(com.liferay.petra.function.UnsafeSupplier<com.liferay.portal.kernel.comment.Comment, Exception> addCommentUnsafeSupplier, com.liferay.portal.kernel.comment.CommentManager commentManager, com.liferay.portal.kernel.util.Portal portal) throws Exception- Throws:
Exception
-