ru.mfd.api
Class Transaction

java.lang.Object
  extended by ru.mfd.api.Transaction

public class Transaction
extends java.lang.Object

User: MMarkelov Date: 05.07.13 Time: 17:53


Constructor Summary
Transaction(SrvrSession srvrSession, java.lang.String transactionName)
          Initializes a new transaction instance.
 
Method Summary
 Row createRow()
          Creates new data row structure.
 void execute(Row row)
          Sends transaction row to server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transaction

public Transaction(SrvrSession srvrSession,
                   java.lang.String transactionName)
            throws ClientException
Initializes a new transaction instance.

Parameters:
srvrSession - server session
transactionName - name of transaction to initialize
Throws:
ClientException - if catalog or table not found
Method Detail

createRow

public Row createRow()
Creates new data row structure.

Returns:
newly created Row

execute

public void execute(Row row)
             throws ClientException
Sends transaction row to server.

Parameters:
row - Row filled with data
Throws:
ClientException


Copyright 2015 IFH-InfoCentre, Ltd.