|
An object is imported by the following sequence: createObject(), importObjectAttributes(), storeObjects(), importObjectAttributesAfterStore().
• createObject()
This method is implemented in the class ExpImpForVersionedObject. The creation of objects will be delegated to Actor classes, depends on the actor name in the XML file (The actor name is writen into the XML file by import application). Particular object handlers don’t have to worry about createObject() and Actor.
• importObjectAttributes()
• Import all attributes of the object that can be imported before the object is stored.
• storeObject()
This method is implemented in the class ExpImpForVersionedObject. The store of objects will be delegated to Actor classes, depends on the actor name in the XML file (The actor name is writen into the XML file by import application). Particular object handlers don’t have to worry about storeObject() and Actor.
• importObjectAttributesAfterStore()
Import all attributes of the object that must be imported after the object is stored
ExpImpForWTPart, ExpImpForDocument, ExpImpForEPMDocument are examples of import handlers for versioned objects.
|