public class Notification extends Object implements Serializable
| Constructor and Description |
|---|
Notification()
default constructor
|
Notification(String key,
NotificationType type,
String userid,
String subjectid,
Date time,
String uri,
String description,
boolean read,
String senderid,
String senderFullName,
String senderThumbnail) |
Notification(String key,
NotificationType type,
String userid,
String subjectid,
Date time,
String uri,
String description,
boolean read,
String senderid,
String senderFullName,
String senderThumbnail,
String commentKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCommentKey() |
String |
getDescription() |
String |
getKey() |
String |
getSenderFullName() |
String |
getSenderid() |
String |
getSenderThumbnail() |
String |
getSubjectid() |
Date |
getTime() |
NotificationType |
getType() |
String |
getUri() |
String |
getUserid() |
boolean |
isRead() |
void |
setCommentKey(String commentKey) |
void |
setDescription(String description) |
void |
setKey(String key) |
void |
setRead(boolean read) |
void |
setSenderFullName(String senderFullName) |
void |
setSenderid(String senderid) |
void |
setSenderThumbnail(String senderThumbnail) |
void |
setSubjectid(String subjectid) |
void |
setTime(Date time) |
void |
setType(NotificationType type) |
void |
setUri(String uri) |
void |
setUserid(String userid) |
String |
toString() |
public Notification()
public Notification(String key, NotificationType type, String userid, String subjectid, Date time, String uri, String description, boolean read, String senderid, String senderFullName, String senderThumbnail)
key - type - userid - subjectid - the subject id of this notification, if is a like on a feed then is the feedid, it is a message then is the messageid and so ontime - uri - description - read - senderid - senderFullName - senderThumbnail - public Notification(String key, NotificationType type, String userid, String subjectid, Date time, String uri, String description, boolean read, String senderid, String senderFullName, String senderThumbnail, String commentKey)
key - type - userid - subjectid - the subject id of this notification, if is a like on a feed then is the feedid, it is a message then is the messageid and so ontime - uri - description - read - senderid - senderFullName - senderThumbnail - commentKey - when a mail notification must be sent, stop the embedded discussion at this commentpublic String getKey()
public void setKey(String key)
public NotificationType getType()
public void setType(NotificationType type)
public String getUserid()
public void setUserid(String userid)
public Date getTime()
public void setTime(Date time)
public String getUri()
public void setUri(String uri)
public String getDescription()
public void setDescription(String description)
public boolean isRead()
public void setRead(boolean read)
public String getSenderid()
public void setSenderid(String senderid)
public String getSenderFullName()
public void setSenderFullName(String senderFullName)
public String getSenderThumbnail()
public void setSenderThumbnail(String senderThumbnail)
public String getSubjectid()
public void setSubjectid(String subjectid)
public String getCommentKey()
public void setCommentKey(String commentKey)
Copyright © 2019. All Rights Reserved.