updated client feed, added list of attachments

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122274 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-01-18 08:54:42 +00:00
parent 932f323f14
commit 75217b2afc
1 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ public class ClientFeed implements Serializable {
private String linkDescription; private String linkDescription;
private String linkUrlThumbnail; private String linkUrlThumbnail;
private String linkHost; private String linkHost;
private List<String> attachments; private List<Attachment> attachments;
public ClientFeed() { public ClientFeed() {
super(); super();
@ -39,7 +39,7 @@ public class ClientFeed implements Serializable {
public ClientFeed(String key, String type, String userid, Date time, public ClientFeed(String key, String type, String userid, Date time,
String uri, String description, String fullName, String email, String uri, String description, String fullName, String email,
String thumbnailURL, String linkTitle, String linkDescription, String thumbnailURL, String linkTitle, String linkDescription,
String linkUrlThumbnail, String linkHost, List<String> attachments) { String linkUrlThumbnail, String linkHost, List<Attachment> attachments) {
super(); super();
this.key = key; this.key = key;
this.type = type; this.type = type;
@ -162,11 +162,11 @@ public class ClientFeed implements Serializable {
} }
public List<String> getAttachments() { public List<Attachment> getAttachments() {
return attachments; return attachments;
} }
public void setAttachments(List<String> attachments) { public void setAttachments(List<Attachment> attachments) {
this.attachments = attachments; this.attachments = attachments;
} }