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
ConstructorsModifierConstructorDescriptionprotectedNotificationSettings(com.uc4.util.XMLDocument doc) Creates aNotificationSettingsusing the specified XMLDocument -
Method Summary
Modifier and TypeMethodDescriptionReturns the message of this Notification.voidsetAttachFile(String attachFile) Sets the file attachment.voidsetAttachReportsFrom(String attachReportsFrom) Sets email attachments.voidsetMessage(String message) Sets the text message for the Notification.voidSets the source of the files which should be attached to the mail.voidsetSubject(String subject) Sets the subject text for the mail.protected voidStores the all parameters of this tab
-
Constructor Details
-
NotificationSettings
protected NotificationSettings(com.uc4.util.XMLDocument doc) Creates aNotificationSettingsusing 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
-