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
ActionCustomClass
applyCustomAction
in interface ActionCustomClass
originalMbo
- The Mbo on which the action will apply.MXException
java.rmi.RemoteException
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) throws java.rmi.RemoteException, MXException
commTemplate
- targetMbo
- java.rmi.RemoteException
MXException
protected boolean checkTrackingEntry(MboRemote targetMbo, UserInfo ui) throws java.rmi.RemoteException, MXException
targetMbo
- ui
- java.rmi.RemoteException
MXException
protected MboRemote createOrReuseTrackEntry(MboRemote targetMbo, java.lang.String[] sendTo, MfMailSTCtrlInfo ci) throws java.rmi.RemoteException, MXException
targetMbo
- sendTo
- java.rmi.RemoteException
MXException
protected MfMailSTCtrlInfo getControlEntry(MboRemote targetMbo, UserInfo ui) throws java.rmi.RemoteException, MXException
targetMbo
- ui
- UserInfo used to create context for MboSetdeviceClass
- java.rmi.RemoteException
MXException
protected CommTemplateRemote getCommTemplate(MboRemote targetMbo, UserInfo ui, int deviceClass, boolean htmlFlag, MfMailSTCtrlInfo ci) throws java.rmi.RemoteException, MXException
targetMbo
- ui
- deviceClass
- htmlFlag
- ci
- java.rmi.RemoteException
MXException
protected UserInfo getSendToUser(MboRemote targetMbo, MfMailSTCtrlInfo ci) throws java.rmi.RemoteException, MXException
targetMbo
- MXException
java.rmi.RemoteException
protected java.lang.String getRegisterKey(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected java.lang.String registerMbo(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected void unregisterMbo(java.lang.String key) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException