Class DynamicDocumentTemplateAttributePopulator

java.lang.Object
com.ptc.core.components.forms.DefaultAttributePopulator
com.ptc.arbortext.windchill.techpubs.doc.forms.DynamicDocumentTemplateAttributePopulator
All Implemented Interfaces:
com.ptc.core.components.forms.AttributePopulator, Externalizable, Serializable

public class DynamicDocumentTemplateAttributePopulator extends DefaultAttributePopulator implements Serializable
Populator class for creating a document from template.

Supported API: true

Extendable: true
See Also:
  • Method Details

    • prePopulateAttributeDisplayValues

      public TypeInstance prePopulateAttributeDisplayValues(TypeInstance ti, NmCommandBean cb)
      Prepopulates attribute values for the document created from the template. The target TypeInstance is filled in with default values from the document template, for the soft/modeled attributes on the document being created. This method only modifies attributes at state DEFAULT or UNITIALIZED.

      Supported API: true
      Specified by:
      prePopulateAttributeDisplayValues in interface com.ptc.core.components.forms.AttributePopulator
      Overrides:
      prePopulateAttributeDisplayValues in class DefaultAttributePopulator
      Parameters:
      ti - - type instance
      cb - - command bean.
      Returns:
      new type instance with prepopulated values