Class NotificationSettings


  • public class NotificationSettings
    extends java.lang.Object
    This class represents the "Notification" tab within a Notification object.
    • Constructor Detail

      • NotificationSettings

        protected NotificationSettings​(com.uc4.util.XMLDocument doc)
        Creates a NotificationSettings using the specified XMLDocument
        Parameters:
        doc - XML document
    • 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 Document
        request - Parent Element
      • 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