Package com.uc4.api.objects
Class NotificationSettings
- java.lang.Object
-
- com.uc4.api.objects.NotificationSettings
-
public class NotificationSettings extends java.lang.ObjectThis class represents the "Notification" tab within a Notification object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotificationSettings.ReportSourceReport source.
-
Constructor Summary
Constructors Modifier Constructor Description protectedNotificationSettings(com.uc4.util.XMLDocument doc)Creates aNotificationSettingsusing the specified XMLDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAttachFile()java.lang.StringgetAttachReportsFrom()java.lang.StringgetMessage()Returns the message of this Notification.NotificationSettings.ReportSourcegetSource()java.lang.StringgetSubject()voidsetAttachFile(java.lang.String attachFile)Sets the file attachment.voidsetAttachReportsFrom(java.lang.String attachReportsFrom)Sets email attachments.voidsetMessage(java.lang.String message)Sets the text message for the Notification.voidsetSource(NotificationSettings.ReportSource source)Sets the source of the files which should be attached to the mail.voidsetSubject(java.lang.String subject)Sets the subject text for the mail.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)Stores the all parameters of this tab
-
-
-
Method Detail
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)Stores the all parameters of this tab- Parameters:
doc- XML Documentrequest- Parent Element
-
getSource
public NotificationSettings.ReportSource getSource()
- Returns:
- Source of the files which should be attached to the mail.
-
setSource
public void setSource(NotificationSettings.ReportSource source)
Sets the source of the files which should be attached to the mail.- Parameters:
source- Source of the Report files
-
setMessage
public void setMessage(java.lang.String message)
Sets the text message for the Notification.- Parameters:
message- Message
-
getAttachReportsFrom
public java.lang.String getAttachReportsFrom()
- Returns:
- Attach Reports from
-
setAttachReportsFrom
public void setAttachReportsFrom(java.lang.String attachReportsFrom)
Sets email attachments.- Parameters:
attachReportsFrom- Max. 32 characters
-
getAttachFile
public java.lang.String getAttachFile()
- Returns:
- File attachment
-
setAttachFile
public void setAttachFile(java.lang.String attachFile)
Sets the file attachment.- Parameters:
attachFile- File name, Max 1024 characters
-
getSubject
public java.lang.String getSubject()
- Returns:
- Subject text
-
setSubject
public void setSubject(java.lang.String subject)
Sets the subject text for the mail.- Parameters:
subject- Subject
-
getMessage
public java.lang.String getMessage()
Returns the message of this Notification.- Returns:
- Message
-
-