Class RelatedChangesQueryCommands
java.lang.Object
com.ptc.windchill.enterprise.change2.commands.RelatedChangesQueryCommands
- All Implemented Interfaces:
RemoteAccess
Gets table row data for the related changes table given various types of
context objects.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from interface wt.method.RemoteAccess
versionID -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ChangeItemIfc> Using the client data from change wizards returns the appropriate related changes.static ChangeItemgetPrimaryBusinessObject(FormDataHolder formData) Gets the ChangeItem associated with the oid
Supported API: truestatic QueryResultgetRelatedAffectingChangeNotices(Changeable2 changeable) Returns affected by change notices related to the given changeable.static QueryResultgetRelatedAffectingChangeReviews(Changeable2 changeable) Returns affected by change reviews related to the given changeable.static List<ChangeItemIfc> Using the client data returns the appropriate related Analysis Activities provided that the context object is a Change Proposal or a Change Investigation.static QueryResultgetRelatedChangeNotices(ChangeRequestIfc changeRequest) Returns change notices related to the given change request.static QueryResultgetRelatedChangeRequests(Changeable2 changeable) Returns changes requests related to the given changeable.static QueryResultgetRelatedChangeRequests(ChangeIssueIfc changeIssue) Returns changes requests related to the given problem report.static QueryResultgetRelatedChangeRequests(ChangeOrderIfc changeNotice) Returns change requests related to the given change notice.static QueryResultgetRelatedProblemReports(Changeable2 changeable) Returns problem reports related to the given changeable.static QueryResultgetRelatedProblemReports(ChangeRequestIfc changeRequest) Returns problem reports related to the given change request.static List<ChangeAnalysisIfc> getRelatedProposalsAndInvestigations(ChangeRequestIfc changeRequest) Get the list of items to show in the associated change analysis table for the given change request and mode should not be create
Supported API: truestatic WTCollectiongetRelatedResultingChangeNotices(Changeable2 changeable) Returns resulting from change notices related to the given changeable.
-
Method Details
-
getRelatedProblemReports
Returns problem reports related to the given changeable.
Supported API: true- Parameters:
changeable-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedChangeRequests
Returns changes requests related to the given changeable.
Supported API: true- Parameters:
changeable-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedAffectingChangeNotices
public static QueryResult getRelatedAffectingChangeNotices(Changeable2 changeable) throws WTException Returns affected by change notices related to the given changeable.
Supported API: true- Parameters:
changeable-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedResultingChangeNotices
public static WTCollection getRelatedResultingChangeNotices(Changeable2 changeable) throws WTException Returns resulting from change notices related to the given changeable.
Supported API: true- Parameters:
changeable-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedChangeRequests
Returns changes requests related to the given problem report.
Supported API: true- Parameters:
changeIssue-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedProblemReports
public static QueryResult getRelatedProblemReports(ChangeRequestIfc changeRequest) throws WTException Returns problem reports related to the given change request.
Supported API: true- Parameters:
changeRequest-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedChangeNotices
public static QueryResult getRelatedChangeNotices(ChangeRequestIfc changeRequest) throws WTException Returns change notices related to the given change request.
Supported API: true- Parameters:
changeRequest-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getRelatedProposalsAndInvestigations
public static List<ChangeAnalysisIfc> getRelatedProposalsAndInvestigations(ChangeRequestIfc changeRequest) Get the list of items to show in the associated change analysis table for the given change request and mode should not be create
Supported API: true- Parameters:
changeRequest-- Returns:
- The list of ChangeAnalysis to display in the table.
- See Also:
-
getRelatedChangeRequests
Returns change requests related to the given change notice.
Supported API: true- Parameters:
changeNotice-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-
getAssociatedChanges
public static List<ChangeItemIfc> getAssociatedChanges(NmCommandBean cb, Class c) throws WTException Using the client data from change wizards returns the appropriate related changes. The following cases are accounted for: A. Create Change Request Wizard that is launch from a Problem Report or Variance. B. Create Change Notice Wizard that is launch from a Change Request. C. Edit Change Request Wizard, getting the existing related Problem Reports or Variances. D. Edit Change Notice Wizard, getting the existing related Change Requests. E. Edit Change Task Wizard or View Change Task info page, getting the existing related Change issues.
Supported API: true- Parameters:
cb- The client data.c- The class for the change object that is getting created or modified in a wizard.- Returns:
- A list of related change objects.
- Throws:
WTException- See Also:
-
getRelatedAnalysisActivities
Using the client data returns the appropriate related Analysis Activities provided that the context object is a Change Proposal or a Change Investigation.
Supported API: true- Parameters:
cb- The client data.- Returns:
- A list of related Analysis Activities.
- See Also:
-
getPrimaryBusinessObject
Gets the ChangeItem associated with the oid
Supported API: true- Parameters:
formData- The formData of the object to query from- Returns:
- The ChangeItem associated.
- Throws:
WTException
-
getRelatedAffectingChangeReviews
public static QueryResult getRelatedAffectingChangeReviews(Changeable2 changeable) throws WTException Returns affected by change reviews related to the given changeable.
Supported API: true- Parameters:
changeable-- Returns:
- QueryResult
- Throws:
WTException- See Also:
-