Class ChangeNoticeAttributePopulator

java.lang.Object
com.ptc.core.components.forms.DefaultAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.ChangeNoticeAttributePopulator
All Implemented Interfaces:
com.ptc.core.components.forms.AttributePopulator, Externalizable, Serializable

public class ChangeNoticeAttributePopulator extends com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
Deprecated.
use FlexibleChangeNoticeAttributePopulator
Prepopulate the TypeInstance of the Change Notice based on the launching change request. If the launching point object is not a change request this method will return the unmodified TypeInstance. If the launch point object is a change request, this code will only modify the TypeInstance if the Propagation Component is enabled (through preferences)

The following fields will be propagated:
  • Name
  • Description
  • Need Date
If additional fields are desired, the getAttributeList() and processAttribute() methods should be overloaded and provided with the additional implementation.

Supported API: true

Extendable: true
See Also:
  • Constructor Details

    • ChangeNoticeAttributePopulator

      public ChangeNoticeAttributePopulator()
      Deprecated.
      Populates the change request list of attributes to be propagated to the change notice.

      Supported API: true
  • Method Details

    • setAttributeList

      public void setAttributeList(List<String> atts)
      Deprecated.
      Set the attribute list to process.

      Supported API: true
      Parameters:
      atts - The attribute list to process
    • processAttribute

      public void processAttribute(ChangeItem changeItem, String key, TypeInstance ti, AttributeTypeIdentifier ati, NmCommandBean cb) throws WTException
      Deprecated.
      Method responsible for processing the specified attribute against the current change request and storing this attribute value in the TypeInstance. Overriding this method in a subclass can override the attributes which are propagated. Currently the following attributes are handled:
      • name
      • description
      • needDate


      Supported API: true
      Overrides:
      processAttribute in class com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
      Throws:
      WTException