com.ptc.epm.commands.transaction
Class ServerTransaction
java.lang.Object
com.ptc.epm.commands.transaction.ServerTransaction
- All Implemented Interfaces:
- RemoteAccess, Serializable
- public class ServerTransaction
- extends Object
- implements RemoteAccess, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ServerTransaction
public ServerTransaction()
ServerTransaction
public ServerTransaction(TransactionOp[] operations)
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