Package org.gcube.portal.databook.shared
Class Feed
- java.lang.Object
-
- org.gcube.portal.databook.shared.Feed
-
- All Implemented Interfaces:
Serializable,Comparable<Feed>
public class Feed extends Object implements Serializable, Comparable<Feed>
Deprecated.useorg.gcube.portal.databook.shared.Post instead- Author:
- Massimiliano Assante, ISTI-CNR
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Feed()Deprecated.default constructorFeed(String key, FeedType type, String entityId, Date time, String vreid, String uri, String uriThumbnail, String description, PrivacyLevel privacy, String fullName, String email, String thumbnailURL, String linkTitle, String linkDescription, String linkHost)Deprecated.To use ONLY for USER FeedsFeed(String key, FeedType type, String entityId, Date time, String vreid, String uri, String uriThumbnail, String description, PrivacyLevel privacy, String fullName, String email, String thumbnailURL, String linkTitle, String linkDescription, String linkHost, boolean applicationFeed)Deprecated.To use for USER and ApplicationProfile FeedsFeed(String key, FeedType type, String entityId, Date time, String vreid, String uri, String uriThumbnail, String description, PrivacyLevel privacy, String fullName, String email, String thumbnailURL, String commentsNo, String likesNo, String linkTitle, String linkDescription, String linkHost, boolean applicationFeed, boolean multiFileUpload)Deprecated.for serialization purposes
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intcompareTo(Feed toCompare)Deprecated.StringgetCommentsNo()Deprecated.StringgetDescription()Deprecated.StringgetEmail()Deprecated.StringgetEntityId()Deprecated.StringgetFullName()Deprecated.StringgetKey()Deprecated.StringgetLikesNo()Deprecated.StringgetLinkDescription()Deprecated.StringgetLinkHost()Deprecated.StringgetLinkTitle()Deprecated.PrivacyLevelgetPrivacy()Deprecated.StringgetThumbnailURL()Deprecated.DategetTime()Deprecated.FeedTypegetType()Deprecated.StringgetUri()Deprecated.StringgetUriThumbnail()Deprecated.StringgetVreid()Deprecated.booleanisApplicationFeed()Deprecated.booleanisMultiFileUpload()Deprecated.voidsetApplicationFeed(boolean applicationFeed)Deprecated.voidsetCommentsNo(String commentsNo)Deprecated.voidsetDescription(String description)Deprecated.voidsetEmail(String email)Deprecated.voidsetEntityId(String entityId)Deprecated.set the User or the App idvoidsetFullName(String fullName)Deprecated.voidsetKey(String key)Deprecated.voidsetLikesNo(String likesNo)Deprecated.voidsetLinkDescription(String linkDescription)Deprecated.voidsetLinkHost(String linkHost)Deprecated.voidsetLinkTitle(String linkTitle)Deprecated.voidsetMultiFileUpload(boolean multiFileUpload)Deprecated.voidsetPrivacy(PrivacyLevel privacy)Deprecated.voidsetThumbnailURL(String thumbnailURL)Deprecated.voidsetTime(Date time)Deprecated.voidsetType(FeedType type)Deprecated.voidsetUri(String uri)Deprecated.voidsetUriThumbnail(String uriThumbnail)Deprecated.voidsetVreid(String vreid)Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
Feed
public Feed()
Deprecated.default constructor
-
Feed
public Feed(String key, FeedType type, String entityId, Date time, String vreid, String uri, String uriThumbnail, String description, PrivacyLevel privacy, String fullName, String email, String thumbnailURL, String linkTitle, String linkDescription, String linkHost)
Deprecated.To use ONLY for USER Feeds- Parameters:
key- a UUIDtype- an instance ofFeedType entityId- the user or the app unique indentifiertime- whenvreid- a unique vre iduri- optional uriuriThumbnail- the thumbnail for the link posteddescription- optional descriptionprivacy- the privacy level ofPrivacyLevel fullName-email-thumbnailURL- this is the user thumbnail urllinkTitle- optional to be used when posting linkslinkDescription- optional to be used when posting linkslinkHost- option to be used when posting linkgs
-
Feed
public Feed(String key, FeedType type, String entityId, Date time, String vreid, String uri, String uriThumbnail, String description, PrivacyLevel privacy, String fullName, String email, String thumbnailURL, String linkTitle, String linkDescription, String linkHost, boolean applicationFeed)
Deprecated.To use for USER and ApplicationProfile Feeds- Parameters:
key- a UUIDtype- an instance ofFeedType entityId- the user or the app unique indentifiertime- whenvreid- a unique vre iduri- optional uriuriThumbnail- the thumbnail for the link posteddescription- optional descriptionprivacy- the privacy level ofPrivacyLevel fullName-email-thumbnailURL- this is the user thumbnail urllinkTitle- optional to be used when posting linkslinkDescription- optional to be used when posting linksapplicationFeed- tell if this is an application feed or a user feed
-
Feed
public Feed(String key, FeedType type, String entityId, Date time, String vreid, String uri, String uriThumbnail, String description, PrivacyLevel privacy, String fullName, String email, String thumbnailURL, String commentsNo, String likesNo, String linkTitle, String linkDescription, String linkHost, boolean applicationFeed, boolean multiFileUpload)
Deprecated.for serialization purposes- Parameters:
key- a UUIDtype- an instance ofFeedType entityId- the user or the app unique indentifiertime- whenvreid- a unique vre iduri- optional uriuriThumbnail- the thumbnail for the link posteddescription- optional descriptionprivacy- the privacy level ofPrivacyLevel fullName-email-thumbnailURL- this is the user thumbnail urllinkTitle- optional to be used when posting linkslinkDescription- optional to be used when posting links
-
-
Method Detail
-
getKey
public String getKey()
Deprecated.- Returns:
- the key
-
setKey
public void setKey(String key)
Deprecated.
-
getType
public FeedType getType()
Deprecated.
-
setType
public void setType(FeedType type)
Deprecated.
-
getEntityId
public String getEntityId()
Deprecated.- Returns:
- the User or the App id
-
setEntityId
public void setEntityId(String entityId)
Deprecated.set the User or the App id- Parameters:
entityId- the UserId or the AppId id
-
getTime
public Date getTime()
Deprecated.
-
setTime
public void setTime(Date time)
Deprecated.
-
getVreid
public String getVreid()
Deprecated.
-
setVreid
public void setVreid(String vreid)
Deprecated.
-
getUri
public String getUri()
Deprecated.
-
setUri
public void setUri(String uri)
Deprecated.
-
getDescription
public String getDescription()
Deprecated.
-
setDescription
public void setDescription(String description)
Deprecated.
-
getPrivacy
public PrivacyLevel getPrivacy()
Deprecated.
-
setPrivacy
public void setPrivacy(PrivacyLevel privacy)
Deprecated.
-
getFullName
public String getFullName()
Deprecated.
-
setFullName
public void setFullName(String fullName)
Deprecated.
-
getEmail
public String getEmail()
Deprecated.
-
setEmail
public void setEmail(String email)
Deprecated.
-
getThumbnailURL
public String getThumbnailURL()
Deprecated.
-
setThumbnailURL
public void setThumbnailURL(String thumbnailURL)
Deprecated.
-
getCommentsNo
public String getCommentsNo()
Deprecated.
-
setCommentsNo
public void setCommentsNo(String commentsNo)
Deprecated.
-
getLikesNo
public String getLikesNo()
Deprecated.
-
setLikesNo
public void setLikesNo(String likesNo)
Deprecated.
-
getUriThumbnail
public String getUriThumbnail()
Deprecated.
-
setUriThumbnail
public void setUriThumbnail(String uriThumbnail)
Deprecated.
-
getLinkTitle
public String getLinkTitle()
Deprecated.
-
setLinkTitle
public void setLinkTitle(String linkTitle)
Deprecated.
-
getLinkDescription
public String getLinkDescription()
Deprecated.
-
setLinkDescription
public void setLinkDescription(String linkDescription)
Deprecated.
-
compareTo
public int compareTo(Feed toCompare)
Deprecated.- Specified by:
compareToin interfaceComparable<Feed>
-
getLinkHost
public String getLinkHost()
Deprecated.
-
setLinkHost
public void setLinkHost(String linkHost)
Deprecated.
-
isApplicationFeed
public boolean isApplicationFeed()
Deprecated.
-
setApplicationFeed
public void setApplicationFeed(boolean applicationFeed)
Deprecated.
-
isMultiFileUpload
public boolean isMultiFileUpload()
Deprecated.
-
setMultiFileUpload
public void setMultiFileUpload(boolean multiFileUpload)
Deprecated.
-
-