com.ptc.epm.commands.transaction
Class ServerTransaction

java.lang.Object
  extended bycom.ptc.epm.commands.transaction.ServerTransaction
All Implemented Interfaces:
RemoteAccess, Serializable

public class ServerTransaction
extends Object
implements RemoteAccess, Serializable

See Also:
Serialized Form

Field Summary
private  boolean executeFlag
           
private  TransactionOp[] operations
           
private  int resultIndex
           
(package private) static boolean SERVER
           
private  String sessionId
           
private  Object trx
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
ServerTransaction()
           
ServerTransaction(TransactionOp[] operations)
           
 
Method Summary
 Object[] execute()
           
 Object[] execute(TransactionOp[] operations)
           
 ServerTransaction prepareForExecute()
           
private  void readObject(ObjectInputStream input_stream)
           
private  void startTransaction()
           
private  void writeObject(ObjectOutputStream output_stream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

operations

private transient TransactionOp[] operations

sessionId

private transient String sessionId

executeFlag

private transient boolean executeFlag

trx

private transient Object trx

resultIndex

private int resultIndex
Constructor Detail

ServerTransaction

public ServerTransaction()

ServerTransaction

public ServerTransaction(TransactionOp[] operations)
Method Detail

execute

public Object[] execute()
                 throws WTException
Throws:
WTException

prepareForExecute

public ServerTransaction prepareForExecute()
                                    throws WTException
Throws:
WTException

execute

public Object[] execute(TransactionOp[] operations)
                 throws WTException
Throws:
WTException

readObject

private void readObject(ObjectInputStream input_stream)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

startTransaction

private void startTransaction()
                       throws IOException
Throws:
IOException

writeObject

private void writeObject(ObjectOutputStream output_stream)
                  throws IOException
Throws:
IOException