Package org.gcube.portal.databook.shared
Class Feed
java.lang.Object
org.gcube.portal.databook.shared.Feed
- All Implemented Interfaces:
Serializable,Comparable<Feed>
Deprecated.
Represents a feed item.
- Author:
- Massimiliano Assante, ISTI-CNR
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFeed()Deprecated.Default constructor.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.Constructor for user feeds.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.Constructor for user and application profile feeds.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.Constructor for serialization purposes. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Compares this feed with another feed based on their creation time.Deprecated.Gets the number of comments on the feed.Deprecated.Gets the description or content of the feed.getEmail()Deprecated.Gets the email of the entity that created the feed.Deprecated.Gets the entity ID (user or application ID).Deprecated.Gets the full name of the entity (user/application) that created the feed.getKey()Deprecated.Gets the key of the feed.Deprecated.Gets the number of likes on the feed.Deprecated.Gets the description of a shared link.Deprecated.Gets the host of a shared link.Deprecated.Gets the title of a shared link.Deprecated.Gets the privacy level of the feed.Deprecated.Gets the URL of the thumbnail image for the entity (user/application).getTime()Deprecated.Gets the creation timestamp of the feed.getType()Deprecated.Gets the type of the feed.getUri()Deprecated.Gets the optional URI associated with the feed.Deprecated.Gets the thumbnail URI for a shared link.getVreid()Deprecated.Gets the unique identifier of the VRE associated with this feed.booleanDeprecated.Checks if this feed is an application feed.booleanDeprecated.Checks if this feed has multiple file uploads.voidsetApplicationFeed(boolean applicationFeed) Deprecated.voidsetCommentsNo(String commentsNo) Deprecated.voidsetDescription(String description) Deprecated.voidDeprecated.voidsetEntityId(String entityId) Deprecated.Sets the entity ID (user or application ID).voidsetFullName(String fullName) Deprecated.voidDeprecated.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.voidDeprecated.voidDeprecated.voidDeprecated.voidsetUriThumbnail(String uriThumbnail) Deprecated.voidDeprecated.toString()Deprecated.
-
Constructor Details
-
Feed
public Feed()Deprecated.Default constructor.
-
-
Method Details
-
getKey
Deprecated.Gets the key of the feed.- Returns:
- The key.
-
setKey
Deprecated. -
getType
Deprecated.Gets the type of the feed.- Returns:
- The feed type.
-
getEntityId
Deprecated.Gets the entity ID (user or application ID).- Returns:
- The entity ID.
-
setEntityId
Deprecated.Sets the entity ID (user or application ID).- Parameters:
entityId- The entity ID to set.
-
getTime
Deprecated.Gets the creation timestamp of the feed.- Returns:
- The creation time.
-
setTime
Deprecated. -
getVreid
Deprecated.Gets the unique identifier of the VRE associated with this feed.- Returns:
- The VRE ID.
-
setVreid
Deprecated. -
getUri
Deprecated.Gets the optional URI associated with the feed.- Returns:
- The URI.
-
setUri
Deprecated. -
getDescription
Deprecated.Gets the description or content of the feed.- Returns:
- The feed description.
-
setDescription
Deprecated. -
getPrivacy
Deprecated.Gets the privacy level of the feed.- Returns:
- The privacy level.
-
getFullName
Deprecated.Gets the full name of the entity (user/application) that created the feed.- Returns:
- The full name.
-
setFullName
Deprecated. -
getEmail
Deprecated.Gets the email of the entity that created the feed.- Returns:
- The email address.
-
setEmail
Deprecated. -
getThumbnailURL
Deprecated.Gets the URL of the thumbnail image for the entity (user/application).- Returns:
- The thumbnail URL.
-
setThumbnailURL
Deprecated. -
getCommentsNo
Deprecated.Gets the number of comments on the feed.- Returns:
- The number of comments as a String.
-
setCommentsNo
Deprecated. -
getLikesNo
Deprecated.Gets the number of likes on the feed.- Returns:
- The number of likes as a String.
-
setLikesNo
Deprecated. -
getUriThumbnail
Deprecated.Gets the thumbnail URI for a shared link.- Returns:
- The URI of the link thumbnail.
-
setUriThumbnail
Deprecated. -
getLinkTitle
Deprecated.Gets the title of a shared link.- Returns:
- The link title.
-
setLinkTitle
Deprecated. -
getLinkDescription
Deprecated.Gets the description of a shared link.- Returns:
- The link description.
-
setLinkDescription
Deprecated. -
getLinkHost
Deprecated.Gets the host of a shared link.- Returns:
- The link host.
-
setLinkHost
Deprecated. -
isApplicationFeed
public boolean isApplicationFeed()Deprecated.Checks if this feed is an application feed.- Returns:
- True if it is an application feed, false otherwise.
-
setApplicationFeed
public void setApplicationFeed(boolean applicationFeed) Deprecated. -
isMultiFileUpload
public boolean isMultiFileUpload()Deprecated.Checks if this feed has multiple file uploads.- Returns:
- True if it has multiple file uploads, false otherwise.
-
setMultiFileUpload
public void setMultiFileUpload(boolean multiFileUpload) Deprecated. -
toString
Deprecated.
-
Postinstead.