Package org.netxms.client
Class UserAgentNotification
java.lang.Object
org.netxms.client.UserAgentNotification
User support application notification
- 
Constructor SummaryConstructorsConstructorDescriptionUserAgentNotification(NXCPMessage msg, long baseId, NXCSession session) Create notification object from NXCP message.
- 
Method SummaryModifier and TypeMethodDescriptionintGet notification end time.longgetId()Get notification ID.Get notification message.Get list of objects where this notification was sent as comma separated list.long[]Get list of object identifiers where this notification was sent.Get notification start time.booleanCheck if this notification was recalled.booleanCheck if thus notification should be shown every startup
- 
Constructor Details- 
UserAgentNotificationCreate notification object from NXCP message.- Parameters:
- msg- NXCP message
- baseId- base field ID for this object
- session- associated client session
 
 
- 
- 
Method Details- 
getIdpublic long getId()Get notification ID.- Returns:
- notification ID
 
- 
getMessageGet notification message.- Returns:
- notification message
 
- 
getObjectspublic long[] getObjects()Get list of object identifiers where this notification was sent.- Returns:
- list of object identifiers where this notification was sent
 
- 
getObjectNamesGet 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
 
- 
getStartTimeGet notification start time.- Returns:
- notification start time
 
- 
getEndTimeGet notification end time.- Returns:
- notification end time
 
- 
isRecalledpublic boolean isRecalled()Check if this notification was recalled.- Returns:
- true if this notification was recalled.
 
- 
isStartupNotificationpublic boolean isStartupNotification()Check if thus notification should be shown every startup- Returns:
- true if notification should be shown every startup
 
- 
getCreationTime- Returns:
- the creationTime
 
- 
getCreatedBypublic int getCreatedBy()- Returns:
- the createdBy
 
 
-