Package com.uc4.communication.requests
Class ModifyNotificationMonitor
- java.lang.Object
-
- com.uc4.communication.requests.XMLRequest
-
- com.uc4.communication.requests.ModifyNotificationMonitor
-
public class ModifyNotificationMonitor extends XMLRequest
This class can be used to modify the monitor of a notification (Accept, Reject, Done, Yes, No, Ok).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModifyNotificationMonitor.ActionAction in a notification monitor.
-
Constructor Summary
Constructors Constructor Description ModifyNotificationMonitor(int runID, ModifyNotificationMonitor.Action action)Creates a notification action for the specified monitor.ModifyNotificationMonitor(java.util.List<java.lang.Integer> runIDs, ModifyNotificationMonitor.Action action)Creates a notification action for the specified list of monitors IDs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Creates the XML Document for the request.protected java.lang.StringgetSrc()Returns the request source.-
Methods inherited from class com.uc4.communication.requests.XMLRequest
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleContent, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
-
-
-
-
Constructor Detail
-
ModifyNotificationMonitor
public ModifyNotificationMonitor(int runID, ModifyNotificationMonitor.Action action)Creates a notification action for the specified monitor.- Parameters:
runID- RunID of the notificationaction- Action
-
ModifyNotificationMonitor
public ModifyNotificationMonitor(java.util.List<java.lang.Integer> runIDs, ModifyNotificationMonitor.Action action)Creates a notification action for the specified list of monitors IDs.- Parameters:
runIDs- RunIDs of the notificationaction- Action
-
-
Method Detail
-
getSrc
protected java.lang.String getSrc()
Description copied from class:XMLRequestReturns the request source. This method is used internally.- Specified by:
getSrcin classXMLRequest- Returns:
- Source
-
createRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Description copied from class:XMLRequestCreates the XML Document for the request. This method is used internally.- Specified by:
createRequestin classXMLRequest- Parameters:
doc- Document, used to create new Elementsrequest- Request Element - classes append information to this request elementsessionInfo- Information about the session
-
-