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.UseSupportInquiryDataBuilder
instead
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>
getAppenderNames()
Deprecated.Map<String,byte[]>
getFileAttachments()
Returns aMap
of file attachment data that should be attached to the support inquiry.List<Long>
getFormExportIds()
int
getLogLimit()
String
getQuestion()
String
getSender()
String
getSubject()
String
toString()
-
-
-
Constructor Detail
-
SupportInquiryData
@Deprecated public SupportInquiryData(String sender, String subject, String question, List<Long> formExportIds, List<String> appenderNames, int logLimit)
Deprecated.UseSupportInquiryDataBuilder
instead
-
-
Method Detail
-
getSender
public String getSender()
- Specified by:
getSender
in interfaceISupportInquiryData
- Returns:
- The email address of the user who sent this inquiry.
-
getSubject
public String getSubject()
- Specified by:
getSubject
in interfaceISupportInquiryData
- Returns:
- The subject of this inquiry, as plain text.
-
getQuestion
public String getQuestion()
- Specified by:
getQuestion
in interfaceISupportInquiryData
- Returns:
- The question of this support inquiry, as HTML.
-
getFormExportIds
public List<Long> getFormExportIds()
- Specified by:
getFormExportIds
in interfaceISupportInquiryData
- Returns:
- List of form IDs that should be attached to the support inquiry.
-
getAppenderNames
@Deprecated public List<String> getAppenderNames()
Deprecated.- Specified by:
getAppenderNames
in 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:ISupportInquiryData
Returns aMap
of 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:
getFileAttachments
in interfaceISupportInquiryData
- Returns:
Map
of file attachment data that should be attached to the support inquiry
-
getLogLimit
public int getLogLimit()
- Specified by:
getLogLimit
in 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.
-
-