public class FormulaUtils
extends java.lang.Object
Constructor and Description |
---|
FormulaUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
executeAsyncFormulas(MboRemote mbo) |
static void |
executeFormula(MboRemote mbo,
java.lang.String attributeName) |
static java.lang.String |
getFormulaForMbo(MboRemote mbo,
AttrFormulaInfo formulaInfo) |
static java.lang.String |
getFunctionKey(MboRemote mbo,
java.lang.String funcName,
java.util.List<java.math.BigDecimal> parameters) |
static com.ibm.json.java.JSONArray |
getListenedAttributesForAttrFormula(MboRemote mbo,
java.lang.String formula) |
static java.lang.String |
getMethodForMbo(MboRemote mbo,
AttrFormulaInfo formulaInfo) |
static java.lang.String |
getMethodForMboAttr(MboRemote mbo,
java.lang.String attributeName) |
static java.lang.String |
getObjectFormulaForMbo(MboRemote mbo,
ObjectFormulaInfo formulaInfo) |
static MXApplicationException |
parseException(java.lang.Exception e) |
static com.ibm.json.java.JSONObject |
validateAttrFormulaForMbo(MboRemote mbo,
AttrFormulaInfo formulaInfo) |
static com.ibm.json.java.JSONObject |
validateAttrFormulas(UserInfo userInfo) |
static com.ibm.json.java.JSONObject |
validateAttrFormulasForObject(UserInfo userInfo,
java.lang.String objectName) |
static java.lang.String |
validateFormulaForMbo(MboRemote mbo,
java.lang.String formula) |
static com.ibm.json.java.JSONObject |
validateObjectFormulaForMbo(MboRemote mbo,
ObjectFormulaInfo formulaInfo) |
static com.ibm.json.java.JSONObject |
validateObjectFormulas(UserInfo userInfo) |
static com.ibm.json.java.JSONObject |
validateObjectFormulasForObject(UserInfo userInfo,
java.lang.String objectName) |
static void |
wrapValidateMsg(com.ibm.json.java.JSONObject obj,
MboRemote mbo,
java.lang.String formula) |
public static java.lang.String getObjectFormulaForMbo(MboRemote mbo, ObjectFormulaInfo formulaInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static com.ibm.json.java.JSONObject validateObjectFormulaForMbo(MboRemote mbo, ObjectFormulaInfo formulaInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static com.ibm.json.java.JSONObject validateAttrFormulaForMbo(MboRemote mbo, AttrFormulaInfo formulaInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.lang.String validateFormulaForMbo(MboRemote mbo, java.lang.String formula)
public static com.ibm.json.java.JSONArray getListenedAttributesForAttrFormula(MboRemote mbo, java.lang.String formula)
public static void wrapValidateMsg(com.ibm.json.java.JSONObject obj, MboRemote mbo, java.lang.String formula)
public static com.ibm.json.java.JSONObject validateObjectFormulasForObject(UserInfo userInfo, java.lang.String objectName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static com.ibm.json.java.JSONObject validateObjectFormulas(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static com.ibm.json.java.JSONObject validateAttrFormulasForObject(UserInfo userInfo, java.lang.String objectName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static com.ibm.json.java.JSONObject validateAttrFormulas(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.lang.String getFormulaForMbo(MboRemote mbo, AttrFormulaInfo formulaInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.lang.String getMethodForMbo(MboRemote mbo, AttrFormulaInfo formulaInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static java.lang.String getMethodForMboAttr(MboRemote mbo, java.lang.String attributeName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static void executeAsyncFormulas(MboRemote mbo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static void executeFormula(MboRemote mbo, java.lang.String attributeName) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static MXApplicationException parseException(java.lang.Exception e)
public static java.lang.String getFunctionKey(MboRemote mbo, java.lang.String funcName, java.util.List<java.math.BigDecimal> parameters) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException