psdi.common.parse

Interface ParserServiceRemote

    • Method Detail

      • parse

        void parse(java.lang.String str,
                   MboRemote mbo)
            throws MXException,
                   java.rmi.RemoteException
        Parse the string.
        Throws:
        MXException
        java.rmi.RemoteException
      • getNodeDataType

        int getNodeDataType(java.lang.String str)
                     throws MXException,
                            java.rmi.RemoteException
        Returns the data type of the expression.
        Throws:
        MXException
        java.rmi.RemoteException
      • getNodeDataType

        int getNodeDataType(java.lang.String str,
                            MboRemote mbo)
                     throws MXException,
                            java.rmi.RemoteException
        Returns the data type of the expression based on a Mbo.
        Throws:
        MXException
        java.rmi.RemoteException
      • getBoolean

        boolean getBoolean(java.lang.String str,
                           MboRemote mbo)
                    throws MXException,
                           java.rmi.RemoteException
        Parse the string and returns its evaluated value as a boolean.
        Throws:
        MXException
        java.rmi.RemoteException
      • getString

        java.lang.String getString(java.lang.String str,
                                   MboRemote mbo)
                            throws MXException,
                                   java.rmi.RemoteException
        Parse the string and returns its evaluated value as a String.
        Throws:
        MXException
        java.rmi.RemoteException
      • getDouble

        double getDouble(java.lang.String str,
                         MboRemote mbo)
                  throws MXException,
                         java.rmi.RemoteException
        Parse the string and returns its evaluated value as a double.
        Throws:
        MXException
        java.rmi.RemoteException
      • getInt

        int getInt(java.lang.String str,
                   MboRemote mbo)
            throws MXException,
                   java.rmi.RemoteException
        Parse the string and returns its evaluated value as a int.
        Throws:
        MXException
        java.rmi.RemoteException
      • getDate

        java.util.Date getDate(java.lang.String str,
                               MboRemote mbo)
                        throws MXException,
                               java.rmi.RemoteException
        Parse the string and returns its evaluated value as a DateTime.
        Throws:
        MXException
        java.rmi.RemoteException
      • nodeString

        java.lang.String nodeString(java.lang.String str)
                             throws MXException,
                                    java.rmi.RemoteException
        Prints the tree nodes.
        Throws:
        MXException
        java.rmi.RemoteException
      • checkSqlInjection

        void checkSqlInjection(java.lang.String where)
                        throws MXApplicationException,
                               java.rmi.RemoteException
        Checks if where clause includes ";" with sql injection statement.
        Throws:
        MXApplicationException
        java.rmi.RemoteException