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
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
EXTERNALIZATION_VERSION_UID -
Method Summary
Modifier and TypeMethodDescriptionPrepopulates attribute values for the document created from the template.Methods inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
attemptToSetAttrValueFromFormData, getAllValueChangedAttributes, getAttrValueFromFormData, getContainerRef, getContainerRef, getFolderFromLaunchContext, isContainerOverridable, readExternal, setAttributeState, setAttributeValues, writeExternal
-
Method Details
-
prePopulateAttributeDisplayValues
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:
prePopulateAttributeDisplayValuesin interfacecom.ptc.core.components.forms.AttributePopulator- Overrides:
prePopulateAttributeDisplayValuesin classDefaultAttributePopulator- Parameters:
ti- - type instancecb- - command bean.- Returns:
- new type instance with prepopulated values
-