public class MfMailWFSender extends java.lang.Object implements ActionCustomClass
Constructor and Description |
---|
MfMailWFSender() |
Modifier and Type | Method and Description |
---|---|
void |
applyCustomAction(MboRemote arg0,
java.lang.Object[] arg1)
This is the method which is called when the class is used a custom action.
|
protected java.lang.String |
getLinkList(java.lang.String wfProcessName,
int wfProcRev,
int wfNodeId,
java.lang.String wfNodeTitle,
WFAssignmentRemote assign,
MboRemote targetMbo,
MfMailGlobalInfo gi,
UserInfo ui,
java.lang.String sender,
java.lang.String subj,
java.lang.String secStr) |
MXLogger |
getLogger()
Returns the logger to be used to log messages.
|
protected java.lang.String |
getNVPairList(java.lang.String wfProcessName,
int wfProcRev,
int wfNodeId,
java.lang.String wfNodeTitle,
WFAssignmentRemote assign,
MboRemote targetMbo,
MfMailGlobalInfo gi,
UserInfo ui,
java.lang.String attributesList,
java.lang.String secStr,
boolean bGenerateObjId)
Get value list for medium device, which include list of actions
We have this method in this class, not in utility class, because work flow scenario
uses list of Name/Value pair only in first outbound mail.
|
protected java.lang.String |
getRegisterKey(MboRemote mbo) |
protected java.lang.String |
registerAssignment(MboRemote assign) |
void |
sendWFAssignmentMail(WFAssignmentRemote assign,
CommTemplateRemote commTemplate,
MboRemote targetMbo,
MboRemote trackEntry,
UserInfo ui,
int deviceClass,
boolean checkHtml,
java.lang.String process,
int procRev,
int nodeId,
java.lang.String nodeTitle,
java.lang.String sender,
java.lang.String secString,
java.lang.String attributesList) |
protected void |
unregisterAssignment(java.lang.String key) |
public MXLogger getLogger()
public void applyCustomAction(MboRemote arg0, java.lang.Object[] arg1) throws MXException, java.rmi.RemoteException
ActionCustomClass
applyCustomAction
in interface ActionCustomClass
arg0
- The Mbo on which the action will apply.MXException
java.rmi.RemoteException
public void sendWFAssignmentMail(WFAssignmentRemote assign, CommTemplateRemote commTemplate, MboRemote targetMbo, MboRemote trackEntry, UserInfo ui, int deviceClass, boolean checkHtml, java.lang.String process, int procRev, int nodeId, java.lang.String nodeTitle, java.lang.String sender, java.lang.String secString, java.lang.String attributesList) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected java.lang.String getNVPairList(java.lang.String wfProcessName, int wfProcRev, int wfNodeId, java.lang.String wfNodeTitle, WFAssignmentRemote assign, MboRemote targetMbo, MfMailGlobalInfo gi, UserInfo ui, java.lang.String attributesList, java.lang.String secStr, boolean bGenerateObjId) throws java.rmi.RemoteException, MXException
wfProcessName
- : WF process namewfNodeTitle
- : Node title in the WF aboveassign
- : WFAssignment we are working withtargetMbo
- : The mbo controlled with WFgi
- ui
- attributesList
- : List of attributes to be included in the value listsecStr
- : Security String to ensure the WFASSIGNMENTID is not altered in reply mailbGenerateObjId
- : Create name/value pair to identify assignment for smalljava.rmi.RemoteException
MXException
protected java.lang.String getLinkList(java.lang.String wfProcessName, int wfProcRev, int wfNodeId, java.lang.String wfNodeTitle, WFAssignmentRemote assign, MboRemote targetMbo, MfMailGlobalInfo gi, UserInfo ui, java.lang.String sender, java.lang.String subj, java.lang.String secStr) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected java.lang.String getRegisterKey(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected java.lang.String registerAssignment(MboRemote assign) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected void unregisterAssignment(java.lang.String key) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException