public abstract class BaseMailExtension extends Object implements com.axemble.vdoc.mail.extensions.IMailExtensionSupport
BaseMailExtension
class provides direct access to the SDK API.
You can access the following methods:
IWorkflowModule
,
IWorkflowInstance
,
ITaskInstance
Modifier and Type | Field and Description |
---|---|
protected static com.axemble.vdp.utils.Logger |
LOGGER |
Constructor and Description |
---|
BaseMailExtension() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
afterSend()
This method is called just after the mail has been sent.
|
void |
afterSendMail() |
protected abstract boolean |
beforeSend()
This method is called before mail has been submitted
|
boolean |
beforeSendMail() |
protected String |
getCurrentLanguage()
This method return the language of the mail
|
protected IDirectoryModule |
getDirectoryModule() |
protected IMailForm |
getMailForm() |
protected javax.mail.internet.MimeMessage |
getMessage() |
protected IPortalModule |
getPortalModule() |
protected IUser |
getPreviousTaskInstanceOperator()
Returns the operator on the previous task instance
|
protected IProjectModule |
getProjectModule() |
protected IResource |
getResource() |
protected ITaskInstance |
getTaskInstance() |
protected IWorkflowInstance |
getWorkflowInstance() |
protected IWorkflowModule |
getWorkflowModule() |
void |
init(com.axemble.vdoc.mail.structures.MailData mailData) |
protected String |
onFillLanguage()
This method is called just before the mail is built.
|
String |
onFillLanguageMail() |
void |
onFillRecipients(MailRecipients mailRecipients)
Add, modify the addresses for the mail recipient
|
IBlockDefinition |
onPrepare() |
void |
onPrepare(IBlockDefinition blockDefinition) |
void |
unInit() |
public final void init(com.axemble.vdoc.mail.structures.MailData mailData)
protected final IMailForm getMailForm()
public final void unInit()
public final void afterSendMail()
public final boolean beforeSendMail()
public final String onFillLanguageMail()
public void onPrepare(IBlockDefinition blockDefinition)
public final IBlockDefinition onPrepare()
protected final IWorkflowModule getWorkflowModule()
protected final IPortalModule getPortalModule()
protected final IDirectoryModule getDirectoryModule()
protected final IProjectModule getProjectModule()
protected final IWorkflowInstance getWorkflowInstance()
protected final IResource getResource()
protected final ITaskInstance getTaskInstance()
protected final IUser getPreviousTaskInstanceOperator()
protected final javax.mail.internet.MimeMessage getMessage()
protected abstract boolean beforeSend()
protected abstract void afterSend()
protected String onFillLanguage()
public void onFillRecipients(MailRecipients mailRecipients)
mailRecipients
- The structure to manipulate the message recipients.protected final String getCurrentLanguage()
Copyright © 2022 Visiativ. All rights reserved.