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:
Supported API: true
Extendable: true
The following fields will be propagated:
- Name
- Description
- Need Date
getAttributeList() and processAttribute() methods
should be overloaded and provided with the additional implementation.
Supported API: true
Extendable: true
- See Also:
-
Field Summary
Fields inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
EXTERNALIZATION_VERSION_UID -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Populates the change request list of attributes to be propagated to the change notice. -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessAttribute(ChangeItem changeItem, String key, TypeInstance ti, AttributeTypeIdentifier ati, NmCommandBean cb) Deprecated.Method responsible for processing the specified attribute against the current change request and storing this attribute value in the TypeInstance.voidsetAttributeList(List<String> atts) Deprecated.Set the attribute list to process.Methods inherited from class com.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator
doPropagation, getChangeObjectTemplate, getContainerRef, getFolderFromLaunchContext, getSystemCabinet, getTemplateAttributeValue, isTemplateSelected, isValidContainer, prePopulateAttributeDisplayValues, propagateAttributes, propagateAttributesFromObject, propagateTemplateAttributes, renderHTMLContent, setAttribute, setAttributeMethods inherited from class com.ptc.core.components.forms.DefaultAttributePopulator
attemptToSetAttrValueFromFormData, getAllValueChangedAttributes, getAttrValueFromFormData, getContainerRef, isContainerOverridable, readExternal, setAttributeState, setAttributeValues, writeExternal
-
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
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:
processAttributein classcom.ptc.windchill.enterprise.change2.forms.populators.ChangeObjectAttributePopulator- Throws:
WTException
-