com.ptc.epm.commands.util
Class CabinetHelper
java.lang.Object
com.ptc.epm.commands.util.CabinetHelper
- public class CabinetHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECADRESOURCE
private static final String ECADRESOURCE
- See Also:
- Constant Field Values
SERVER_CLASS
private static final String SERVER_CLASS
SERVER
static final boolean SERVER
DOCS_SUBFOLDER
public static final String DOCS_SUBFOLDER
- See Also:
- Constant Field Values
ASSEMBLY_SUBFOLDER
public static final String ASSEMBLY_SUBFOLDER
- See Also:
- Constant Field Values
BOARD_SUBFOLDER
public static final String BOARD_SUBFOLDER
- See Also:
- Constant Field Values
SOURCE_SUBFOLDER
public static final String SOURCE_SUBFOLDER
- See Also:
- Constant Field Values
SCHEMATIC_SUBFOLDER
public static final String SCHEMATIC_SUBFOLDER
- See Also:
- Constant Field Values
COMP_DOCS_SUBFOLDER
public static final String COMP_DOCS_SUBFOLDER
- See Also:
- Constant Field Values
PARTS_SUBFOLDER
public static final String PARTS_SUBFOLDER
- See Also:
- Constant Field Values
COMP_PARTS_SUBFOLDER
public static final String COMP_PARTS_SUBFOLDER
- See Also:
- Constant Field Values
CabinetHelper
public CabinetHelper()
createFolder
public static Folder createFolder(String folderPath)
throws WTException
- Throws:
WTException
getPersonalCabinet
public static Cabinet getPersonalCabinet()
throws WTException
- Throws:
WTException
getCheckoutFolder
public static Folder getCheckoutFolder()
throws WTException
- Throws:
WTException
getContentFolder
public static Folder getContentFolder(ECADDocument designDoc,
WTContainerRef containerRef)
throws WTException
- Throws:
WTException
getParentPath
public static String getParentPath(String folderPath)
getTargetContainer
public static WTContainerRef getTargetContainer(String solution,
String context)
throws WTException
- Get the WTContainer to be used for this ECAD operation
String solution CLASSIC, PDMLINK or PRJLINK
String context Project or Product or unused, depending on solution
- Throws:
WTException
getContainerName
public static String getContainerName(WTContainerRef containerRef)
getContainerSolutionName
public static String getContainerSolutionName(WTContainerRef containerRef)
getSubFolder
public static Folder getSubFolder(String subFolderPath,
Folder rootFolder,
WTContainerRef containerRef)
throws WTException
- Throws:
WTException
getSubFolder
protected static Folder getSubFolder(String subFolderPath,
Folder rootFolder)
throws WTException
- Throws:
WTException