|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.portal.databook.shared.Feed
public class Feed
Constructor Summary | |
---|---|
Feed()
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)
To use ONLY 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)
To use for USER and ApplicationProfile 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)
for serialization purposes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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)
key
- a UUIDtype
- an instance of entityId
- the user or the app unique indentifiertimestamp
- whenvreid
- a unique vre iduri
- optional uriuriThumbnail
- the thumbnail for the link posteddescription
- optional descriptionprivacy
- the privacy level of fullName
- email
- thumbnailURL
- this is the user thumbnail urllinkTitle
- optional to be used when posting linkslinkDescription
- optional to be used when posting linkspublic 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)
key
- a UUIDtype
- an instance of entityId
- the user or the app unique indentifiertimestamp
- whenvreid
- a unique vre iduri
- optional uriuriThumbnail
- the thumbnail for the link posteddescription
- optional descriptionprivacy
- the privacy level of 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 feedpublic 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)
key
- a UUIDtype
- an instance of entityId
- the user or the app unique indentifiertimestamp
- whenvreid
- a unique vre iduri
- optional uriuriThumbnail
- the thumbnail for the link posteddescription
- optional descriptionprivacy
- the privacy level of fullName
- email
- thumbnailURL
- this is the user thumbnail urllinkTitle
- optional to be used when posting linkslinkDescription
- optional to be used when posting linksMethod Detail |
---|
public String getKey()
public void setKey(String key)
public FeedType getType()
public void setType(FeedType type)
public String getEntityId()
public void setEntityId(String entityId)
entityId
- the UserId or the AppId idpublic Date getTime()
public void setTime(Date time)
public String getVreid()
public void setVreid(String vreid)
public String getUri()
public void setUri(String uri)
public String getDescription()
public void setDescription(String description)
public PrivacyLevel getPrivacy()
public void setPrivacy(PrivacyLevel privacy)
public String getFullName()
public void setFullName(String fullName)
public String getEmail()
public void setEmail(String email)
public String getThumbnailURL()
public void setThumbnailURL(String thumbnailURL)
public String getCommentsNo()
public void setCommentsNo(String commentsNo)
public String getLikesNo()
public void setLikesNo(String likesNo)
public String getUriThumbnail()
public void setUriThumbnail(String uriThumbnail)
public String getLinkTitle()
public void setLinkTitle(String linkTitle)
public String getLinkDescription()
public void setLinkDescription(String linkDescription)
public int compareTo(Feed toCompare)
compareTo
in interface Comparable<Feed>
public String getLinkHost()
public void setLinkHost(String linkHost)
public boolean isApplicationFeed()
public void setApplicationFeed(boolean applicationFeed)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |