com.ibm.ism.content.psdi.webclient.upgrade

Class MXApplyTransactions


  • Deprecated. 
    Fix code to use the code in the Tools project.

    public class MXApplyTransactions
    extends MXUpgradeUtility
    This program is responsible for applying screen changes. Well, hopefully not! This class seems to have been created from the other MXApplyTranscation class. Since then, that class was updated to support multitenancy. If this class is used, it needs to be similarly modified. There is an issue, however. The changes to the other MXApplyTransactions class required use of the MTConnection class. Unfortunately, this class is in the Tools project and isn't available in the TPAE project. Ideally the code that references this class will change to use the other class.
    • Field Detail

      • sqlTerm

        public java.lang.String sqlTerm
        Deprecated. 
      • commentFlag

        public java.lang.String commentFlag
        Deprecated. 
    • Constructor Detail

      • MXApplyTransactions

        public MXApplyTransactions()
        Deprecated. 
    • Method Detail

      • setOverWrite

        public void setOverWrite(boolean b)
        Deprecated. 
      • setSourceApp

        public void setSourceApp(java.lang.String s)
        Deprecated. 
      • setTargetApp

        public void setTargetApp(java.lang.String s)
        Deprecated. 
      • setConnection

        public void setConnection(java.sql.Connection c)
        Deprecated. 
      • openTransactionDocument

        public void openTransactionDocument(java.lang.String filename)
                                     throws java.lang.Exception
        Deprecated. 
        Throws:
        java.lang.Exception
      • setTransactionStream

        public void setTransactionStream(java.lang.String filename)
                                  throws java.lang.Exception
        Deprecated. 
        Throws:
        java.lang.Exception
      • setTransactionStream

        public void setTransactionStream(java.io.InputStream is)
                                  throws java.lang.Exception
        Deprecated. 
        Throws:
        java.lang.Exception
      • setUpdateLabels

        public void setUpdateLabels(boolean b)
        Deprecated. 
      • setDebug

        public void setDebug(boolean b)
        Deprecated. 
      • ADD

        public void ADD(org.w3c.dom.Element app,
                        org.w3c.dom.Element xact)
                 throws java.lang.Exception
        Deprecated. 
        Add new control to DOM and set its properties
        Parameters:
        app - Application's presentation from the database
        xact - Input control changes to apply to application.
        index - index of controls in the application already
        Throws:
        java.lang.Exception
        See Also:
        Called by this method to add an element to an application
      • MODIFY

        public void MODIFY(org.w3c.dom.Element app,
                           org.w3c.dom.Element xact)
                    throws java.lang.Exception
        Deprecated. 
        Change properties for an existing control in the DOM
        Parameters:
        app - Application's presentation from the database
        xact - control changes to apply to application
        index - index of controls in the application already
        Throws:
        java.lang.Exception
        See Also:
        Called by this method to modify an element of an application
      • MOVE

        public void MOVE(org.w3c.dom.Element app,
                         org.w3c.dom.Element xact)
        Deprecated. 
        Move control to new position at same level in the DOM
        Parameters:
        app - Application's presentation from the database
        xact - control changes to apply to application
        index - index of controls in the application already
        See Also:
        Called by this method to move an element in an application
      • REMOVE

        public void REMOVE(org.w3c.dom.Element app,
                           org.w3c.dom.Element xact)
                    throws java.lang.Exception
        Deprecated. 
        Remove control from DOM
        Parameters:
        app - Application's presentation from the database
        xact - control changes to apply to application
        index - index of controls in the application already
        Throws:
        java.lang.Exception
        See Also:
        Called by this method to remove an element from an application
      • applyTransactions

        public void applyTransactions()
                               throws java.lang.Exception
        Deprecated. 
        Set database connection used for reading and writing presentations and printstream to redirect console output
        Parameters:
        con -
        Throws:
        java.lang.Exception
      • applyScreenUpdates

        public static void applyScreenUpdates(java.sql.Connection con2,
                                              java.io.InputStream fileStrm,
                                              java.io.PrintStream tmpOut,
                                              java.lang.String filename)
                                       throws java.lang.Exception
        Deprecated. 
        Used by other programs to call this program.
        Parameters:
        con2 -
        fileStrm -
        tmpOut -
        filename -
        Throws:
        java.lang.Exception
      • applyScreenUpdates

        public static void applyScreenUpdates(java.sql.Connection con2,
                                              java.io.InputStream fileStrm,
                                              java.io.PrintStream tmpOut)
                                       throws java.lang.Exception
        Deprecated. 
        Used by other programs to call this program.
        Parameters:
        con2 -
        fileStrm -
        tmpOut -
        Throws:
        java.lang.Exception
      • applyScreenUpdates

        public static void applyScreenUpdates(java.sql.Connection con2,
                                              java.lang.String targetApp,
                                              java.lang.String sourceApp,
                                              java.io.InputStream fileStrm,
                                              java.io.PrintStream tmpOut,
                                              java.lang.String filename)
                                       throws java.lang.Exception
        Deprecated. 
        Used by other programs to call this program.
        Parameters:
        con2 -
        fileStrm -
        tmpOut -
        filename -
        Throws:
        java.lang.Exception
      • applyScreenUpdates

        public static void applyScreenUpdates(java.sql.Connection con2,
                                              java.lang.String targetApp,
                                              java.lang.String sourceApp,
                                              java.io.InputStream fileStrm,
                                              java.io.PrintStream tmpOut)
                                       throws java.lang.Exception
        Deprecated. 
        Used by other programs to call this program.
        Parameters:
        con2 -
        fileStrm -
        tmpOut -
        Throws:
        java.lang.Exception
      • main

        public static void main(java.lang.String[] argv)
        Deprecated. 
        Main method, used only for testing.
        Parameters:
        argv -