Class ESIObjectHistoryRendererImpl

java.lang.Object
com.ptc.windchill.esi.rnd.ESIObjectHistoryRendererImpl
All Implemented Interfaces:
ESIObjectHistoryRenderer

public class ESIObjectHistoryRendererImpl extends Object implements ESIObjectHistoryRenderer
The default implementation of the ESIObjectHistoryRenderer interface.

Supported API: true

Extendable: true
  • Method Details

    • getBuilder

      protected ESIObjectHistoryBuilder getBuilder()
      Gets the object for the association that plays role: builder.

      Supported API: true
      Returns:
      ESIObjectHistoryBuilder
    • setBuilder

      protected void setBuilder(ESIObjectHistoryBuilder a_Builder) throws WTPropertyVetoException
      Sets the object for the association that plays role: builder.

      Supported API: true
      Parameters:
      a_Builder -
      Throws:
      WTPropertyVetoException
    • setData

      public void setData(String ufid) throws WTException
      Saves the argument in the ufid attribute.

      Supported API: true
      Specified by:
      setData in interface ESIObjectHistoryRenderer
      Parameters:
      ufid -
      Throws:
      WTException
    • render

      public void render(ESIObjectHistoryBuilder builder) throws WTException
      This is a template method for object history renderers. It saves the argument and then calls validate() and buildGroups().

      Supported API: true
      Specified by:
      render in interface ESIObjectHistoryRenderer
      Parameters:
      builder -
      Throws:
      WTException
    • validate

      protected void validate() throws ESIRendererException
      Insure that the object is ready to process. If attributes, builder and ufid, are null, throws an exception.

      Supported API: true
      Throws:
      ESIRendererException
    • buildGroups

      protected void buildGroups() throws WTException
      Processes the release activities associated with the object that is identified by the ufid attribute. Obtains a collection of ReleaseActivity objects from an ESITransactionUtility object. Passes the ReleaseActivity objects to the builder's addElement.

      Supported API: true
      Throws:
      WTException