Class VdbBuilderFactory

java.lang.Object
com.ptc.windchill.esi.rnd.VdbBuilderFactory
All Implemented Interfaces:
Externalizable, Serializable

public final class VdbBuilderFactory extends Object implements Externalizable
Creates an instance of the correct implementation of the VdbBuilder interface.

Supported API: true

Extendable: false
See Also:
  • Method Details

    • newVdbBuilder

      public static VdbBuilder newVdbBuilder(String transactionNumber) throws ESIRendererException
      Deprecated.
      Use newVdbBuilder(String, String) instead.

      Supported API: true
      Creates a new object from the appropriate VdbBuilder implementation class. Obtains the name of the implementation class from the ESI preference "Virtual Database Builder".
      Parameters:
      transactionNumber - Number of the ESI transaction for which to create the VdbBuilder object.
      Returns:
      VdbBuilder
      Throws:
      ESIRendererException
    • newVdbBuilder

      public static VdbBuilder newVdbBuilder(String transactionNumber, String objectId) throws ESIRendererException
      Creates a new object from the appropriate VdbBuilder implementation class. Obtains the name of the implementation class from the ESI preference "Virtual Database Builder". This overloaded version sets the member primaryBusinessObject on the VdbBuilder instance before returning it.

      Supported API: true
      Parameters:
      transactionNumber - Number of the ESI transaction for which to create the VdbBuilder object.
      objectId - UFID of the primary business object for which to create the VdbBuilder object.
      Returns:
      VdbBuilder instance.
      Throws:
      ESIRendererException - , if an error occurred during the instantiation.
    • newVdbBuilder

      public static VdbBuilder newVdbBuilder(String transactionNumber, Releasable object) throws ESIRendererException
      Creates a new object from the appropriate VdbBuilder implementation class. Obtains the name of the implementation class from the ESI preference "Virtual Database Builder". This overloaded version sets the member primaryBusinessObject on the VdbBuilder instance before returning it.

      Supported API: true
      Parameters:
      transactionNumber - Number of the ESI transaction for which to create the VdbBuilder object.
      object - Handle to the primary business object for which to create the VdbBuilder object.
      Returns:
      VdbBuilder instance.
      Throws:
      ESIRendererException - , if an error occurred during the instantiation.