Class ExpImpForVersionedObject

All Implemented Interfaces:
ClassExporter, ClassExporterImporter, ElementImporter
Direct Known Subclasses:
wt.ixb.epm.handlers.forclasses._ExpImpForEPMDocument, wt.ixb.handlers.forclasses._ExpImpForWTDocument

public abstract class ExpImpForVersionedObject extends ClassExporterImporterTemplate
Abstract class, most of standard export/import handlers extend. This class implements some typical model of export/import process.

Supported API: true
  • Method Details

    • isMasterNew

      public boolean isMasterNew(Iterated obj)
      Indicates if the object's master is new.

      Supported API: true
      Parameters:
      obj - object to check
      Returns:
      true if the master is new
    • isMasterNew

      public boolean isMasterNew(Mastered obj)
      Indicates if the object's master is new.

      Supported API: true
      Parameters:
      obj - object to check
      Returns:
      true if the master is new
    • addFoundMaster

      public void addFoundMaster(Mastered obj)
      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 set
      containerRef - value to set
      Throws:
      WTException
    • storeObject

      @Deprecated public Object storeObject(Object object, IxbElement fileXML, Importer importer) throws WTException
      Deprecated.
      Stores object into database.

      Supported API: true
      Overrides:
      storeObject in class ClassExporterImporterTemplate
      Returns:
      Object
      Throws:
      WTException
    • storeVersionedObject

      @Deprecated public Object storeVersionedObject(Object object, IxbElement fileXML, Importer importer) throws WTException
      Deprecated.
      Stores object into database.

      Supported API: true
      Parameters:
      object -
      fileXML -
      importer -
      Returns:
      Throws:
      WTException