Class ExpImpForMPMStandardProcedureLink
java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForLinkObject
com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMStandardProcedureLink
com.ptc.windchill.mpml.ixb.handlers.forclasses.ExpImpForMPMStandardProcedureLink
- All Implemented Interfaces:
ClassExporter,ClassExporterImporter,ElementImporter
public class ExpImpForMPMStandardProcedureLink
extends com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMStandardProcedureLink
export import for the MPMStandardProcedureLink
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Nested Class Summary
Nested classes/interfaces inherited from class wt.ixb.publicforhandlers.ExpImpForLinkObject
ExpImpForLinkObject.LinkExpExclusionDependencyType, ExpImpForLinkObject.LinkRole, ExpImpForLinkObject.LinkStoreOwnershipType -
Field Summary
Fields inherited from class wt.ixb.publicforhandlers.ExpImpForLinkObject
ignoredLinksCacheFields inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate
LOGGER_DEPRECATIONFields inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
CONFLICT_RESOURCEFields inherited from interface wt.ixb.publicforhandlers.ClassExporter
NO_PRIORITYFields inherited from interface wt.ixb.publicforhandlers.ElementImporter
NO_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcreateLinkObject(IxbElement fileXML, Importer importer, Persistable roleAObj, Persistable roleBObj) Create a MPMStandardProcedureLink based on ufids of its ends (Uses and UsedBy).
Those ufids are retrieved from the MPMStandardProcedureLink's XML file.importObjectAttributesAfterStore(Object ob, IxbElement fileXML, Importer importer) Import attributes for a MPMStandardProcedureLink from its XML file after it is stored.
Supported API: trueMethods inherited from class wt.ixb.publicforhandlers.ExpImpForLinkObject
_getRoleAObject, _getRoleBObject, canLinkBeARoleObject, createObject, finalizeImportObjects, findAmongExistingObjectsByCollaborationInfo, findAmongExistingObjectsInternal, findAmongExistingObjectsInternal, findAmongMultipleLinksBetweenSameRole, getExportDependencyType, getImportPriority, getLinkEndTags, getObjectClassName, getObjectsForOwnership, getRoleAObject, getRoleBObject, importElements, isAnyRoleNew, isCheckNotCreateLinkForRoleA, isCheckNotCreateLinkForRoleB, isDanglingLinkAllowed, isLinkIgnored, isMultiObjFlowAllowed, isVersionReference, logLinkIgnoreMessage, logWarningMessageForDanglingLinks, markLinkAsDependentOnFaulty, overrideSearchByRoles, persistLinkObject, persistLinkObject, prepareForCheckConflicts, prepareForExport, prepareForImport, storeObject, storeObjects, updateObjects, validateEndpointsMethods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate
_checkConflicts, _findAmongExistingObjects, _findAmongExistingObjects, addFoundObject, applyAdminLockToObjects, createFileXMLOnExport, createObjects, dispatchCreateCollInfoEvent, execExportObjectContents, exportAttributes, exportObject, exportObject, finalizeImport, finalizeImportObject, findAmongExistingObjects, findAmongExistingObjectsDefault, importElement, importObjectsAttributes, importObjectsAttributesAfterStore, inValidateTheObjInCacheFromHandler, isObjectIgnored, isObjectIgnored, isObjectNew, isObjectNew, isUpdateObject, outputLog, rememberNewObInfo, rememberNewObjectsInfo, setObjectIgnored, setObjectIgnored, setObjectIsNew, setUpdateObject, storeAdditionalInfo, storeElement, storeObjectsBirthUfid, storeObjectsBirthUfid, updateObjectsAttributesMethods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
_checkConflicts, checkConflicts, finalizeCheckConflicts, finalizeExport, getAdditionalExportPriority, getAdditionalImportPriority, getExportPriority, getObjectDisplayID, hasAdditionalExportPriority, previewElement, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface wt.ixb.publicforhandlers.ElementImporter
getObjectDisplayIDs
-
Method Details
-
createLinkObject
protected Object createLinkObject(IxbElement fileXML, Importer importer, Persistable roleAObj, Persistable roleBObj) throws WTException Create a MPMStandardProcedureLink based on ufids of its ends (Uses and UsedBy).
Those ufids are retrieved from the MPMStandardProcedureLink's XML file.
If the ufids of the ends of the link are modified when they are imported, their new ufids will be retrieved from the Hashtable htModifiedObject defined in the class Importer.
Supported API: true- Specified by:
createLinkObjectin classExpImpForLinkObject- Parameters:
fileXML- XML file that contains information about the MPMStandardProcedureLinkimporter- The instance of the class Importer that calls this handler- Returns:
- the link if it is successfully created, or null
- Throws:
WTException
-
importObjectAttributesAfterStore
public Object importObjectAttributesAfterStore(Object ob, IxbElement fileXML, Importer importer) throws WTException Import attributes for a MPMStandardProcedureLink from its XML file after it is stored.
Supported API: true- Overrides:
importObjectAttributesAfterStorein classClassExporterImporterTemplate- Parameters:
ob- The MPMStandardProcedureLinkfileXML- XML file that contains information about the MPMStandardProcedureLinkimporter- The instance of the class Importer that calls this handler- Returns:
- the link if its attributes are successfully imported, or null
- Throws:
WTException
-