|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: true
Extendable: false
Field Summary | |
static String |
IS_NEW_PART
Label for the attribute. |
Method Summary | |
WTPart |
createNewWTPart(EPMDocument epmDoc,
String a_PartNumber,
String a_PartName,
PartType a_PartType,
String folderOID,
EPMWorkspace a_CurrentWS,
WTOrganization a_org,
Source a_source,
QuantityUnit a_defaultUnits)
|
WTPart |
findOrCreateWTPart(EPMDocument epmDoc,
EPMWorkspace workspace)
This method is used for finding or creating a single WTPart for a selected EPMDocument in a Workspace, if a WTPart is not found in Windchill w.r.t the preference settings it will create one. |
WTPart |
findWTPart(EPMDocument epmDoc)
This method finds a part to be associated to a document based on the preference settings specified. |
boolean |
isIsNewPart()
Gets the value of the attribute: IS_NEW_PART. |
void |
setIsNewPart(boolean a_IsNewPart)
Sets the value of the attribute: IS_NEW_PART. |
Field Detail |
public static final String IS_NEW_PART
Method Detail |
public boolean isIsNewPart()
public void setIsNewPart(boolean a_IsNewPart) throws WTPropertyVetoException
a_IsNewPart
-
WTPropertyVetoException
public WTPart findOrCreateWTPart(EPMDocument epmDoc, EPMWorkspace workspace) throws WTException, WTPropertyVetoException, VersionControlException, UniquenessException
epmDoc
- workspace
-
WTException
WTPropertyVetoException
VersionControlException
UniquenessException
public WTPart findWTPart(EPMDocument epmDoc) throws WTException, WTPropertyVetoException, VersionControlException, UniquenessException
epmDoc
-
WTException
WTPropertyVetoException
VersionControlException
UniquenessException
public WTPart createNewWTPart(EPMDocument epmDoc, String a_PartNumber, String a_PartName, PartType a_PartType, String folderOID, EPMWorkspace a_CurrentWS, WTOrganization a_org, Source a_source, QuantityUnit a_defaultUnits) throws WTException, WTPropertyVetoException, VersionControlException, UniquenessException
WTException
WTPropertyVetoException
VersionControlException
UniquenessException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |