public abstract class LegacyJavaAppserverClientProxy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LegacyJavaAppserverClient |
client
Helper which is used to connect and invoke remote programs.
|
protected handle |
proxy
The proxy procedure.
|
Constructor and Description |
---|
LegacyJavaAppserverClientProxy(LegacyJavaAppserverClient client)
Create a new instance with the specified client.
|
LegacyJavaAppserverClientProxy(LegacyJavaAppserverClient client,
boolean trackChanges)
Create a new instance with the specified client.
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(commonj.sdo.DataGraph graph,
commonj.sdo.DataObject row)
Add the specified row to its table.
|
commonj.sdo.DataObject |
createRow(commonj.sdo.DataGraph graph,
java.lang.String table)
Create a row for the specified table.
|
void |
dispose()
Delete the
proxy . |
java.util.List<commonj.sdo.DataObject> |
listRows(commonj.sdo.DataGraph graph,
java.lang.String table)
List all the rows in the specified table.
|
protected final LegacyJavaAppserverClient client
protected handle proxy
public LegacyJavaAppserverClientProxy(LegacyJavaAppserverClient client)
client
- The proxy client.public LegacyJavaAppserverClientProxy(LegacyJavaAppserverClient client, boolean trackChanges)
client
- The proxy client.trackChanges
- Flag indicating if changes are tracked for all datasets, by default.public void dispose()
proxy
.public java.util.List<commonj.sdo.DataObject> listRows(commonj.sdo.DataGraph graph, java.lang.String table)
graph
- The parent data graph.table
- The table name.public commonj.sdo.DataObject createRow(commonj.sdo.DataGraph graph, java.lang.String table)
graph
- The parent data graph.table
- The table name.addRow(commonj.sdo.DataGraph, commonj.sdo.DataObject)
to add it.public void addRow(commonj.sdo.DataGraph graph, commonj.sdo.DataObject row)
graph
- The parent data graph.row
- The row to insert.