Package com.ptc.windchill.esi.rnd
Class VdbBuilderFactory
java.lang.Object
com.ptc.windchill.esi.rnd.VdbBuilderFactory
- All Implemented Interfaces:
Externalizable,Serializable
Creates an instance of the correct implementation of the VdbBuilder interface.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic VdbBuildernewVdbBuilder(String transactionNumber) Deprecated.Use newVdbBuilder(String, String) instead.static VdbBuildernewVdbBuilder(String transactionNumber, String objectId) Creates a new object from the appropriate VdbBuilder implementation class.static VdbBuildernewVdbBuilder(String transactionNumber, Releasable object) Creates a new object from the appropriate VdbBuilder implementation class.
-
Method Details
-
newVdbBuilder
Deprecated.Use newVdbBuilder(String, String) instead.
Supported API: trueCreates 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.
-