Class CommentsInfoItem

  • All Implemented Interfaces:
    java.io.Serializable

    public class CommentsInfoItem
    extends InfoItem
    See Also:
    Serialized Form
    • Constructor Detail

      • CommentsInfoItem

        public CommentsInfoItem​(int serviceId,
                                java.lang.String url,
                                java.lang.String name)
    • Method Detail

      • getCommentId

        public java.lang.String getCommentId()
      • setCommentId

        public void setCommentId​(java.lang.String commentId)
      • getCommentText

        @Nonnull
        public Description getCommentText()
      • setCommentText

        public void setCommentText​(@Nonnull
                                   Description commentText)
      • getUploaderName

        public java.lang.String getUploaderName()
      • setUploaderName

        public void setUploaderName​(java.lang.String uploaderName)
      • getUploaderAvatars

        @Nonnull
        public java.util.List<Image> getUploaderAvatars()
      • setUploaderAvatars

        public void setUploaderAvatars​(@Nonnull
                                       java.util.List<Image> uploaderAvatars)
      • getUploaderUrl

        public java.lang.String getUploaderUrl()
      • setUploaderUrl

        public void setUploaderUrl​(java.lang.String uploaderUrl)
      • getTextualUploadDate

        public java.lang.String getTextualUploadDate()
      • setTextualUploadDate

        public void setTextualUploadDate​(java.lang.String textualUploadDate)
      • getUploadDate

        @Nullable
        public DateWrapper getUploadDate()
      • setUploadDate

        public void setUploadDate​(@Nullable
                                  DateWrapper uploadDate)
      • getLikeCount

        public int getLikeCount()
        Returns:
        the comment's like count or NO_LIKE_COUNT if it is unavailable
      • setLikeCount

        public void setLikeCount​(int likeCount)
      • getTextualLikeCount

        public java.lang.String getTextualLikeCount()
      • setTextualLikeCount

        public void setTextualLikeCount​(java.lang.String textualLikeCount)
      • setHeartedByUploader

        public void setHeartedByUploader​(boolean isHeartedByUploader)
      • isHeartedByUploader

        public boolean isHeartedByUploader()
      • isPinned

        public boolean isPinned()
      • setPinned

        public void setPinned​(boolean pinned)
      • setUploaderVerified

        public void setUploaderVerified​(boolean uploaderVerified)
      • isUploaderVerified

        public boolean isUploaderVerified()
      • setStreamPosition

        public void setStreamPosition​(int streamPosition)
      • getStreamPosition

        public int getStreamPosition()
        Get the playback position of the stream to which this comment belongs. This is not supported by all services.
        Returns:
        the playback position in seconds or NO_STREAM_POSITION if not available
      • setReplyCount

        public void setReplyCount​(int replyCount)
      • getReplyCount

        public int getReplyCount()
      • setReplies

        public void setReplies​(@Nullable
                               Page replies)
      • getReplies

        @Nullable
        public Page getReplies()
      • setChannelOwner

        public void setChannelOwner​(boolean channelOwner)
      • isChannelOwner

        public boolean isChannelOwner()
      • setCreatorReply

        public void setCreatorReply​(boolean creatorReply)
      • hasCreatorReply

        public boolean hasCreatorReply()