Interface AutoAssociatePartFinderCreator
- All Known Implementing Classes:
DefaultAutoAssociatePartFinderCreator
public interface AutoAssociatePartFinderCreator
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptioncreateNewWTPart(AssociatePartDescriptor newPartDescriptor) Creates a new WTPart object.findOrCreateWTPart(EPMDocument doc, ModelItem modelItem, EPMWorkspace workspace) This method is used for finding or creating a single WTPart for a selected ModelItem in a Workspace, if a WTPart is not found in Windchill w.r.t the preference settings it will create one.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.
-
Method Details
-
findOrCreateWTPart
WTPart findOrCreateWTPart(EPMDocument epmDoc, EPMWorkspace workspace) throws WTException, WTPropertyVetoException, VersionControlException, UniquenessException 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.
Supported API: true- Parameters:
epmDoc-workspace-- Returns:
- WTPart
- Throws:
WTExceptionWTPropertyVetoExceptionVersionControlExceptionUniquenessException
-
findOrCreateWTPart
WTPart findOrCreateWTPart(EPMDocument doc, ModelItem modelItem, EPMWorkspace workspace) throws WTException, WTPropertyVetoException, VersionControlException, UniquenessException This method is used for finding or creating a single WTPart for a selected ModelItem in a Workspace, if a WTPart is not found in Windchill w.r.t the preference settings it will create one.
Supported API: true- Parameters:
modelItem-workspace-- Returns:
- WTPart
- Throws:
WTExceptionWTPropertyVetoExceptionVersionControlExceptionUniquenessException
-
createNewWTPart
WTPart createNewWTPart(AssociatePartDescriptor newPartDescriptor) throws WTException, WTPropertyVetoException Creates a new WTPart object. Does not store it, to allow multi-object store later, for performance reasons. Supported API: true- Parameters:
newPartDescriptor-- Returns:
- WTPart
- Throws:
WTExceptionWTPropertyVetoException
-