Class ChangeableDataFactory
java.lang.Object
com.ptc.windchill.enterprise.changeable.ChangeableDataFactory
- All Implemented Interfaces:
wt.services.applicationcontext.ApplicationContextChild
public final class ChangeableDataFactory
extends Object
implements wt.services.applicationcontext.ApplicationContextChild
Used by the Affected and Resulting table builders which calls all registered ChangeableDataDelegateIfc instances and
returns a combined collection of ChangeableObjectBeans. Any duplicates will be combined into one
ChangeableObjectBean. The factory will has two APIs one to get the affected objects and another to get resulting
objects. The factory will additionally call the existing changeable validation on the collection of
ChangeableObjectBean objects for tables in the create wizard.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Field Summary
Fields inherited from interface wt.services.applicationcontext.ApplicationContextChild
APPLICATION_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ChangeableObjectBean> getAffectedObjects(FormDataHolder formData) Get the list of objects to show in the affected objects table.static List<ChangeableObjectBean> getResultingObjects(FormDataHolder formData) Get the list of objects to show in the resulting objects table.static voidprocessAffectedFormData(FormDataHolder formData, List<ObjectBean> beans) Processes any additional form data for objects in the affected data table.
-
Method Details
-
getAffectedObjects
public static List<ChangeableObjectBean> getAffectedObjects(FormDataHolder formData) throws WTException Get the list of objects to show in the affected objects table.
Supported API: true- Throws:
WTException
-
getResultingObjects
public static List<ChangeableObjectBean> getResultingObjects(FormDataHolder formData) throws WTException Get the list of objects to show in the resulting objects table.
Supported API: true- Throws:
WTException
-
processAffectedFormData
public static void processAffectedFormData(FormDataHolder formData, List<ObjectBean> beans) throws WTException Processes any additional form data for objects in the affected data table.
Supported API: true- Throws:
WTException
-