Class CommentUtil

java.lang.Object
com.liferay.headless.delivery.dto.v1_0.util.CommentUtil

public class CommentUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    static Comment
    toComment(com.liferay.portal.kernel.comment.Comment comment, com.liferay.portal.kernel.comment.CommentManager commentManager, com.liferay.portal.kernel.util.Portal portal)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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