Package com.ptc.windchill.esi.rnd
Class ESIObjectHistoryRendererImpl
java.lang.Object
com.ptc.windchill.esi.rnd.ESIObjectHistoryRendererImpl
- All Implemented Interfaces:
ESIObjectHistoryRenderer
The default implementation of the ESIObjectHistoryRenderer interface.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidProcesses the release activities associated with the object that is identified by the ufid attribute.protected ESIObjectHistoryBuilderGets the object for the association that plays role: builder.voidrender(ESIObjectHistoryBuilder builder) This is a template method for object history renderers.protected voidsetBuilder(ESIObjectHistoryBuilder a_Builder) Sets the object for the association that plays role: builder.voidSaves the argument in the ufid attribute.protected voidvalidate()Insure that the object is ready to process.
-
Method Details
-
getBuilder
Gets the object for the association that plays role: builder.
Supported API: true- Returns:
- ESIObjectHistoryBuilder
-
setBuilder
Sets the object for the association that plays role: builder.
Supported API: true- Parameters:
a_Builder-- Throws:
WTPropertyVetoException
-
setData
Saves the argument in the ufid attribute.
Supported API: true- Specified by:
setDatain interfaceESIObjectHistoryRenderer- Parameters:
ufid-- Throws:
WTException
-
render
This is a template method for object history renderers. It saves the argument and then calls validate() and buildGroups().
Supported API: true- Specified by:
renderin interfaceESIObjectHistoryRenderer- Parameters:
builder-- Throws:
WTException
-
validate
Insure that the object is ready to process. If attributes, builder and ufid, are null, throws an exception.
Supported API: true- Throws:
ESIRendererException
-
buildGroups
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
-