public final class MfMailCfgUtil
extends java.lang.Object
Constructor and Description |
---|
MfMailCfgUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDuplicatedSelectionValue(MboRemote mbo,
boolean isSkipToBeDeleted)
Check MBO's Selection Value is duplicated.
|
static java.lang.String |
convertKeyValueToCommaSepValue(MboRemote mbo)
Convert array to comma separated value.
|
static java.lang.String |
convertStringListToCommaSepValue(java.util.List<java.lang.String> values)
Convert list containing strings to comma separated string.
|
static void |
copyMLValue(java.lang.String fieldname,
MboRemote from,
MboRemote to) |
static java.lang.String |
createAttributesWhereClause(MboSetRemote mboSet,
java.lang.String objectName)
Creates the attributes where clause.
|
static MfMailCfgRemote |
getEmailCfg(MboRemote mbo)
Gets EmailCfg MBO from MboRemote.getOwner() method recursively.
|
static boolean |
hasCommLogRelationship(java.lang.String mboName)
Check whether the object supports communication log (COMMLOG).
|
static void |
setAttributes(MboRemote mbo,
java.lang.String attribute,
java.util.List<java.lang.String> attributeList)
Sets the each attribute in the list to ATTRIBUTES field by
comma-separated text.
|
public static MfMailCfgRemote getEmailCfg(MboRemote mbo) throws MXException, java.rmi.RemoteException
mbo
- the mboMXException
java.rmi.RemoteException
public static java.lang.String convertKeyValueToCommaSepValue(MboRemote mbo) throws java.rmi.RemoteException, MXException
mbo
- the mbojava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic static java.lang.String convertStringListToCommaSepValue(java.util.List<java.lang.String> values)
values
- the valuespublic static void setAttributes(MboRemote mbo, java.lang.String attribute, java.util.List<java.lang.String> attributeList) throws MXException, java.rmi.RemoteException
mbo
- the mboattribute
- the attributeattributeList
- the List of attributesMXException
java.rmi.RemoteException
public static boolean hasCommLogRelationship(java.lang.String mboName) throws MXException, java.rmi.RemoteException
MBO
- object nameMXException
java.rmi.RemoteException
public static java.lang.String createAttributesWhereClause(MboSetRemote mboSet, java.lang.String objectName) throws java.rmi.RemoteException, MXException
mboSet
- the mbo setobjectname
- mbo's namejava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic static final void checkDuplicatedSelectionValue(MboRemote mbo, boolean isSkipToBeDeleted) throws java.rmi.RemoteException, MXException
mbo
- the mboisSkipToBeDeleted
- the is checking to be deletedjava.rmi.RemoteException
- the remote exceptionMXException
- the mX exceptionpublic static void copyMLValue(java.lang.String fieldname, MboRemote from, MboRemote to) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException