public class MXApplyTransactions extends MXUpgradeUtility
Modifier and Type | Field and Description |
---|---|
java.lang.String |
commentFlag |
java.lang.String |
sqlTerm |
currentApp
Constructor and Description |
---|
MXApplyTransactions() |
Modifier and Type | Method and Description |
---|---|
void |
ADD(org.w3c.dom.Element app,
org.w3c.dom.Element xact)
Add new control to DOM and set its properties
|
static void |
applyScreenUpdates(java.sql.Connection con2,
java.io.InputStream fileStrm,
java.io.PrintStream tmpOut)
Used by other programs to call this program.
|
static void |
applyScreenUpdates(java.sql.Connection con2,
java.io.InputStream fileStrm,
java.io.PrintStream tmpOut,
java.lang.String filename)
Used by other programs to call this program.
|
static void |
applyScreenUpdates(java.sql.Connection con2,
java.lang.String targetApp,
java.lang.String sourceApp,
java.io.InputStream fileStrm,
java.io.PrintStream tmpOut)
Used by other programs to call this program.
|
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)
Used by other programs to call this program.
|
void |
applyTransactions()
Set database connection used for reading and writing presentations and printstream to redirect console output
|
static void |
main(java.lang.String[] argv)
Main method, used only for testing.
|
void |
MODIFY(org.w3c.dom.Element app,
org.w3c.dom.Element xact)
Change properties for an existing control in the DOM
|
void |
MOVE(org.w3c.dom.Element app,
org.w3c.dom.Element xact)
Move control to new position at same level in the DOM
|
void |
openTransactionDocument(java.lang.String filename) |
void |
REMOVE(org.w3c.dom.Element app,
org.w3c.dom.Element xact)
Remove control from DOM
|
void |
setConnection(java.sql.Connection c) |
void |
setDebug(boolean b) |
void |
setOverWrite(boolean b) |
void |
setSourceApp(java.lang.String s) |
void |
setTargetApp(java.lang.String s) |
void |
setTransactionStream(java.io.InputStream is) |
void |
setTransactionStream(java.lang.String filename) |
void |
setUpdateLabels(boolean b) |
getMaximoRoot, parse, setApplicationTagElement, setLogStream, setUpdateScriptDocument, setUpdateScriptElement, writeFormatedDocument
public java.lang.String sqlTerm
public java.lang.String commentFlag
public void setOverWrite(boolean b)
public void setSourceApp(java.lang.String s)
public void setTargetApp(java.lang.String s)
public void setConnection(java.sql.Connection c)
public void openTransactionDocument(java.lang.String filename) throws java.lang.Exception
java.lang.Exception
public void setTransactionStream(java.lang.String filename) throws java.lang.Exception
java.lang.Exception
public void setTransactionStream(java.io.InputStream is) throws java.lang.Exception
java.lang.Exception
public void setUpdateLabels(boolean b)
public void setDebug(boolean b)
public void ADD(org.w3c.dom.Element app, org.w3c.dom.Element xact) throws java.lang.Exception
app
- Application's presentation from the databasexact
- Input control changes to apply to application.index
- index of controls in the application alreadyjava.lang.Exception
Called by this method to add an element to an application
public void MODIFY(org.w3c.dom.Element app, org.w3c.dom.Element xact) throws java.lang.Exception
app
- Application's presentation from the databasexact
- control changes to apply to applicationindex
- index of controls in the application alreadyjava.lang.Exception
Called by this method to modify an element of an application
public void MOVE(org.w3c.dom.Element app, org.w3c.dom.Element xact)
app
- Application's presentation from the databasexact
- control changes to apply to applicationindex
- index of controls in the application alreadyCalled by this method to move an element in an application
public void REMOVE(org.w3c.dom.Element app, org.w3c.dom.Element xact) throws java.lang.Exception
app
- Application's presentation from the databasexact
- control changes to apply to applicationindex
- index of controls in the application alreadyjava.lang.Exception
Called by this method to remove an element from an application
public void applyTransactions() throws java.lang.Exception
con
- java.lang.Exception
public static void applyScreenUpdates(java.sql.Connection con2, java.io.InputStream fileStrm, java.io.PrintStream tmpOut, java.lang.String filename) throws java.lang.Exception
con2
- fileStrm
- tmpOut
- filename
- java.lang.Exception
public static void applyScreenUpdates(java.sql.Connection con2, java.io.InputStream fileStrm, java.io.PrintStream tmpOut) throws java.lang.Exception
con2
- fileStrm
- tmpOut
- java.lang.Exception
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
con2
- fileStrm
- tmpOut
- filename
- java.lang.Exception
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
con2
- fileStrm
- tmpOut
- java.lang.Exception
public static void main(java.lang.String[] argv)
argv
-