com.ptc.epm.commands
Class ECADConvert

java.lang.Object
  extended bycom.ptc.epm.commands.ECADConvert

public class ECADConvert
extends Object


Nested Class Summary
static class ECADConvert.ContentServer
           
 
Field Summary
(package private) static boolean SERVER
           
private static String SERVER_CLASS
           
 
Constructor Summary
ECADConvert()
           
 
Method Summary
static void addSchematic(String number, String version, WTContainerRef containerRef)
           
static void download(WTContainerRef containerRef, String number, String version, String directory)
           
static boolean isLegacyData(String number, String version, WTContainerRef containerRef)
           
static boolean preserveOldFormatApp(EPMDocument epmDoc)
           
static void removeContent(ContentHolder holder, ApplicationData tar_content)
           
static void removeSourceContent(String number, String version, WTContainerRef containerRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_CLASS

private static final String SERVER_CLASS

SERVER

static final boolean SERVER
Constructor Detail

ECADConvert

public ECADConvert()
Method Detail

isLegacyData

public static boolean isLegacyData(String number,
                                   String version,
                                   WTContainerRef containerRef)
                            throws WTException
Throws:
WTException

preserveOldFormatApp

public static boolean preserveOldFormatApp(EPMDocument epmDoc)
                                    throws WTException
Throws:
WTException

addSchematic

public static void addSchematic(String number,
                                String version,
                                WTContainerRef containerRef)
                         throws WTException
Throws:
WTException

removeSourceContent

public static void removeSourceContent(String number,
                                       String version,
                                       WTContainerRef containerRef)
                                throws WTException
Throws:
WTException

download

public static void download(WTContainerRef containerRef,
                            String number,
                            String version,
                            String directory)
                     throws WTException,
                            IOException
Throws:
WTException
IOException

removeContent

public static void removeContent(ContentHolder holder,
                                 ApplicationData tar_content)
                          throws WTException,
                                 WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException