Package com.uc4.api.objects
Class NotificationSettings
- java.lang.Object
-
- com.uc4.api.objects.NotificationSettings
-
public class NotificationSettings extends java.lang.Object
This class represents the "Notification" tab within a Notification object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotificationSettings.ReportSource
Report source.
-
Constructor Summary
Constructors Modifier Constructor Description protected
NotificationSettings(com.uc4.util.XMLDocument doc)
Creates aNotificationSettings
using the specified XMLDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttachFile()
java.lang.String
getAttachReportsFrom()
java.lang.String
getMessage()
Returns the message of this Notification.NotificationSettings.ReportSource
getSource()
java.lang.String
getSubject()
void
setAttachFile(java.lang.String attachFile)
Sets the file attachment.void
setAttachReportsFrom(java.lang.String attachReportsFrom)
Sets email attachments.void
setMessage(java.lang.String message)
Sets the text message for the Notification.void
setSource(NotificationSettings.ReportSource source)
Sets the source of the files which should be attached to the mail.void
setSubject(java.lang.String subject)
Sets the subject text for the mail.protected void
store(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
-
-