com.ptc.windchill.classproxy
Class CadxClassProxy
java.lang.Object
com.ptc.windchill.classproxy.ClassProxy
com.ptc.windchill.classproxy.CadxClassProxy
- public class CadxClassProxy
- extends ClassProxy
Method Summary |
static EPMDocument |
createNewEPMDocument(String documentNumber,
String documentName,
String modelName,
String location,
String modelType,
EPMDocument templateEPMDocument,
EPMWorkspace wsObj,
WTOrganization org,
WTContainer container,
boolean createInPersonalCabinet)
|
static boolean |
doesEPMDocumentMasterExist(String number)
|
static boolean |
doesModelNameContainValidCharacters(Object cadDocSpec,
String name,
String modelType)
|
static EPMWorkspace |
getActiveWorkspace(HTTPState https)
|
static String |
getActiveWorkspaceName(HTTPRequest httpreq)
|
static Object[] |
getAssociatedDocsAndParts(Object[] selectedObj)
|
static EPMWorkspace |
getAssociatedWorkspace(Workable target)
|
static EPMDocument[] |
getFamilyInstances(EPMDocument genericDoc,
ConfigSpec configSpec)
|
static EPMDocument |
getGenericForInstance(EPMDocument instanceDoc,
ConfigSpec configSpec)
|
static String[] |
getGenericName(Vector epms)
|
static Integer |
getModelNamesMaxSize(Object cadDocSpec)
|
static Integer |
getNamesMaxSize(Object cadDocSpec)
|
static String |
getOpenModelAnchorLinkHTML(String wsname,
EPMDocument obj,
String genericName,
String activeProEServerAlias,
String linkTitle,
String linkID,
String linkCSS,
String onclickURL,
Locale locale,
Boolean isK_01ProeE)
|
static String |
getProeDatecode(HTTPRequest request)
|
static Vector |
getProjectLinkProjects(HTTPState https)
|
static String |
getProjectLinkServerName(HTTPRequest httpreq,
String projectName)
|
static String |
getProjectLinkWorkspaceName(HTTPRequest httpreq,
String projectName)
|
static String |
getServerName(HTTPRequest httpreq)
|
static QueryResult |
getTemplateCADDocs(WTContainer container,
QuerySpec querySpec,
Locale locale,
boolean lookup,
boolean removeOverridden,
boolean firstMatchOnly)
|
static EPMWorkspace[] |
getWorkspacesForCurrentUser()
|
static WTContainer |
getWTContainer(String containerOid)
|
protected static boolean |
initMethods()
|
static boolean |
isAuthoringApplicationProE(EPMDocument doc)
|
static boolean |
isDocumentGeneric(EPMDocument epmDoc)
|
static boolean |
isDocumentInstance(EPMDocument epmDoc)
|
static boolean |
isK_01(javax.servlet.http.HttpServletRequest request)
|
static boolean |
isModelExtensionValid(Object cadDocSpec,
String name,
String modelType)
|
static boolean |
isModelNameSizeValid(Object cadDocSpec,
String name)
|
static boolean |
isNameSizeValid(Object cadDocSpec,
String name)
|
static boolean |
isNewObject(Object object)
|
static boolean |
isNumberSizeValid(Object cadDocSpec,
String name)
|
static Object |
newCADDocSpec(String authAppName)
|
static EPMDocument |
setDescription(EPMDocument doc,
String docDescription)
|
static String |
validModelExtensions(Object cadDocSpec,
String modelType)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPMDocumentUtilities_PROE_AUTHORING_APPLICATION
public static final String EPMDocumentUtilities_PROE_AUTHORING_APPLICATION
CADDocTypes_CAD_ASSEMBLY
public static final String CADDocTypes_CAD_ASSEMBLY
CADDocTypes_CAD_COMPONENT
public static final String CADDocTypes_CAD_COMPONENT
CADDocTypes_CAD_DRAWING
public static final String CADDocTypes_CAD_DRAWING
CADDocTypes_DIAGRAM
public static final String CADDocTypes_DIAGRAM
CADDocTypes_FORMAT
public static final String CADDocTypes_FORMAT
CADDocTypes_LAYOUT
public static final String CADDocTypes_LAYOUT
CADDocTypes_MANUFACTURING
public static final String CADDocTypes_MANUFACTURING
CADDocTypes_MARKUP
public static final String CADDocTypes_MARKUP
CADDocTypes_OTHER
public static final String CADDocTypes_OTHER
CADDocTypes_REPORT
public static final String CADDocTypes_REPORT
caddocResource_DEPENDENCY_TYPE
public static final String caddocResource_DEPENDENCY_TYPE
caddocResource_DEP_T_ACCELERATOR
public static final String caddocResource_DEP_T_ACCELERATOR
caddocResource_DEP_T_ALUMNI_MEMB
public static final String caddocResource_DEP_T_ALUMNI_MEMB
caddocResource_DEP_T_CONCEPT_MODEL
public static final String caddocResource_DEP_T_CONCEPT_MODEL
caddocResource_DEP_T_DRAW
public static final String caddocResource_DEP_T_DRAW
caddocResource_DEP_T_DUMMY
public static final String caddocResource_DEP_T_DUMMY
caddocResource_DEP_T_EXTRACT_ASSY
public static final String caddocResource_DEP_T_EXTRACT_ASSY
caddocResource_DEP_T_FORMAT
public static final String caddocResource_DEP_T_FORMAT
caddocResource_DEP_T_GENERIC
public static final String caddocResource_DEP_T_GENERIC
caddocResource_DEP_T_GROUP
public static final String caddocResource_DEP_T_GROUP
caddocResource_DEP_T_INHERITANCE
public static final String caddocResource_DEP_T_INHERITANCE
caddocResource_DEP_T_INST_DUMMY
public static final String caddocResource_DEP_T_INST_DUMMY
caddocResource_DEP_T_INTEGR_PROJ
public static final String caddocResource_DEP_T_INTEGR_PROJ
caddocResource_DEP_T_INTRCH_ASM
public static final String caddocResource_DEP_T_INTRCH_ASM
caddocResource_DEP_T_INTRCH_MEMB
public static final String caddocResource_DEP_T_INTRCH_MEMB
caddocResource_DEP_T_MARKUP
public static final String caddocResource_DEP_T_MARKUP
caddocResource_DEP_T_MEMBER
public static final String caddocResource_DEP_T_MEMBER
caddocResource_DEP_T_MERGE
public static final String caddocResource_DEP_T_MERGE
caddocResource_DEP_T_MFG
public static final String caddocResource_DEP_T_MFG
caddocResource_DEP_T_MISC
public static final String caddocResource_DEP_T_MISC
caddocResource_DEP_T_NON_PLACED_MEMB
public static final String caddocResource_DEP_T_NON_PLACED_MEMB
caddocResource_DEP_T_OVERLAY
public static final String caddocResource_DEP_T_OVERLAY
caddocResource_DEP_T_PDMSUB
public static final String caddocResource_DEP_T_PDMSUB
caddocResource_DEP_T_PDM_MEMBER
public static final String caddocResource_DEP_T_PDM_MEMBER
caddocResource_DEP_T_REFPAT
public static final String caddocResource_DEP_T_REFPAT
caddocResource_DEP_T_REFTAB
public static final String caddocResource_DEP_T_REFTAB
caddocResource_DEP_T_SCOPE
public static final String caddocResource_DEP_T_SCOPE
caddocResource_DEP_T_SUBST_INT
public static final String caddocResource_DEP_T_SUBST_INT
caddocResource_DEP_T_SUPP_MEMB
public static final String caddocResource_DEP_T_SUPP_MEMB
caddocResource_DEP_T_UDF_MODEL
public static final String caddocResource_DEP_T_UDF_MODEL
caddocResource_DEP_T_USER
public static final String caddocResource_DEP_T_USER
caddocResource_DEP_T_USER_MEMBER
public static final String caddocResource_DEP_T_USER_MEMBER
caddocResource_DEP_T_VRML_MEMBER
public static final String caddocResource_DEP_T_VRML_MEMBER
newcaddocResource_DESC_EXCEEDS_LIMIT
public static final String newcaddocResource_DESC_EXCEEDS_LIMIT
newcaddocResource_DOC_NUM_BLANK
public static final String newcaddocResource_DOC_NUM_BLANK
newcaddocResource_DOC_NUM_EXISTS
public static final String newcaddocResource_DOC_NUM_EXISTS
newcaddocResource_DOC_NUM_TOO_LONG
public static final String newcaddocResource_DOC_NUM_TOO_LONG
newcaddocResource_ERROR_MODEL_NAME_CONTAINS_INVALID_CHARACTERS
public static final String newcaddocResource_ERROR_MODEL_NAME_CONTAINS_INVALID_CHARACTERS
newcaddocResource_INVALID_EXTENSION
public static final String newcaddocResource_INVALID_EXTENSION
newcaddocResource_INVALID_NAME_SIZE
public static final String newcaddocResource_INVALID_NAME_SIZE
newcaddocResource_MODEL_NAME_MAX_LIMIT_EXCEEDED
public static final String newcaddocResource_MODEL_NAME_MAX_LIMIT_EXCEEDED
newcaddocResource_NUMBER_OR_MODEL_NAME_REQD
public static final String newcaddocResource_NUMBER_OR_MODEL_NAME_REQD
containerResource_CONTAINER_CONTEXT
public static final String containerResource_CONTAINER_CONTEXT
isNewObject
private static Method isNewObject
getGenericForInstance
private static Method getGenericForInstance
setDescription
private static Method setDescription
doesEPMDocumentMasterExist
private static Method doesEPMDocumentMasterExist
getFamilyInstances
private static Method getFamilyInstances
getAssociatedDocsAndParts
private static Method getAssociatedDocsAndParts
getWorkspacesForCurrentUser
private static Method getWorkspacesForCurrentUser
getServerName
private static Method getServerName
getProjectLinkServerName
private static Method getProjectLinkServerName
getAssociatedWorkspace
private static Method getAssociatedWorkspace
getActiveWorkspace
private static Method getActiveWorkspace
getProjectLinkProjects
private static Method getProjectLinkProjects
getActiveWorkspaceName
private static Method getActiveWorkspaceName
getProjectLinkWorkspaceName
private static Method getProjectLinkWorkspaceName
isAuthoringApplicationProE
private static Method isAuthoringApplicationProE
isK_01
private static Method isK_01
getGenericName
private static Method getGenericName
getOpenModelAnchorLinkHTML
private static Method getOpenModelAnchorLinkHTML
getProeDatecode
private static Method getProeDatecode
isDocumentGeneric
private static Method isDocumentGeneric
isDocumentInstance
private static Method isDocumentInstance
getTemplateCADDocs
private static Method getTemplateCADDocs
createNewEPMDocument
private static Method createNewEPMDocument
newCADDocSpec
private static Method newCADDocSpec
getWTContainer
private static Method getWTContainer
validModelExtensions
private static Method validModelExtensions
getNamesMaxSize
private static Method getNamesMaxSize
getModelNamesMaxSize
private static Method getModelNamesMaxSize
isModelNameSizeValid
private static Method isModelNameSizeValid
isNameSizeValid
private static Method isNameSizeValid
isNumberSizeValid
private static Method isNumberSizeValid
isModelExtensionValid
private static Method isModelExtensionValid
doesModelNameContainValidCharacters
private static Method doesModelNameContainValidCharacters
CadxClassProxy
public CadxClassProxy()
isNewObject
public static boolean isNewObject(Object object)
throws WTException
- Throws:
WTException
getGenericForInstance
public static EPMDocument getGenericForInstance(EPMDocument instanceDoc,
ConfigSpec configSpec)
throws WTException
- Throws:
WTException
setDescription
public static EPMDocument setDescription(EPMDocument doc,
String docDescription)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
doesEPMDocumentMasterExist
public static boolean doesEPMDocumentMasterExist(String number)
throws WTException
- Throws:
WTException
getFamilyInstances
public static EPMDocument[] getFamilyInstances(EPMDocument genericDoc,
ConfigSpec configSpec)
throws WTException
- Throws:
WTException
getAssociatedDocsAndParts
public static Object[] getAssociatedDocsAndParts(Object[] selectedObj)
throws WTException
- Throws:
WTException
getWorkspacesForCurrentUser
public static EPMWorkspace[] getWorkspacesForCurrentUser()
throws WTException
- Throws:
WTException
getServerName
public static String getServerName(HTTPRequest httpreq)
throws WTException
- Throws:
WTException
getProjectLinkServerName
public static String getProjectLinkServerName(HTTPRequest httpreq,
String projectName)
throws WTException
- Throws:
WTException
getAssociatedWorkspace
public static EPMWorkspace getAssociatedWorkspace(Workable target)
throws WTException
- Throws:
WTException
getActiveWorkspace
public static EPMWorkspace getActiveWorkspace(HTTPState https)
throws WTException
- Throws:
WTException
getProjectLinkProjects
public static Vector getProjectLinkProjects(HTTPState https)
throws WTException
- Throws:
WTException
getActiveWorkspaceName
public static String getActiveWorkspaceName(HTTPRequest httpreq)
throws WTException
- Throws:
WTException
getProjectLinkWorkspaceName
public static String getProjectLinkWorkspaceName(HTTPRequest httpreq,
String projectName)
throws WTException
- Throws:
WTException
isAuthoringApplicationProE
public static boolean isAuthoringApplicationProE(EPMDocument doc)
throws WTException
- Throws:
WTException
isK_01
public static boolean isK_01(javax.servlet.http.HttpServletRequest request)
throws WTException
- Throws:
WTException
getGenericName
public static String[] getGenericName(Vector epms)
throws WTException
- Throws:
WTException
getOpenModelAnchorLinkHTML
public static String getOpenModelAnchorLinkHTML(String wsname,
EPMDocument obj,
String genericName,
String activeProEServerAlias,
String linkTitle,
String linkID,
String linkCSS,
String onclickURL,
Locale locale,
Boolean isK_01ProeE)
throws WTException
- Throws:
WTException
getProeDatecode
public static String getProeDatecode(HTTPRequest request)
throws WTException
- Throws:
WTException
isDocumentGeneric
public static boolean isDocumentGeneric(EPMDocument epmDoc)
throws WTException
- Throws:
WTException
isDocumentInstance
public static boolean isDocumentInstance(EPMDocument epmDoc)
throws WTException
- Throws:
WTException
getTemplateCADDocs
public static QueryResult getTemplateCADDocs(WTContainer container,
QuerySpec querySpec,
Locale locale,
boolean lookup,
boolean removeOverridden,
boolean firstMatchOnly)
throws WTException
- Throws:
WTException
createNewEPMDocument
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
- Throws:
WTException
newCADDocSpec
public static Object newCADDocSpec(String authAppName)
throws WTException
- Throws:
WTException
getWTContainer
public static WTContainer getWTContainer(String containerOid)
throws WTException
- Throws:
WTException
validModelExtensions
public static String validModelExtensions(Object cadDocSpec,
String modelType)
throws WTException
- Throws:
WTException
getNamesMaxSize
public static Integer getNamesMaxSize(Object cadDocSpec)
throws WTException
- Throws:
WTException
getModelNamesMaxSize
public static Integer getModelNamesMaxSize(Object cadDocSpec)
throws WTException
- Throws:
WTException
isModelNameSizeValid
public static boolean isModelNameSizeValid(Object cadDocSpec,
String name)
throws WTException
- Throws:
WTException
isNameSizeValid
public static boolean isNameSizeValid(Object cadDocSpec,
String name)
throws WTException
- Throws:
WTException
isNumberSizeValid
public static boolean isNumberSizeValid(Object cadDocSpec,
String name)
throws WTException
- Throws:
WTException
isModelExtensionValid
public static boolean isModelExtensionValid(Object cadDocSpec,
String name,
String modelType)
throws WTException
- Throws:
WTException
doesModelNameContainValidCharacters
public static boolean doesModelNameContainValidCharacters(Object cadDocSpec,
String name,
String modelType)
throws WTException
- Throws:
WTException
initMethods
protected static boolean initMethods()