Exemple #1
0
  /**
   * Number of new notifications.
   *
   * @return the long
   */
  public long numberOfNewNotifications() {

    return Notification.count("owner = ? and isNew = ?", this, true);
  }