Class MessageContent
java.lang.Object
org.bgerp.plugin.msg.email.message.MessageContent
Email content creator.
- 
Method Summary
Modifier and TypeMethodDescriptiongetHistory(Localizer l, StringBuilder text, int processId, Message msg) protected ProcessgetProcess(int processId) protected jakarta.mail.internet.MimeBodyParthistory(StringBuilder text, Localizer l, Message msg) Appends text with history info and open process link. 
- 
Method Details
- 
history
protected jakarta.mail.internet.MimeBodyPart history(StringBuilder text, Localizer l, Message msg) throws Exception Appends text with history info and open process link.- Parameters:
 text- body text, can be modified during the changes.l- localizer with target language.msg- message.- Returns:
 - mime part with 'History.txt' or 
nullif no history to attach. - Throws:
 Exception
 - 
getHistory
protected Pair<Integer,List<Message>> getHistory(Localizer l, StringBuilder text, int processId, Message msg) throws Exception - Throws:
 Exception
 - 
getProcess
- Throws:
 SQLException
 
 -