Package org.gcube.portal.databook.shared
Class EnhancedFeed
- java.lang.Object
-
- org.gcube.portal.databook.shared.EnhancedFeed
-
- All Implemented Interfaces:
Serializable
public class EnhancedFeed extends Object implements Serializable
- Author:
- massi This class contains addtional user related information about a Feed e.g. if this user has liked it
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnhancedFeed()EnhancedFeed(Feed feed, boolean liked, boolean isUsers)EnhancedFeed(Feed feed, boolean liked, boolean isUsers, ArrayList<Comment> comments)EnhancedFeed(Feed feed, boolean liked, boolean isUsers, ArrayList<Comment> comments, ArrayList<Attachment> attachments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<Attachment>getAttachments()ArrayList<Comment>getComments()FeedgetFeed()booleanisLiked()booleanisUsers()voidsetAttachments(ArrayList<Attachment> attachments)voidsetComments(ArrayList<Comment> comments)voidsetFeed(Feed feed)voidsetLiked(boolean liked)voidsetUsers(boolean isUsers)StringtoString()
-
-
-
Constructor Detail
-
EnhancedFeed
public EnhancedFeed()
-
EnhancedFeed
public EnhancedFeed(Feed feed, boolean liked, boolean isUsers)
-
EnhancedFeed
public EnhancedFeed(Feed feed, boolean liked, boolean isUsers, ArrayList<Comment> comments)
-
EnhancedFeed
public EnhancedFeed(Feed feed, boolean liked, boolean isUsers, ArrayList<Comment> comments, ArrayList<Attachment> attachments)
-
-
Method Detail
-
getFeed
public Feed getFeed()
-
setFeed
public void setFeed(Feed feed)
-
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)
-
-