added date var in ClientFeed

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@73053 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2013-04-09 15:02:55 +00:00
parent 0a356ab579
commit 439b773483
2 changed files with 12013 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
package org.gcube.portal.databook.shared;
import java.io.Serializable;
import java.util.Date;
import org.jsonmaker.gwt.client.Jsonizer;
@ -19,6 +20,7 @@ public class ClientFeed implements Serializable{
private String key;
private String type;
private String userid;
private Date time;
private String uri;
private String description;
private String fullName;
@ -31,16 +33,17 @@ public class ClientFeed implements Serializable{
public ClientFeed() {
super();
}
}
public ClientFeed(String key, String type, String userid, String uri,
String description, String fullName, String email,
public ClientFeed(String key, String type, String userid, Date time,
String uri, String description, String fullName, String email,
String thumbnailURL, String linkTitle, String linkDescription,
String linkUrlThumbnail, String linkHost) {
super();
this.key = key;
this.type = type;
this.userid = userid;
this.time = time;
this.uri = uri;
this.description = description;
this.fullName = fullName;
@ -52,6 +55,7 @@ public class ClientFeed implements Serializable{
this.linkHost = linkHost;
}
public String getKey() {
return key;
}
@ -76,6 +80,14 @@ public class ClientFeed implements Serializable{
this.userid = userid;
}
public Date getTime() {
return time;
}
public void setTime(Date time) {
this.time = time;
}
public String getUri() {
return uri;
}