Classes
These are the Windchill ESI services classes that publish CNs.
The figure above displays the abstract and concrete classes used for the Publish CN process. All Windchill ESI release activities utilize the abstract class BasicESIRenderer that provides an abstract mechanism for building the response representing the set of objects included in the release.
For Publish CN, there are two such renderers – the ESIWTChangeOrder2Renderer and the ESIECNHeaderRenderer. Both classes extend BasicESIRenderer and add a setData() method with arguments specific to each rendering task. All Windchill ESI Renderers follow this pattern.
BasicESIRenderer
This is the abstract class implementing the interface ESIRenderer and is extended by both ESIWTChangeOrder2Renderer and ESIECNHeaderRenderer. See section
BasicESIRenderer for more information on
BasicESIRenderer.
ESIWTChangeOrder2Renderer
The ESIWTChangeOrder2Renderer class is the out-of-the-box extension of the abstract class BasicESIRenderer. The ESIWTChangeOrder2Renderer class utilizes the ESIECNHeaderRenderer class for constructing the CN Header in the response. For each part listed as a changeable on the Change Order, this class determines whether the part is an assembly (BOM) or a separate part and then delegates to either an ESIBOMRenderer or an ESIWTPartRenderer respectively, as shown in the figure Windchill ESI CN Release Support. For each document listed as a changeable on the Change Order, this class delegates the rendering task to an ESIDocumentsRenderer instance. For each process plan or resource (such as a tooling, a process material or a skill) that is listed as a changeable on the Change Order, this class delegates the rendering task to either an ESIProcessPlanRenderer or to an ESIResourceRenderer instance respectively. And for each option set that is listed as a changeable on the Change Order, this class delegates the rendering task to an OptionSetRenderer instance.
The class is intended to be extended. The class has several attributes that are available to subclasses. Each attribute has a protected getter method. The attributes do not have a setter method because their values are set by the setData() method.
Refer to the Windchill release specific Java documentation for more details on available methods in the class.
ESIECNHeaderRenderer
This class manages the generation of a CN header. It is the default extension of the abstract class BasicESIRenderer.
The class is intended to be extended. The class has several attributes that are available to subclasses. Each attribute has a protected getter method. The attributes do not have a setter method because their values are set by the setData() method. Refer to the Windchill release specific Java documentation for more details on available methods in the class.
ESIChangeOrgFinder
This class provides methods to get a collection of distribution targets for CN objects. The class is not intended to be extended by customizers. It may be used by customizers.
Refer to the Windchill release specific Java documentation for more details on available methods in the class
ESIRendererFactory
This class serves as a common factory for instantiating ESI renderers.
Refer to the Windchill release specific Java documentation for more details on available methods in the class.