Class EnhancedPost

java.lang.Object
org.gcube.portal.databook.shared.EnhancedPost
All Implemented Interfaces:
Serializable

public class EnhancedPost extends Object implements Serializable
Re-added EnhancedPost model class supporting full-text Elasticsearch index matching inside social-data-search-client under Java 17 and SG4.
Author:
Massimiliano Assante (ISTI - CNR), Alfredo Oliviero (ISTI - CNR)
See Also:
  • Constructor Details

    • EnhancedPost

      public EnhancedPost()
    • EnhancedPost

      public EnhancedPost(Post post, boolean liked, boolean isUsers)
    • EnhancedPost

      public EnhancedPost(Post post, boolean liked, boolean isUsers, ArrayList<Comment> comments)
    • EnhancedPost

      public EnhancedPost(Post post, boolean liked, boolean isUsers, ArrayList<Comment> comments, ArrayList<Attachment> attachments)
  • Method Details

    • getComments

      public ArrayList<Comment> getComments()
    • setComments

      public void setComments(ArrayList<Comment> comments)
    • getPost

      public Post getPost()
    • setPost

      public void setPost(Post post)
    • isLiked

      public boolean isLiked()
    • setLiked

      public void setLiked(boolean liked)
    • isUsers

      public boolean isUsers()
    • setUsers

      public void setUsers(boolean isUsers)
    • getAttachments

      public ArrayList<Attachment> getAttachments()
    • setAttachments

      public void setAttachments(ArrayList<Attachment> attachments)
    • toString

      public String toString()
      Overrides:
      toString in class Object