com.ptc.wvs.server.loader
Class EDRContentTransaction

java.lang.Object
  extended bycom.ptc.wvs.server.loader.EDRContentTransaction
All Implemented Interfaces:
RemoteAccess, Serializable

public class EDRContentTransaction
extends Object
implements RemoteAccess, Serializable

See Also:
Serialized Form

Field Summary
private  boolean executeFlag
           
private  int resultIndex
           
private  String sessionId
           
private  Object trx
           
private  Vector workers
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
EDRContentTransaction()
           
 
Method Summary
 void addUpdate(ContentHolder content_holder, ApplicationData app_data, InputStream in)
           
protected  void addWorker(Object worker)
           
 void execute()
           
 Vector execute(Vector workers)
           
 ApplicationData getUpdateResult()
           
 EDRContentTransaction 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

workers

private transient Vector workers

sessionId

private transient String sessionId

executeFlag

private transient boolean executeFlag

trx

private transient Object trx

resultIndex

private int resultIndex
Constructor Detail

EDRContentTransaction

public EDRContentTransaction()
Method Detail

addUpdate

public void addUpdate(ContentHolder content_holder,
                      ApplicationData app_data,
                      InputStream in)

addWorker

protected void addWorker(Object worker)

getUpdateResult

public ApplicationData getUpdateResult()

execute

public void execute()
             throws WTException
Throws:
WTException

prepareForExecute

public EDRContentTransaction prepareForExecute()
                                        throws WTException
Throws:
WTException

execute

public Vector execute(Vector workers)
               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