Package com.uc4.api.objects
Class NotificationSettings
java.lang.Object
com.uc4.api.objects.NotificationSettings
This class represents the "Notification" tab within a Notification object.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NotificationSettings
(com.uc4.util.XMLDocument doc) Creates aNotificationSettings
using the specified XMLDocument -
Method Summary
Modifier and TypeMethodDescriptionReturns the message of this Notification.void
setAttachFile
(String attachFile) Sets the file attachment.void
setAttachReportsFrom
(String attachReportsFrom) Sets email attachments.void
setMessage
(String message) Sets the text message for the Notification.void
Sets the source of the files which should be attached to the mail.void
setSubject
(String subject) Sets the subject text for the mail.protected void
Stores the all parameters of this tab
-
Constructor Details
-
NotificationSettings
protected NotificationSettings(com.uc4.util.XMLDocument doc) Creates aNotificationSettings
using the specified XMLDocument- Parameters:
doc
- XML document
-
-
Method Details
-
store
Stores the all parameters of this tab- Parameters:
doc
- XML Documentrequest
- Parent Element
-
getSource
- Returns:
- Source of the files which should be attached to the mail.
-
setSource
Sets the source of the files which should be attached to the mail.- Parameters:
source
- Source of the Report files
-
setMessage
Sets the text message for the Notification.- Parameters:
message
- Message
-
getAttachReportsFrom
- Returns:
- Attach Reports from
-
setAttachReportsFrom
Sets email attachments.- Parameters:
attachReportsFrom
- Max. 32 characters
-
getAttachFile
- Returns:
- File attachment
-
setAttachFile
Sets the file attachment.- Parameters:
attachFile
- File name, Max 1024 characters
-
getSubject
- Returns:
- Subject text
-
setSubject
Sets the subject text for the mail.- Parameters:
subject
- Subject
-
getMessage
Returns the message of this Notification.- Returns:
- Message
-