public class MfMailCfgValidator
extends java.lang.Object
Constructor and Description |
---|
MfMailCfgValidator(MfMailCfgRemote configuration)
Instantiates a new Maximo for E-mail configuration validator.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendErrorMessage(java.lang.String errorMsg)
Append error message.
|
protected void |
checkSendToField(MboSetRemote mboSet)
Check send to field.
|
protected void |
checkValueTable()
Check whether the value table (MFMAILWFVALUECFG and MFMAILSTVALUECFG) has
at least one entry or not.
|
protected void |
checkWorkFlowValueTable(MboSetRemote mboSet,
MboRemote parent)
Check work flow value table.
|
java.lang.String |
getErrorMessages()
Gets the error messages.
|
protected MboSetRemote |
getMboSet(MboRemote parent,
java.lang.String relationship) |
protected java.lang.String |
parseKeyValueStringFromMbo(MboRemote mbo)
Parses the key value string from mbo's KeyValue set.
|
boolean |
validate()
Validate.
|
public MfMailCfgValidator(MfMailCfgRemote configuration)
configuration
- configurationprotected void appendErrorMessage(java.lang.String errorMsg)
errorMsg
- the error msgprotected MboSetRemote getMboSet(MboRemote parent, java.lang.String relationship) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected void checkValueTable() throws MXException, java.rmi.RemoteException
children
- Relationship name for the childrengrandchildren
- Relationship name for the grandchildrenMXException
java.rmi.RemoteException
protected void checkWorkFlowValueTable(MboSetRemote mboSet, MboRemote parent) throws MXException, java.rmi.RemoteException
mboSet
- the mbo setparent
- the parentMXException
java.rmi.RemoteException
protected void checkSendToField(MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
mboSet
- the mbo setMXException
- the mX exceptionjava.rmi.RemoteException
- the remote exceptionpublic java.lang.String getErrorMessages()
protected java.lang.String parseKeyValueStringFromMbo(MboRemote mbo) throws java.rmi.RemoteException, MXException
mbo
- the mbojava.rmi.RemoteException
MXException
public boolean validate()