Class NotificationModel

    • Constructor Detail

      • NotificationModel

        public NotificationModel()
        Deprecated.
    • Method Detail

      • allNotifications

        public Notification[] allNotifications()
                                        throws java.sql.SQLException
        Deprecated.

        allNotifications

        Returns:
        an array of Notification objects.
        Throws:
        java.sql.SQLException - if any.
      • allNotifications

        public Notification[] allNotifications​(java.lang.String order)
                                        throws java.sql.SQLException
        Deprecated.
        Return all notifications, both outstanding and acknowledged.
        Parameters:
        order - a String object.
        Returns:
        an array of Notification objects.
        Throws:
        java.sql.SQLException - if any.
      • getServiceName

        protected static java.lang.String getServiceName​(java.sql.Connection conn,
                                                         java.lang.Integer id)
        Deprecated.
      • rs2NotifyBean

        protected static Notification[] rs2NotifyBean​(java.sql.Connection conn,
                                                      java.sql.ResultSet rs)
                                               throws java.sql.SQLException
        Deprecated.
        Returns the data from the result set as an array of Notification objects. The ResultSet must be positioned before the first result before calling this method (this is the case right after calling java.sql.Connection#createStatement and friends or after calling java.sql.ResultSet#beforeFirst).
        Parameters:
        conn - a Connection object.
        rs - a ResultSet object.
        Returns:
        an array of Notification objects.
        Throws:
        java.sql.SQLException - if any.