Class UserAgentNotification


  • public class UserAgentNotification
    extends Object
    User agent notification
    • Constructor Detail

      • UserAgentNotification

        public UserAgentNotification​(org.netxms.base.NXCPMessage msg,
                                     long baseId,
                                     NXCSession session)
        Create notification object from NXCP message.
        Parameters:
        msg - NXCP message
        baseId - base field ID for this object
        session - associated client session
    • Method Detail

      • getId

        public long getId()
        Get notification ID.
        Returns:
        notification ID
      • getMessage

        public String getMessage()
        Get notification message.
        Returns:
        notification message
      • getObjects

        public long[] getObjects()
        Get list of object identifiers where this notification was sent.
        Returns:
        list of object identifiers where this notification was sent
      • getObjectNames

        public String getObjectNames()
        Get list of objects where this notification was sent as comma separated list.
        Returns:
        list of objects where this notification was sent as comma separated list
      • getStartTime

        public Date getStartTime()
        Get notification start time.
        Returns:
        notification start time
      • getEndTime

        public Date getEndTime()
        Get notification end time.
        Returns:
        notification end time
      • isRecalled

        public boolean isRecalled()
        Check if this notification was recalled.
        Returns:
        true if this notification was recalled.
      • isStartupNotification

        public boolean isStartupNotification()
        Check if thus notification should be shown every startup
        Returns:
        true if notification should be shown every startup