Package wt.ixb.publicforhandlers
Class ExpImpForVersionedObject
java.lang.Object
wt.ixb.publicforhandlers.ClassExporterImporterTemplateGeneral
wt.ixb.publicforhandlers.ClassExporterImporterTemplate
wt.ixb.publicforhandlers.ExpImpForVersionedObject
- All Implemented Interfaces:
ClassExporter,ClassExporterImporter,ElementImporter
- Direct Known Subclasses:
wt.ixb.epm.handlers.forclasses._ExpImpForEPMDocument,wt.ixb.handlers.forclasses._ExpImpForWTDocument
Abstract class, most of standard export/import handlers extend. This class implements some typical model of
export/import process.
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 TypeMethodDescriptionvoidaddFoundMaster(Mastered obj) This method is used to record that a master object exists.booleanisMasterNew(Iterated obj) Indicates if the object's master is new.booleanisMasterNew(Mastered obj) Indicates if the object's master is new.protected voidsetMasterContainerReference(Mastered master, WTContainerRef containerRef) This method is used to set the containerReference on a Mastered object.storeObject(Object object, IxbElement fileXML, Importer importer) Deprecated.storeVersionedObject(Object object, IxbElement fileXML, Importer importer) Deprecated.UsestoreObjects(List, Importer)instead.Methods inherited from class wt.ixb.publicforhandlers.ClassExporterImporterTemplate
createFileXMLOnExport, execExportObjectContents, exportAttributes, exportAttributes, exportObject, finalizeImportObject, getRootTag, importObjectAttributes, importObjectAttributesAfterStore, 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
-
isMasterNew
Indicates if the object's master is new.
Supported API: true- Parameters:
obj- object to check- Returns:
- true if the master is new
-
isMasterNew
Indicates if the object's master is new.
Supported API: true- Parameters:
obj- object to check- Returns:
- true if the master is new
-
addFoundMaster
This method is used to record that a master object exists.
Supported API: true- Parameters:
obj- object to add
-
setMasterContainerReference
protected void setMasterContainerReference(Mastered master, WTContainerRef containerRef) throws WTException This method is used to set the containerReference on a Mastered object.
Supported API: true- Parameters:
master- object to setcontainerRef- value to set- Throws:
WTException
-
storeObject
@Deprecated public Object storeObject(Object object, IxbElement fileXML, Importer importer) throws WTException Deprecated.UsestoreObjects(List, Importer)instead.Stores object into database.
Supported API: true- Overrides:
storeObjectin classClassExporterImporterTemplate- Returns:
- Object
- Throws:
WTException
-
storeVersionedObject
@Deprecated public Object storeVersionedObject(Object object, IxbElement fileXML, Importer importer) throws WTException Deprecated.UsestoreObjects(List, Importer)instead.Stores object into database.
Supported API: true- Parameters:
object-fileXML-importer-- Returns:
- Throws:
WTException
-
storeObjects(List, Importer)instead.