com.ptc.epm.commands
Class ECADDelete

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

public class ECADDelete
extends Object


Field Summary
private static String ECADRESOURCE
           
 
Constructor Summary
ECADDelete()
           
 
Method Summary
private static void deleteAllParts(ECADTransaction transaction, EPMDocument thisDoc)
           
static void deleteDesign(String number, String version, String solution, String context)
           
private static void deleteDoc(ECADTransaction transaction, EPMDocument thisDoc)
           
private static void deletePart(ECADTransaction transaction, EPMDocument thisDoc)
           
private static void deleteSharedDocuments(EPMDocument epmDoc, List allDocs, ECADTransaction transaction, String message)
           
static WTPart getPartByNumber(String number)
           
private static boolean isSameDocument(EPMDocument docA, EPMDocument docB)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ECADRESOURCE

private static final String ECADRESOURCE
See Also:
Constant Field Values
Constructor Detail

ECADDelete

public ECADDelete()
Method Detail

deleteSharedDocuments

private static void deleteSharedDocuments(EPMDocument epmDoc,
                                          List allDocs,
                                          ECADTransaction transaction,
                                          String message)
                                   throws WTException
Throws:
WTException

deleteDesign

public static void deleteDesign(String number,
                                String version,
                                String solution,
                                String context)
                         throws WTException
Throws:
WTException

isSameDocument

private static boolean isSameDocument(EPMDocument docA,
                                      EPMDocument docB)

deleteAllParts

private static void deleteAllParts(ECADTransaction transaction,
                                   EPMDocument thisDoc)
                            throws WTException
Throws:
WTException

deletePart

private static void deletePart(ECADTransaction transaction,
                               EPMDocument thisDoc)

deleteDoc

private static void deleteDoc(ECADTransaction transaction,
                              EPMDocument thisDoc)

getPartByNumber

public static WTPart getPartByNumber(String number)
                              throws WTException
Throws:
WTException