Package wt.ixb.publicforhandlers
Class ExpImpForLinkObject
java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForLinkObject
- All Implemented Interfaces:
ClassExporter,ClassExporterImporter,ElementImporter
- Direct Known Subclasses:
wt.associativity.ixb.handlers.forclasses._ExpImpForEquivalenceLink,wt.esi.ixb.handlers.forclasses._ExpImpForERPPartSpecificPlantDataLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMCompatibilityLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMDescribeMfgProcessLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMDocumentDescribeLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMDocumentReferenceLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMMfgStandardUsageLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationProcessLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationToConsumableLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationToOperatedPartLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationToPartLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationToWorkCenterLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMOperationUsageLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPartToPlantAssignmentLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPartToProcessPlanLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPlantAssignmentLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPlantLocalizationLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMPrecedenceConstraintLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMProcessPlanLocalizationLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMSequenceUsageLink,com.ptc.windchill.mpml.ixb.handlers.forclasses._ExpImpForMPMStandardProcedureLink,wt.ixb.handlers.forclasses._ExpImpForWTDocumentDependencyLink,wt.ixb.handlers.forclasses._ExpImpForWTDocumentUsageLink
Abstract class, most of standard export/import link handlers extend. This class implements some typical model of
export/import process for Links.
Supported API: true
Supported API: true
-
Field Summary
Fields inherited from interface wt.ixb.publicforhandlers.ClassExporter
NO_PRIORITYFields inherited from interface wt.ixb.publicforhandlers.ElementImporter
NO_PRIORITY -
Method Summary
Modifier and TypeMethodDescriptionimportElements(List<IxbElement> elements, Importer importer, String actionName, String tag) Imports XML elements in context given by importer parameter.voidprepareForCheckConflicts(List<IxbElement> ixbElementLst, Importer importer) Called in the beginning of conflict check process prior to the real import or preview.Methods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate
_checkConflicts, createFileXMLOnExport, execExportObjectContents, exportAttributes, exportAttributes, exportObject, finalizeImportObject, getRootTag, importElement, importObjectAttributes, importObjectAttributesAfterStore, rememberNewObInfo, storeAdditionalInfo, storeElementMethods 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
-
prepareForCheckConflicts
public void prepareForCheckConflicts(List<IxbElement> ixbElementLst, Importer importer) throws WTException Called in the beginning of conflict check process prior to the real import or preview. For ExpImpForLinkObjects, it inflates the required objects in the Local ID Attr Cache
Supported API: true- Specified by:
prepareForCheckConflictsin interfaceElementImporter- Overrides:
prepareForCheckConflictsin classClassExporterImporterTemplate- Parameters:
ixbElementLst- List of IxbElementsimporter- TheImporterinstance that represents the context of the import operation- Throws:
WTException
-
importElements
public List<IxbHndHelper.ElementObjectPair> importElements(List<IxbElement> elements, Importer importer, String actionName, String tag) throws WTException Imports XML elements in context given by importer parameter. Returns the imported objects. Overridden, so that we deflate the objects in the end
Supported API: true- Specified by:
importElementsin interfaceElementImporter- Overrides:
importElementsin classClassExporterImporterTemplate- Parameters:
elements- the XML elements to be imported.importer- TheImporterinstance that represents the context of the import operation.actionName- The action associated with this list of elements.tag- The tag associated with this list of elements.- Returns:
- List of imported objects
- Throws:
WTException
-