com.ptc.epm.commands
Class ECADCreateNewDesign

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

public class ECADCreateNewDesign
extends Object


Field Summary
private  ConfigSpec configSpec
           
private static boolean CREATE_PARTS
           
private  ECADDesign design
           
private  ECADAssemblyHelper.AssemblyOptions options
           
private  Folder rootFolder
           
private  ECADTransaction transaction
           
 
Constructor Summary
protected ECADCreateNewDesign(ECADDesign design, ECADAssemblyHelper.AssemblyOptions options)
           
 
Method Summary
protected  void buildASMStructure(Folder personalFolder, ECADAssembly assembly)
           
protected  void buildDESIGNStructure(Folder personalFolder)
           
static void create(ECADDesign design, ECADAssemblyHelper.AssemblyOptions options, Vector contentVector, File zipAssembly, Vector refDesVector)
           
protected  void create(File zipAssembly, Vector contents, Vector components)
           
protected  void createBaseline(ECADAssembly assembly)
           
protected  void finalizeConstruction()
           
private  String getUniqueDesignFolderName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_PARTS

private static final boolean CREATE_PARTS

design

private ECADDesign design

options

private ECADAssemblyHelper.AssemblyOptions options

transaction

private ECADTransaction transaction

rootFolder

private Folder rootFolder

configSpec

private ConfigSpec configSpec
Constructor Detail

ECADCreateNewDesign

protected ECADCreateNewDesign(ECADDesign design,
                              ECADAssemblyHelper.AssemblyOptions options)
                       throws WTException
Method Detail

create

public static void create(ECADDesign design,
                          ECADAssemblyHelper.AssemblyOptions options,
                          Vector contentVector,
                          File zipAssembly,
                          Vector refDesVector)
                   throws WTException
Throws:
WTException

getUniqueDesignFolderName

private String getUniqueDesignFolderName()

create

protected void create(File zipAssembly,
                      Vector contents,
                      Vector components)
               throws WTException
Throws:
WTException

buildDESIGNStructure

protected void buildDESIGNStructure(Folder personalFolder)
                             throws WTException,
                                    WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

buildASMStructure

protected void buildASMStructure(Folder personalFolder,
                                 ECADAssembly assembly)
                          throws WTException,
                                 WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

createBaseline

protected void createBaseline(ECADAssembly assembly)
                       throws WTException
Throws:
WTException

finalizeConstruction

protected void finalizeConstruction()
                             throws WTException,
                                    WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException