public class MfMailSTSendAction extends java.lang.Object implements ActionCustomClass
| Constructor and Description |
|---|
MfMailSTSendAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyCustomAction(MboRemote originalMbo,
java.lang.Object[] arg1)
This is the method which is called when the class is used a custom action.
|
protected boolean |
checkTrackingEntry(MboRemote targetMbo,
UserInfo ui)
Check if tracking entry exist.
|
protected MboRemote |
createOrReuseTrackEntry(MboRemote targetMbo,
java.lang.String[] sendTo,
MfMailSTCtrlInfo ci)
Reuse tracking entry if status is complete.
|
protected CommTemplateRemote |
getCommTemplate(MboRemote targetMbo,
UserInfo ui,
int deviceClass,
boolean htmlFlag,
MfMailSTCtrlInfo ci)
Get communication template.
|
protected MfMailSTCtrlInfo |
getControlEntry(MboRemote targetMbo,
UserInfo ui)
Get control entry for specified Mbo and its status.
|
protected java.lang.String |
getRegisterKey(MboRemote mbo) |
protected UserInfo |
getSendToUser(MboRemote targetMbo,
MfMailSTCtrlInfo ci)
Map sendToRole to user and retrieve one of users to retrieve language information
|
protected java.lang.String |
registerMbo(MboRemote mbo) |
protected void |
sendSTAssignmentMail(CommTemplateRemote commTemplate,
MboRemote targetMbo,
java.lang.String subjectKey,
java.lang.String[] sendTo,
java.lang.String secString,
UserInfo ui,
int deviceClass,
MfMailSTCtrlInfo ci,
UserInfo sendToUi,
boolean bCheckHtml)
Compose outbound mail to notify assignment and send
|
protected void |
unregisterMbo(java.lang.String key) |
public void applyCustomAction(MboRemote originalMbo, java.lang.Object[] arg1) throws MXException, java.rmi.RemoteException
ActionCustomClassapplyCustomAction in interface ActionCustomClassoriginalMbo - The Mbo on which the action will apply.MXExceptionjava.rmi.RemoteExceptionprotected void sendSTAssignmentMail(CommTemplateRemote commTemplate, MboRemote targetMbo, java.lang.String subjectKey, java.lang.String[] sendTo, java.lang.String secString, UserInfo ui, int deviceClass, MfMailSTCtrlInfo ci, UserInfo sendToUi, boolean bCheckHtml) throws java.rmi.RemoteException, MXException
commTemplate - targetMbo - java.rmi.RemoteExceptionMXExceptionprotected boolean checkTrackingEntry(MboRemote targetMbo, UserInfo ui) throws java.rmi.RemoteException, MXException
targetMbo - ui - java.rmi.RemoteExceptionMXExceptionprotected MboRemote createOrReuseTrackEntry(MboRemote targetMbo, java.lang.String[] sendTo, MfMailSTCtrlInfo ci) throws java.rmi.RemoteException, MXException
targetMbo - sendTo - java.rmi.RemoteExceptionMXExceptionprotected MfMailSTCtrlInfo getControlEntry(MboRemote targetMbo, UserInfo ui) throws java.rmi.RemoteException, MXException
targetMbo - ui - UserInfo used to create context for MboSetdeviceClass - java.rmi.RemoteExceptionMXExceptionprotected CommTemplateRemote getCommTemplate(MboRemote targetMbo, UserInfo ui, int deviceClass, boolean htmlFlag, MfMailSTCtrlInfo ci) throws java.rmi.RemoteException, MXException
targetMbo - ui - deviceClass - htmlFlag - ci - java.rmi.RemoteExceptionMXExceptionprotected UserInfo getSendToUser(MboRemote targetMbo, MfMailSTCtrlInfo ci) throws java.rmi.RemoteException, MXException
targetMbo - MXExceptionjava.rmi.RemoteExceptionprotected java.lang.String getRegisterKey(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionprotected java.lang.String registerMbo(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionprotected void unregisterMbo(java.lang.String key)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXException