Package org.netxms.client
Class UserAgentNotification
java.lang.Object
org.netxms.client.UserAgentNotification
User support application notification
-
Constructor Summary
ConstructorDescriptionUserAgentNotification
(NXCPMessage msg, long baseId, NXCSession session) Create notification object from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionint
Get notification end time.long
getId()
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.boolean
Check if this notification was recalled.boolean
Check if thus notification should be shown every startup
-
Constructor Details
-
UserAgentNotification
Create notification object from NXCP message.- Parameters:
msg
- NXCP messagebaseId
- base field ID for this objectsession
- associated client session
-
-
Method Details
-
getId
public long getId()Get notification ID.- Returns:
- notification ID
-
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
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
Get notification start time.- Returns:
- notification start time
-
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
-
getCreationTime
- Returns:
- the creationTime
-
getCreatedBy
public int getCreatedBy()- Returns:
- the createdBy
-