|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.services.MailingServiceImpl
public class MailingServiceImpl
| Field Summary | |
|---|---|
protected ClientManager |
clientManager
|
protected FormManager |
formManager
|
protected FormTypeManager |
formTypeManager
|
protected Timer |
mailCronTask
Mail cron task to check mails every 10 minutes. |
protected MailingManager |
mailingManager
|
protected org.sharengo.wikitty.WikittyProxy |
proxy
|
protected SearchManager |
searchManager
|
protected ThesaurusManager |
thesaurusManager
|
| Constructor Summary | |
|---|---|
MailingServiceImpl()
|
|
| Method Summary | |
|---|---|
List<File> |
generateFilledDocumentInPDF(File template,
List<Form> forms,
Map<String,String> fieldBindings)
Generate offer PDF form given forms with specified template. |
List<File> |
generateFilledDocumentInPDF(File template,
List<Form> forms,
Map<String,String> fieldBindings,
boolean replace)
Generate offer PDF form given forms with specified template. |
protected File |
generateFilledDocumentInPDF(TemplateManager templateManager,
Form form,
Map<String,String[]> fieldBindings,
boolean replace)
Generate a single pdf file for specified form. |
String[] |
getDocumentFields(File template)
Get template document fields names. |
void |
receiveMessages()
|
Sending |
sendMessage(Sending sending,
String sessionParagraph)
|
Sending |
sendMessage(Sending sending,
String sessionParagraph,
String email)
|
Session |
sendMessages(Session session,
List<Sending> sendings)
|
Session |
stopSentMail(Session session)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.sharengo.wikitty.WikittyProxy proxy
protected ThesaurusManager thesaurusManager
protected FormManager formManager
protected FormTypeManager formTypeManager
protected ClientManager clientManager
protected SearchManager searchManager
protected MailingManager mailingManager
protected Timer mailCronTask
| Constructor Detail |
|---|
public MailingServiceImpl()
| Method Detail |
|---|
public String[] getDocumentFields(File template)
throws VradiException
MailingService
getDocumentFields in interface MailingServicetemplate - template file
VradiException
public List<File> generateFilledDocumentInPDF(File template,
List<Form> forms,
Map<String,String> fieldBindings)
throws VradiException
MailingService
generateFilledDocumentInPDF in interface MailingServicetemplate - template to use to generate PDFforms - to to generatefieldBindings - map between template field name and form fields names
VradiException
public List<File> generateFilledDocumentInPDF(File template,
List<Form> forms,
Map<String,String> fieldBindings,
boolean replace)
throws VradiException
MailingService
generateFilledDocumentInPDF in interface MailingServicetemplate - template to use to generate PDFforms - to to generatefieldBindings - map between template field name and form fields namesreplace - replace already existing generated forms
VradiException
protected File generateFilledDocumentInPDF(TemplateManager templateManager,
Form form,
Map<String,String[]> fieldBindings,
boolean replace)
throws VradiException
templateManager - pdf template managerform - form to get pdffieldBindings - association between field name and form fields (couple extension name, extenstion field)replace - replace already existing pdf
VradiException
public Session sendMessages(Session session,
List<Sending> sendings)
throws VradiException
sendMessages in interface MailingServiceVradiException
public Sending sendMessage(Sending sending,
String sessionParagraph)
throws VradiException
sendMessage in interface MailingServiceVradiException
public Sending sendMessage(Sending sending,
String sessionParagraph,
String email)
throws VradiException
sendMessage in interface MailingServiceVradiException
public void receiveMessages()
throws VradiException
receiveMessages in interface MailingServiceVradiException
public Session stopSentMail(Session session)
throws VradiException
stopSentMail in interface MailingServiceVradiException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||