java.lang.Object
com.liferay.headless.delivery.dto.v1_0.Comment
All Implemented Interfaces:
Serializable

@Generated("") public class Comment extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • actions

      protected Map<String,Map<String,String>> actions
    • creator

      protected Creator creator
    • dateCreated

      protected Date dateCreated
    • dateModified

      protected Date dateModified
    • externalReferenceCode

      protected String externalReferenceCode
    • id

      protected Long id
    • numberOfComments

      protected Integer numberOfComments
    • parentCommentId

      protected Long parentCommentId
    • text

      protected String text
    • xClassName

      public String xClassName
  • Constructor Details

    • Comment

      public Comment()
  • Method Details

    • toDTO

      public static Comment toDTO(String json)
    • unsafeToDTO

      public static Comment unsafeToDTO(String json)
    • getActions

      @Valid public @Valid Map<String,Map<String,String>> getActions()
    • setActions

      public void setActions(Map<String,Map<String,String>> actions)
    • setActions

      public void setActions(com.liferay.petra.function.UnsafeSupplier<Map<String,Map<String,String>>,Exception> actionsUnsafeSupplier)
    • getCreator

      @Valid public @Valid Creator getCreator()
    • setCreator

      public void setCreator(Creator creator)
    • setCreator

      public void setCreator(com.liferay.petra.function.UnsafeSupplier<Creator,Exception> creatorUnsafeSupplier)
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • setDateCreated

      public void setDateCreated(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateCreatedUnsafeSupplier)
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • setDateModified

      public void setDateModified(com.liferay.petra.function.UnsafeSupplier<Date,Exception> dateModifiedUnsafeSupplier)
    • getExternalReferenceCode

      public String getExternalReferenceCode()
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
    • setExternalReferenceCode

      public void setExternalReferenceCode(com.liferay.petra.function.UnsafeSupplier<String,Exception> externalReferenceCodeUnsafeSupplier)
    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • setId

      public void setId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> idUnsafeSupplier)
    • getNumberOfComments

      public Integer getNumberOfComments()
    • setNumberOfComments

      public void setNumberOfComments(Integer numberOfComments)
    • setNumberOfComments

      public void setNumberOfComments(com.liferay.petra.function.UnsafeSupplier<Integer,Exception> numberOfCommentsUnsafeSupplier)
    • getParentCommentId

      public Long getParentCommentId()
    • setParentCommentId

      public void setParentCommentId(Long parentCommentId)
    • setParentCommentId

      public void setParentCommentId(com.liferay.petra.function.UnsafeSupplier<Long,Exception> parentCommentIdUnsafeSupplier)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • setText

      public void setText(com.liferay.petra.function.UnsafeSupplier<String,Exception> textUnsafeSupplier)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object