com.ibm.tivoli.maximo.expression

Class FormulaUtils

  • java.lang.Object
    • com.ibm.tivoli.maximo.expression.FormulaUtils


  • public class FormulaUtils
    extends java.lang.Object
    • Constructor Detail

      • FormulaUtils

        public FormulaUtils()
    • Method Detail

      • validateObjectFormulaForMbo

        public static com.ibm.json.java.JSONObject validateObjectFormulaForMbo(MboRemote mbo,
                                                                               ObjectFormulaInfo formulaInfo)
                                                                        throws java.rmi.RemoteException,
                                                                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • validateAttrFormulaForMbo

        public static com.ibm.json.java.JSONObject validateAttrFormulaForMbo(MboRemote mbo,
                                                                             AttrFormulaInfo formulaInfo)
                                                                      throws java.rmi.RemoteException,
                                                                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • validateFormulaForMbo

        public static java.lang.String validateFormulaForMbo(MboRemote mbo,
                                                             java.lang.String formula)
      • getListenedAttributesForAttrFormula

        public static com.ibm.json.java.JSONArray getListenedAttributesForAttrFormula(MboRemote mbo,
                                                                                      java.lang.String formula)
      • wrapValidateMsg

        public static void wrapValidateMsg(com.ibm.json.java.JSONObject obj,
                                           MboRemote mbo,
                                           java.lang.String formula)
      • validateObjectFormulasForObject

        public static com.ibm.json.java.JSONObject validateObjectFormulasForObject(UserInfo userInfo,
                                                                                   java.lang.String objectName)
                                                                            throws java.rmi.RemoteException,
                                                                                   MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • validateObjectFormulas

        public static com.ibm.json.java.JSONObject validateObjectFormulas(UserInfo userInfo)
                                                                   throws java.rmi.RemoteException,
                                                                          MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • validateAttrFormulasForObject

        public static com.ibm.json.java.JSONObject validateAttrFormulasForObject(UserInfo userInfo,
                                                                                 java.lang.String objectName)
                                                                          throws java.rmi.RemoteException,
                                                                                 MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • validateAttrFormulas

        public static com.ibm.json.java.JSONObject validateAttrFormulas(UserInfo userInfo)
                                                                 throws java.rmi.RemoteException,
                                                                        MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getMethodForMboAttr

        public static java.lang.String getMethodForMboAttr(MboRemote mbo,
                                                           java.lang.String attributeName)
                                                    throws java.rmi.RemoteException,
                                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • executeAsyncFormulas

        public static void executeAsyncFormulas(MboRemote mbo)
                                         throws java.rmi.RemoteException,
                                                MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • executeFormula

        public static void executeFormula(MboRemote mbo,
                                          java.lang.String attributeName)
                                   throws java.rmi.RemoteException,
                                          MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getFunctionKey

        public static java.lang.String getFunctionKey(MboRemote mbo,
                                                      java.lang.String funcName,
                                                      java.util.List parameters)
                                               throws java.rmi.RemoteException,
                                                      MXException
        Throws:
        java.rmi.RemoteException
        MXException