com.ptc.epm.commands.transaction
Class AddContentOpSrv

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

public class AddContentOpSrv
extends AbstractContentOp

See Also:
Serialized Form

Field Summary
private static int BUFSIZ
           
private  String fileName
           
 
Fields inherited from class com.ptc.epm.commands.transaction.AbstractContentOp
applData, contentHolder, EDA_CATEGORY, file, NATIVE_CATEGORY
 
Constructor Summary
AddContentOpSrv()
           
AddContentOpSrv(ContentHolder holder, File file, String _fileName, boolean asPrimary)
           
 
Method Summary
 Object execute(DataExchange exchange)
           
 String toString()
           
 
Methods inherited from class com.ptc.epm.commands.transaction.AbstractContentOp
getApplData, isEDAFile, isNativeFile, publishResults, updateInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUFSIZ

private static final int BUFSIZ
See Also:
Constant Field Values

fileName

private String fileName
Constructor Detail

AddContentOpSrv

public AddContentOpSrv()

AddContentOpSrv

public AddContentOpSrv(ContentHolder holder,
                       File file,
                       String _fileName,
                       boolean asPrimary)
                throws WTException,
                       FileNotFoundException
Method Detail

execute

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

toString

public String toString()