Klasse Notification

Alle implementierten Schnittstellen:
HasCreatedTime, HasFrom, Serializable

public class Notification extends FacebookType implements HasCreatedTime, HasFrom
Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • getFrom

      The entity (user, page, app, etc.) that 'sent', or is the source of the notification.
      Angegeben von:
      getFrom in Schnittstelle HasFrom
      Gibt zurück:
      The entity that 'sent', or is the source of the notification.
    • setFrom

      public void setFrom(NamedFacebookType from)
      The entity (user, page, app, etc.) that 'sent', or is the source of the notification.
    • getTo

      The entity that received the notification.
      Gibt zurück:
      The entity that received the notification.
    • setTo

      public void setTo(NamedFacebookType to)
      The entity that received the notification.
    • getLink

      public String getLink()
      The URL that clicking on the notification would take someone.
      Gibt zurück:
      The URL that clicking on the notification would take someone.
    • setLink

      public void setLink(String link)
      The URL that clicking on the notification would take someone.
    • getTitle

      public String getTitle()
      The message text in the notification.
      Gibt zurück:
      The message text in the notification.
    • setTitle

      public void setTitle(String title)
      The message text in the notification.
    • getApplication

      The app responsible for generating the notification. Some of the core Facebook features have their own app that shows up here, such as likes when someone likes another person's content.
      Gibt zurück:
      The app responsible for generating the notification.
    • setApplication

      public void setApplication(Application application)
      The app responsible for generating the notification. Some of the core Facebook features have their own app that shows up here, such as likes when someone likes another person's content.
    • getUnread

      public Integer getUnread()
      Indicates that the notification is unread. Note that 'read' notifications will not be accessible.
      Gibt zurück:
      Indicates that the notification is unread.
    • setUnread

      public void setUnread(Integer unread)
      Indicates that the notification is unread. Note that 'read' notifications will not be accessible.
    • getObject

      The object (this can be a post, a photo, a comment, etc.) that was the subject of the notification.
      Gibt zurück:
      the object that was the subject of the notification.
    • setObject

      public void setObject(NamedFacebookType object)
      The object (this can be a post, a photo, a comment, etc.) that was the subject of the notification.
    • getUpdatedTime

      public Date getUpdatedTime()
      When the notification was last updated. When the notification was created.
      Gibt zurück:
      When the notification was last updated.
    • setUpdatedTime

      public void setUpdatedTime(Date updatedTime)
      When the notification was last updated. When the notification was created.
    • getCreatedTime

      public Date getCreatedTime()
      When the notification was created.
      Angegeben von:
      getCreatedTime in Schnittstelle HasCreatedTime
      Gibt zurück:
      When the notification was created.
    • setCreatedTime

      public void setCreatedTime(Date createdTime)
      When the notification was created.