Package wt.ixb.epm.handlers.forclasses
Class ExpImpForEPMDocument
java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForVersionedObject
wt.ixb.epm.handlers.forclasses._ExpImpForEPMDocument
wt.ixb.epm.handlers.forclasses.ExpImpForEPMDocument
- All Implemented Interfaces:
ClassExporter,ClassExporterImporter,ElementImporter,wt.ixb.publicforhandlers.ExpImpOfObjectRefIfc,wt.ixb.publicforhandlers.ExpOfObjectRefIfc,wt.ixb.publicforhandlers.ImpOfObjectRefIfc
public class ExpImpForEPMDocument
extends wt.ixb.epm.handlers.forclasses._ExpImpForEPMDocument
implements wt.ixb.publicforhandlers.ExpImpOfObjectRefIfc
Supported API: true
Extendable: false
-
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 TypeMethodDescriptionprotected voidcheckALLEPMDocumentConflicts(List<IxbHndHelper.ElementObjectPair> elementObjectPairs, Importer importer) Checks conflicts that can arise while import process.voidcheckConflicts(List<IxbElement> elements, Importer importer) Checks conflicts that can arise while import process.protected voidcheckEPMDocumentConflictsforNonVersioned(List<IxbHndHelper.ElementObjectPair> elementObjectPairs, Importer importer) Checks conflicts that can arise while import process.protected voidimportEPMDocumentsAttributesAfterStore(List<IxbHndHelper.ElementObjectPair> list, Importer importer) Imports class specific atributes from the XML element after object gets stored.importObjectsAttributesAfterStore(List<IxbHndHelper.ElementObjectPair> list, Importer importer) Imports class specific atributes from the XML element after object gets stored
Supported API: truevoidimportObjectsMasterAttributes(List<IxbHndHelper.ElementObjectPair> list, Importer importer) Imports Master attributes for the specified object list.storeObjects(List<IxbHndHelper.ElementObjectPair> list, Importer importer) This method stores versioned objects.Methods inherited from class wt.ixb.publicforhandlers.ExpImpForVersionedObject
addFoundMaster, isMasterNew, isMasterNew, setMasterContainerReference, storeObject, storeVersionedObjectMethods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate
createFileXMLOnExport, execExportObjectContents, exportAttributes, exportObject, finalizeImportObject, prepareForCheckConflicts, 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
-
checkConflicts
Checks conflicts that can arise while import process.
Supported API: true- Specified by:
checkConflictsin interfaceElementImporter- Overrides:
checkConflictsin classClassExporterImporterTemplateGeneral- Parameters:
elements- the XML elements to be imported.importer- TheImporterinstance that represents the context of the import operation.- Throws:
WTException
-
checkEPMDocumentConflictsforNonVersioned
protected void checkEPMDocumentConflictsforNonVersioned(List<IxbHndHelper.ElementObjectPair> elementObjectPairs, Importer importer) throws WTException Checks conflicts that can arise while import process.
Supported API: true- Parameters:
elementObjectPairs- the XML elements and objects to be imported.importer- TheImporterinstance that represents the context of the import operation.- Throws:
WTException
-
checkALLEPMDocumentConflicts
protected void checkALLEPMDocumentConflicts(List<IxbHndHelper.ElementObjectPair> elementObjectPairs, Importer importer) throws WTException Checks conflicts that can arise while import process.
Supported API: true- Parameters:
elementObjectPairs- the XML elements and objects to be imported.importer- TheImporterinstance that represents the context of the import operation.- Throws:
WTException
-
importObjectsMasterAttributes
public void importObjectsMasterAttributes(List<IxbHndHelper.ElementObjectPair> list, Importer importer) throws WTException Imports Master attributes for the specified object list.
Supported API: true- Parameters:
list- the XML elements and objects to be imported.importer- TheImporterinstance that represents the context of the import operation.- Throws:
WTException
-
importObjectsAttributesAfterStore
public List<IxbHndHelper.ElementObjectPair> importObjectsAttributesAfterStore(List<IxbHndHelper.ElementObjectPair> list, Importer importer) throws WTException Imports class specific atributes from the XML element after object gets stored
Supported API: true- Specified by:
importObjectsAttributesAfterStorein interfaceElementImporter- Overrides:
importObjectsAttributesAfterStorein classClassExporterImporterTemplate- Parameters:
List- objects to import attriubtes onimporter- import context- Returns:
- List objects imported
- Throws:
WTException
-
importEPMDocumentsAttributesAfterStore
protected void importEPMDocumentsAttributesAfterStore(List<IxbHndHelper.ElementObjectPair> list, Importer importer) throws WTException Imports class specific atributes from the XML element after object gets stored.
Supported API: true- Parameters:
List- objects to import attriubtes onimporter- import context- Throws:
WTException
-
storeObjects
public List<IxbHndHelper.ElementObjectPair> storeObjects(List<IxbHndHelper.ElementObjectPair> list, Importer importer) throws WTException This method stores versioned objects.
Supported API: true- Overrides:
storeObjectsin classExpImpForVersionedObject- Parameters:
list- of element/object pairs to storeimporter- import context- Returns:
- list of stored element/object pairs
- Throws:
WTException
-