Package de.xima.fc.mdl.mail
Class SupportInquiryData
- java.lang.Object
-
- de.xima.fc.mdl.mail.SupportInquiryData
-
- All Implemented Interfaces:
ISupportInquiryData,Serializable
public class SupportInquiryData extends Object implements ISupportInquiryData
Model containing information of support inquiries- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SupportInquiryData(String sender, String subject, String question, List<Long> formExportIds, List<String> appenderNames, int logLimit)Deprecated.UseSupportInquiryDataBuilderinstead
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>getAppenderNames()Deprecated.Map<String,byte[]>getFileAttachments()Returns aMapof file attachment data that should be attached to the support inquiry.List<Long>getFormExportIds()intgetLogLimit()StringgetQuestion()StringgetSender()StringgetSubject()StringtoString()
-
-
-
Constructor Detail
-
SupportInquiryData
@Deprecated public SupportInquiryData(String sender, String subject, String question, List<Long> formExportIds, List<String> appenderNames, int logLimit)
Deprecated.UseSupportInquiryDataBuilderinstead
-
-
Method Detail
-
getSender
public String getSender()
- Specified by:
getSenderin interfaceISupportInquiryData- Returns:
- The email address of the user who sent this inquiry.
-
getSubject
public String getSubject()
- Specified by:
getSubjectin interfaceISupportInquiryData- Returns:
- The subject of this inquiry, as plain text.
-
getQuestion
public String getQuestion()
- Specified by:
getQuestionin interfaceISupportInquiryData- Returns:
- The question of this support inquiry, as HTML.
-
getFormExportIds
public List<Long> getFormExportIds()
- Specified by:
getFormExportIdsin interfaceISupportInquiryData- Returns:
- List of form IDs that should be attached to the support inquiry.
-
getAppenderNames
@Deprecated public List<String> getAppenderNames()
Deprecated.- Specified by:
getAppenderNamesin interfaceISupportInquiryData- Returns:
- List of log appenders whose log files that should be attached to the support inquiry.
-
getFileAttachments
public Map<String,byte[]> getFileAttachments()
Description copied from interface:ISupportInquiryDataReturns aMapof file attachment data that should be attached to the support inquiry. The map key is the name of the file. The map value is the file data.- Specified by:
getFileAttachmentsin interfaceISupportInquiryData- Returns:
Mapof file attachment data that should be attached to the support inquiry
-
getLogLimit
public int getLogLimit()
- Specified by:
getLogLimitin interfaceISupportInquiryData- Returns:
- The limit in seconds of how much of each log file should be attached to the inquiry. Only log entries that were made within the interval [now-getLogLimit, now] are attached to inquiry.
-
-