Class FlexibleChangeIssueAttributePopulator
java.lang.Object
com.ptc.core.components.forms.DefaultAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator
com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeIssueAttributePopulator
- All Implemented Interfaces:
com.ptc.core.components.forms.AttributePopulator,Externalizable,Serializable
public class FlexibleChangeIssueAttributePopulator
extends com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator
Pre-populate the TypeInstance of the Problem Report or Variance based on the launching from other flexible change
objects. Propagation from flexible supported change objects is only supported when the flexible association is
enabled. If the launching point object is not a flexible supported change object, this method will return the
unmodified TypeInstance. If the launch point object is of a correct type, this code will only modify the TypeInstance
if the Propagation Component is enabled (through preferences)
If additional fields are desired, the
Supported API: true
Extendable: true
If additional fields are desired, the
getAttributeList() methods should be overloaded to provide the
attributes to propagate.
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 TypeMethodDescriptionprotected StringgetAlternateAttributeName(String attributeName, ChangeItem changeItem) Will return Request Priority for Issue Priority when the change item is a Change request.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator
propagateAttributesMethods inherited from class com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
doPropagation, getAttributeList, getChangeObjectTemplate, getContainerRef, getFolderFromLaunchContext, getSystemCabinet, getTemplateAttributeValue, isTemplateSelected, isValidContainer, prePopulateAttributeDisplayValues, processAttribute, propagateAttributesFromObject, propagateTemplateAttributes, renderHTMLContent, setAttribute, setAttributeMethods inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
attemptToSetAttrValueFromFormData, getAllValueChangedAttributes, getAttrValueFromFormData, getContainerRef, isContainerOverridable, readExternal, setAttributeState, setAttributeValues, writeExternal
-
Method Details
-
getAlternateAttributeName
Will return Request Priority for Issue Priority when the change item is a Change request. When no alternate attribute name is found the passed in attribute name will be returned.
Supported API: true- Overrides:
getAlternateAttributeNamein classcom.ptc.windchill.enterprise.change2.forms.populators.FlexibleChangeObjectAttributePopulator- Parameters:
attributeName- The attribute for the current create wizard objectchangeItem- The context object- Returns:
- the context object attribute
-