Class NotificationInfo

java.lang.Object
org.bedework.client.rw.NotificationInfo
All Implemented Interfaces:
Serializable, org.bedework.util.logging.Logged

public class NotificationInfo extends Object implements org.bedework.util.logging.Logged, Serializable
Class to hold info about a user's notifications.
Version:
1.0
Author:
Mike Douglass douglm@rpi.edu
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor ) {
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.bedework.util.logging.BwLogger
     
    Get the notification.
    void
    refresh(RWClient cl, boolean force)
    Refresh the information
    int
    Get the number Processed.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bedework.util.logging.Logged

    audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
  • Constructor Details

    • NotificationInfo

      public NotificationInfo()
      Constructor ) {
  • Method Details

    • refresh

      public void refresh(RWClient cl, boolean force)
      Refresh the information
      Parameters:
      cl - the client
      force - - get it whatever the tag says ) {
    • getChanged

      public boolean getChanged()
      Returns:
      boolean
    • size

      public int size()
      Get the number Processed.
      Returns:
      size of notification table
    • getNotifications

      public Collection<NotifyResource> getNotifications()
      Get the notification.
      Returns:
      Collection of notifications.
    • getLogger

      public org.bedework.util.logging.BwLogger getLogger()
      Specified by:
      getLogger in interface org.bedework.util.logging.Logged