com.ptc.epm.commands.transaction
Class SaveOp

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

public class SaveOp
extends Object
implements TransactionOp

See Also:
Serialized Form

Field Summary
private  int numberObjects
           
private  Persistable[] objects
           
private  HashMap targetRevisionOnCreate
           
private  ArrayList usedWIPHelpers
           
 
Constructor Summary
SaveOp()
           
 
Method Summary
 void addTargetRevision(EPMDocument d, String targetRevision)
           
 Object execute(DataExchange exchange)
           
 String getTargetRevision(EPMDocument d)
           
 ArrayList getUsedWIPHelpersForCleanup()
           
 void publishResults(Object savedCopies, ResultsMapping results)
           
 void save(Persistable object)
           
 String toString()
           
 void updateInput(ObjectUpdateTable table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

objects

private Persistable[] objects

numberObjects

private int numberObjects

targetRevisionOnCreate

private HashMap targetRevisionOnCreate

usedWIPHelpers

private ArrayList usedWIPHelpers
Constructor Detail

SaveOp

public SaveOp()
Method Detail

save

public void save(Persistable object)

execute

public Object execute(DataExchange exchange)
               throws WTException
Specified by:
execute in interface TransactionOp
Throws:
WTException

publishResults

public void publishResults(Object savedCopies,
                           ResultsMapping results)
Specified by:
publishResults in interface TransactionOp

getUsedWIPHelpersForCleanup

public ArrayList getUsedWIPHelpersForCleanup()

addTargetRevision

public void addTargetRevision(EPMDocument d,
                              String targetRevision)

getTargetRevision

public String getTargetRevision(EPMDocument d)

toString

public String toString()

updateInput

public void updateInput(ObjectUpdateTable table)
Specified by:
updateInput in interface TransactionOp