|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.util.CADDocUtilities
Field Summary | |
private static boolean |
VERBOSE
|
Constructor Summary | |
CADDocUtilities()
|
Method Summary | |
static EPMDocument |
createNewEPMDocument(String documentNumber,
String documentName,
String modelName,
String location,
String modelType,
EPMDocument templateEPMDocument,
EPMWorkspace wsObj,
boolean createInPersonalCabinet)
Deprecated. Use createNewEPMDocument (String documentNumber, String documentName, String modelName, String location, String modelType, EPMDocument templateEPMDocument,EPMWorkspace wsObj,WTOrganization org, WTContainer container, boolean createInPersonalCabinet) |
static EPMDocument |
createNewEPMDocument(String documentNumber,
String documentName,
String modelName,
String location,
String modelType,
EPMDocument templateEPMDocument,
EPMWorkspace wsObj,
WTOrganization org,
WTContainer container)
|
static EPMDocument |
createNewEPMDocument(String documentNumber,
String documentName,
String modelName,
String location,
String modelType,
EPMDocument templateEPMDocument,
EPMWorkspace wsObj,
WTOrganization org,
WTContainer container,
boolean createInPersonalCabinet)
Create the CAD Document in the specified shared folder location or in the personal cabinet of the workspace folder, based upon the specified choice. |
static String |
getTemplateDocNumber(String modelType,
String sectName)
For the given model type, find out from the EPD param file the document number of the template file. |
static EPMDocument |
getTemplateEPMDocument(String number)
Deprecated. Instead use EPMDocumentUtilities.getTemplateEPMDocument (templateDocNumber, container) |
static Boolean |
isOpenableProEDocument(String cadName)
|
static Boolean |
isValidProEDocumentType(EPMDocument obj)
|
static EPMDocument |
newCopyEPMDocument(EPMDocument document,
String newnumber,
String newname,
Folder folder,
String newCADName)
For the specified (template) CAD Doc and for the specified values, create a new CAD Doc using Enterprise services newCopy operation. |
static EPMDocument |
saveNewEPMDocument(EPMDocument document,
EPMDocument templateEPMDocument,
boolean createInPersonalCabinet,
String location,
WTContainer container)
Persist the newly constructed EPMDocument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static boolean VERBOSE
Constructor Detail |
public CADDocUtilities()
Method Detail |
public static String getTemplateDocNumber(String modelType, String sectName)
public static EPMDocument getTemplateEPMDocument(String number) throws WTException
WTException
public static EPMDocument createNewEPMDocument(String documentNumber, String documentName, String modelName, String location, String modelType, EPMDocument templateEPMDocument, EPMWorkspace wsObj, boolean createInPersonalCabinet) throws WTException
WTException
public static EPMDocument createNewEPMDocument(String documentNumber, String documentName, String modelName, String location, String modelType, EPMDocument templateEPMDocument, EPMWorkspace wsObj, WTOrganization org, WTContainer container) throws WTException
WTException
public static EPMDocument createNewEPMDocument(String documentNumber, String documentName, String modelName, String location, String modelType, EPMDocument templateEPMDocument, EPMWorkspace wsObj, WTOrganization org, WTContainer container, boolean createInPersonalCabinet) throws WTException
WTException
public static EPMDocument saveNewEPMDocument(EPMDocument document, EPMDocument templateEPMDocument, boolean createInPersonalCabinet, String location, WTContainer container) throws WTException
document
- templateEPMDocument
- createInPersonalCabinet
- location
- container
-
WTException
public static Boolean isValidProEDocumentType(EPMDocument obj)
public static Boolean isOpenableProEDocument(String cadName)
public static EPMDocument newCopyEPMDocument(EPMDocument document, String newnumber, String newname, Folder folder, String newCADName) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |