Class Notification

    • Constructor Detail

      • Notification

        public Notification()
        default constructor
      • 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)
        Parameters:
        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 on
        time -
        uri -
        description -
        read -
        senderid -
        senderFullName -
        senderThumbnail -
      • 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,
                            String commentKey)
        Parameters:
        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 on
        time -
        uri -
        description -
        read -
        senderid -
        senderFullName -
        senderThumbnail -
        commentKey - when a mail notification must be sent, stop the embedded discussion at this comment
    • Method Detail

      • getKey

        public String getKey()
        Returns:
        .
      • setKey

        public void setKey​(String key)
      • getUserid

        public String getUserid()
      • setUserid

        public void setUserid​(String userid)
      • getTime

        public Date getTime()
      • setTime

        public void setTime​(Date time)
      • getUri

        public String getUri()
      • setUri

        public void setUri​(String uri)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • isRead

        public boolean isRead()
      • setRead

        public void setRead​(boolean read)
      • getSenderid

        public String getSenderid()
      • setSenderid

        public void setSenderid​(String senderid)
      • getSenderFullName

        public String getSenderFullName()
      • setSenderFullName

        public void setSenderFullName​(String senderFullName)
      • getSenderThumbnail

        public String getSenderThumbnail()
      • setSenderThumbnail

        public void setSenderThumbnail​(String senderThumbnail)
      • getSubjectid

        public String getSubjectid()
      • setSubjectid

        public void setSubjectid​(String subjectid)
      • getCommentKey

        public String getCommentKey()
      • setCommentKey

        public void setCommentKey​(String commentKey)