public class MfMailUtility
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAppAuth(InboundCommRemote inboundComm,
MboRemote targetMbo) |
boolean |
checkStatusAuth(InboundCommRemote inboundComm,
MboRemote targetMbo,
UserInfo ui) |
void |
createInboundCommLog(MboRemote inboundComm,
MboRemote targetMbo,
java.util.Date cDate)
creats a commlog entry for inbound mail
|
static MboRemote |
getCommTemplate(java.lang.String templateId,
UserInfo ui) |
java.util.HashSet<java.lang.String> |
getHashSet(java.lang.String commaSeparatedList) |
MXLogger |
getLogger() |
java.lang.String |
getSenderFromTemplate(MboRemote commTemplate) |
boolean |
isKeyAttribute(java.lang.String[] keys,
java.lang.String attribute) |
boolean |
isMailHTML() |
void |
logMailInfo(MboRemote inboundComm)
Log information about the inboundcomm to identify the mail caused the error.
|
static void |
logMailInfo(MXLogger pLogger,
MboRemote inboundComm) |
void |
sendErrorMail(MboRemote inboundComm,
java.lang.String template)
Method to Send Error notification mail This method is used from
MfMailSendErrorReply class
|
void |
sendErrorMailToAdmin(java.lang.String errMsg,
java.lang.String template)
Send Mail to administrator to notify admin action is needed.
|
void |
sendSTReplyMailVerySmall(MboRemote inboundComm,
MboRemote commTemplate,
MboRemote targetMbo,
MboRemote trackEntry,
UserInfo ui,
java.lang.String valueList,
int deviceClass)
Send reply mail for status scenario with very small device
|
void |
sendWFNotifyMail(MboRemote track,
MboRemote tempTargetMbo,
MfMailWFCtrlInfo wc)
This method send notification mail when work flow assignment has
completed by different user by mail.
|
void |
setLogger(MXLogger logger) |
public void sendSTReplyMailVerySmall(MboRemote inboundComm, MboRemote commTemplate, MboRemote targetMbo, MboRemote trackEntry, UserInfo ui, java.lang.String valueList, int deviceClass) throws java.rmi.RemoteException, MXException
inboundComm - commTemplate - targetMbo - trackEntry - ui - valueList - objKeys - deviceClass - java.rmi.RemoteExceptionMXExceptionpublic void sendWFNotifyMail(MboRemote track, MboRemote tempTargetMbo, MfMailWFCtrlInfo wc) throws java.rmi.RemoteException, MXException
track - tempTargetMbo - wc - java.rmi.RemoteExceptionMXExceptionpublic void sendErrorMail(MboRemote inboundComm, java.lang.String template) throws java.rmi.RemoteException, MXException
inboundComm - template - java.rmi.RemoteExceptionMXExceptionpublic static MboRemote getCommTemplate(java.lang.String templateId, UserInfo ui) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void logMailInfo(MboRemote inboundComm) throws java.rmi.RemoteException, MXException
inboundComm - java.rmi.RemoteExceptionMXExceptionpublic static void logMailInfo(MXLogger pLogger, MboRemote inboundComm) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void sendErrorMailToAdmin(java.lang.String errMsg,
java.lang.String template)
throws java.rmi.RemoteException,
MXException
errMsg - : message texttemplate - : communication templatejava.rmi.RemoteExceptionMXExceptionpublic void createInboundCommLog(MboRemote inboundComm, MboRemote targetMbo, java.util.Date cDate) throws MXException, java.rmi.RemoteException
inboundComm - targetMbo - templateName - MXExceptionjava.rmi.RemoteExceptionpublic boolean isKeyAttribute(java.lang.String[] keys,
java.lang.String attribute)
public java.util.HashSet<java.lang.String> getHashSet(java.lang.String commaSeparatedList)
public java.lang.String getSenderFromTemplate(MboRemote commTemplate) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic MXLogger getLogger()
public void setLogger(MXLogger logger)
public boolean isMailHTML()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic boolean checkAppAuth(InboundCommRemote inboundComm, MboRemote targetMbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean checkStatusAuth(InboundCommRemote inboundComm, MboRemote targetMbo, UserInfo ui) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException