wt.change2
Interface ChangeService2

All Known Implementing Classes:
ChangeService2Fwd, StandardChangeService2

public interface ChangeService2

The interface describing the services available for the change2 package.

Supported API: true

Extendable: false

See Also:
ChangeService2Fwd, StandardChangeService2, ChangeHelper2

Field Summary
static String[] PENDING_ORDER_STATES
          

Supported API: false
static String[] PENDING_REQUEST_STATES
          

Supported API: false
 
Method Summary
 AddressedByIfc deleteAddressedBy(ChangeRequestIfc cr, ChangeOrderIfc co)
          Delete the AddressedByIfc relationship implied by the two arguments.
 AffectedActivityData deleteAffectedActivityData(AffectedActivityData aad)
          Delete the AffectedActivityData relationship only.
 AnalysisActivityIfc deleteAnalysisActivity(AnalysisActivityIfc aa)
          Deletes the concrete subclass of AnalysisActivityIfc from the database.
 ChangeActivityIfc deleteChangeActivity(ChangeActivityIfc ca)
          Deletes the concrete subclass of ChangeActivityIfc from the database.
 ChangeInvestigationIfc deleteChangeInvestigation(ChangeInvestigationIfc ci)
          Deletes the concrete subclass of ChangeInvestigationIfc from the database.
 ChangeIssueIfc deleteChangeIssue(ChangeIssueIfc ci)
          Deletes the concrete subclass of ChangeIssueIfc from the database.
 ChangeOrderIfc deleteChangeOrder(ChangeOrderIfc co)
          Deletes the concrete subclass of ChangeOrderIfc from the database.
 ChangeProposalIfc deleteChangeProposal(ChangeProposalIfc cp)
          Deletes the concrete subclass of ChangeProposalIfc from the database.
 ChangeRecord2 deleteChangeRecord(ChangeRecord2 cr)
          Delete the ChangeRecord2 relationship only.
 ChangeRequestIfc deleteChangeRequest(ChangeRequestIfc cr)
          Deletes the concrete subclass of ChangeRequestIfc from the database.
 FormalizedByIfc deleteFormalizedBy(ChangeRequestIfc cr, ChangeIssueIfc ci)
          Delete the FormalizedByIfc relationship implied by the two arguments.
 FormalizedByIfc deleteFormalizedBy(Class linkClass, ChangeRequestIfc cr, ChangeIssueIfc ci)
          Delete the FormalizedByIfc relationship implied by the three arguments.
 RelevantAnalysisData deleteRelevantAnalysisData(RelevantAnalysisData rad)
          Delete the RelevantAnalysisData relationship only.
 Set filterForPendingChanges(Set changeable2Refs)
          Queries the database to compute the subset of the argument set of references to persistent Changeable2 objects whose members have pending changes.
 ChangeRequestIfc findChangeRequest(Object theObject)
          Uses Change2DelegateFactory and FindChangeRequestDelegate mechanism to find the change request associated with the object passed in.
 QueryResult getAffectingChangeActivities(Changeable2 changeable)
          Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the AffectedActivityData assocation.
 QueryResult getAffectingChangeActivities(Changeable2 changeable, boolean onlyChangeActivities)
          Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the AffectedActivityData assocation.
 QueryResult getAnalysisActivities(Changeable2 changeable)
          Retrieves the AnalysisActivity objects related to the given Changeable2 object by the RelevantAnalysisData assocation.
 QueryResult getAnalysisActivities(Changeable2 changeable, boolean onlyAnalysisActivities)
          Retrieves the AnalysisActivity objects related to the given Changeable2 object by the RelevantAnalysisData assocation.
 QueryResult getAnalysisActivities(ChangeAnalysisIfc ca)
          Retrieves the AnalysisActivityIfc objects related to the given ChangeAnalysisIfc object by the DetailedByIfc assocation.
 QueryResult getAnalysisActivities(ChangeAnalysisIfc ca, boolean onlyAnalysisActivities)
          Retrieves the AnalysisActivityIfc objects related to the given ChangeAnalysisIfc object by the DetailedByIfc assocation.
 QueryResult getChangeables(AnalysisActivityIfc aa)
          Retrieves the Changeable2 objects related to the given AnalysisActivityIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeables(AnalysisActivityIfc aa, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given AnalysisActivityIfc object by the RelevantAnalysisData assocation.
 QueryResult getChangeables(ChangeIssueIfc changeIssue)
          Retrieves the Changeable2 objects related to the given ChangeIssueIfc object by the ReportedAgainst association.
 QueryResult getChangeables(ChangeIssueIfc changeIssue, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given ChangeIssueIfc object by the Reported Against association.
 QueryResult getChangeables(ChangeRequestIfc cr)
          Retrieves the Changeable2 objects related to the given ChangeRequestIfc object by the RelevantRequestDataIfc assocation.
 QueryResult getChangeables(ChangeRequestIfc cr, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given ChangeRequestIfc object by the RelevantRequestDataIfc assocation.
 QueryResult getChangeablesAfter(ChangeActivityIfc ca)
          Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the ChangeRecord2 assocation.
 QueryResult getChangeablesAfter(ChangeActivityIfc ca, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the ChangeRecord2 assocation.
 QueryResult getChangeablesAfter(ChangeOrderIfc co)
          Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through its IncludedInIfc association with its ChangeActivityIfc and then by their ChangeRecord2 assocations.
 QueryResult getChangeablesAfter(ChangeOrderIfc co, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through its IncludedInIfc associations with its ChangeActivityIfc object and then by their ChangeRecord2 assocations.
 QueryResult getChangeablesBefore(ChangeActivityIfc ca)
          Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the AffectedActivityData assocation.
 QueryResult getChangeablesBefore(ChangeActivityIfc ca, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the AffectedActivityData assocation.
 QueryResult getChangeablesBefore(ChangeOrderIfc co)
          Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through the IncludedInIfc association with each of its ChangeActivityIfc objects and then by their AffectedActivityData assocation.
 QueryResult getChangeablesBefore(ChangeOrderIfc co, boolean onlyChangeables)
          Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through the IncludedInIfc association of each of its ChangeActivityIfc object and then by their AffectedActivityData assocations.
 QueryResult getChangeActivities(ChangeOrderIfc co)
          Retrieves the ChangeActivityIfc objects related to the given ChangeOrderIfc object by the IncludedInIfc assocation.
 QueryResult getChangeActivities(ChangeOrderIfc co, boolean onlyChangeActivities)
          Retrieves the ChangeActivityIfc objects related to the given ChangeOrderIfc object by the IncludedInIfc assocation.
 QueryResult getChangeAnalysis(AnalysisActivityIfc aa)
          Retrieves the ChangeAnalysisIfc object related to the given AnalysisActivityIfc object by the DetailedByIfc assocation.
 QueryResult getChangeAnalysis(AnalysisActivityIfc aa, boolean onlyChangeAnalysis)
          Retrieves the ChangeAnalysisIfc object related to the given AnalysisActivityIfc object by the DetailedByIfc assocation.
 QueryResult getChangeInvestigations(ChangeRequestIfc cr)
          Retrieves the ChangeInvestigationIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeInvestigations(ChangeRequestIfc cr, boolean onlyChangeInvestigations)
          Retrieves the ChangeInvestigationIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeIssues(ChangeRequestIfc cr)
          Retrieves the ChangeIssueIfc objects related to the given ChangeRequestIfc object by the FormalizedByIfc assocation.
 QueryResult getChangeIssues(ChangeRequestIfc cr, boolean onlyChangeIssues)
          Retrieves the ChangeIssueIfc objects related to the given ChangeRequestIfc object by the FormalizedByIfc assocation.
 ChangeItem getChangeItem(Class theClass, long id)
          Retrieves the ChangeItem object that corresponds to the given Class and id.
 ChangeItem getChangeItem(String oid)
          Retrieves the ChangeItem object that corresponds to the given oid.
 QueryResult getChangeOrder(ChangeActivityIfc ca)
          Retrieves the ChangeOrderIfc object related to the given ChangeActivityIfc object by the IncludedInIfc assocation.
 QueryResult getChangeOrder(ChangeActivityIfc ca, boolean onlyChangeActivity)
          Retrieves the ChangeOrderIfc object related to the given ChangeActivityIfc object by the IncludedInIfc assocation.
 QueryResult getChangeOrders(ChangeRequestIfc cr)
          Retrieves the ChangeOrderIfc objects related to the given ChangeRequestIfc object by the AddressedByIfc assocation.
 QueryResult getChangeOrders(ChangeRequestIfc cr, boolean onlyChangeOrders)
          Retrieves the ChangeOrderIfc objects related to the given ChangeRequestIfc object by the AddressedByIfc assocation.
 QueryResult getChangeProposals(ChangeRequestIfc cr)
          Retrieves the ChangeProposalIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeProposals(ChangeRequestIfc cr, boolean onlyChangeProposals)
          Retrieves the ChangeProposalIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeRequest(ChangeAnalysisIfc ca)
          Retrieves the ChangeRequestIfc object related to the given ChangeAnalysisIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeRequest(ChangeAnalysisIfc ca, boolean onlyChangeRequest)
          Retrieves the ChangeRequestIfc object related to the given ChangeAnalysisIfc object by the ResearchedByIfc assocation.
 QueryResult getChangeRequest(ChangeIssueIfc ci)
          Retrieves the ChangeRequestIfc object related to the given ChangeIssueIfc object by the FormalizedByIfc assocation.
 QueryResult getChangeRequest(ChangeIssueIfc ci, boolean onlyChangeRequest)
          Retrieves the ChangeRequestIfc object related to the given ChangeIssueIfc object by the FormalizedByIfc assocation.
 QueryResult getChangeRequest(ChangeOrderIfc co)
          Retrieves the ChangeRequestIfc object related to the given ChangeOrderIfc object by the AddressedByIfc assocation.
 QueryResult getChangeRequest(ChangeOrderIfc co, boolean onlyChangeRequest)
          Retrieves the ChangeRequestIfc object related to the given ChangeOrderIfc object by the AddressedByIfc assocation.
 QueryResult getChangingChangeActivities(Changeable2 changeable)
          Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation.
 QueryResult getChangingChangeActivities(Changeable2 changeable, boolean onlyChangeActivities)
          Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation.
 TableModel getCMIIBaseline(WTPart assembly)
          Queries the database to compute whether the argument reference to a persistent Changeable2 object has a pending change.
 ChangeRequest2 getFormalizingChangeRequest(ChangeIssue ci)
          Retrieves the ChangeRequest2 object that formalizes the given ChangeIssue object.
 QueryResult getImplementedChangeActivities(Changeable2 changeable)
          Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation.
 QueryResult getImplementedChangeActivities(Changeable2 changeable, boolean onlyChangeActivities)
          Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation.
 QueryResult getProblemProducts(ChangeIssueIfc changeIssue)
          Retrieves the WTProductMaster objects related to the given ChangeIssueIfc object by the ProblemProduct association.
 QueryResult getProblemProducts(ChangeIssueIfc changeIssue, boolean onlyProducts)
          Retrieves the WTProductMaster objects related to the given ChangeIssueIfc object by the ProblemProduct association.
 QueryResult getRelevantChangeRequests(Changeable2 changeable)
          Returns a QueryResult of ChangeRequest2 objects related to the given Changeable2 object by the RelevantRequestData2 association.
 QueryResult getRelevantChangeRequests(Changeable2 changeable, boolean onlyChangeRequests)
          Returns a QueryResult of ChangeRequest2 objects related to the given Changeable2 object by the RelevantRequestData2 association.
 Folder getRelevantFolder(ChangeItemIfc changeItem)
          Returns the folder that is 'relevant' for the argument change object.
 QueryResult getReportedAgainstChangeIssue(Changeable2 changeable)
          Returns a QueryResult of ChangeIssues objects related to the given Changeable2 object by the ReportedAgainst assocation.
 QueryResult getSubjectProducts(ChangeRequestIfc cr)
          Retrieves the WTProductMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation.
 QueryResult getSubjectProducts(ChangeRequestIfc cr, boolean onlyProducts)
          Retrieves the WTProductMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation.
 QueryResult getUniqueAffectingChangeOrders(Changeable2 changeable)
          Returns a QueryResult of unique ChangeOrder2 objects that are indirectly related to the given Changeable2 object.
 QueryResult getUniqueImplementedChangeOrders(Changeable2 changeable)
          Returns a QueryResult of unique ChangeOrder2 objects that are indirectly related to the given Changeable2 object.
 boolean hasPendingChange(ObjectReference changeable2Ref)
          Queries the database to compute whether the argument reference to a persistent Changeable2 object has a pending change.
 AddressedByIfc saveAddressedBy(ChangeRequestIfc cr, ChangeOrderIfc co)
          Stores the given concrete subclass of AddressedByIfc in the database.
 Vector saveAffectedActivityData(Vector aadVector)
          Stores all the AffectedActivityData objects in the input vector and returns a vector of the persisted (or updated) AffectedActivityData objects.
 AnalysisActivityIfc saveAnalysisActivity(ChangeAnalysisIfc ca, AnalysisActivityIfc aa)
          Stores the given concrete subclass of AnalysisActivityIfc in the database and associates it to the given ChangeAnalysisIfc; the ChangeAnalysisIfc must be persistent already.
 ChangeActivityIfc saveChangeActivity(ChangeOrderIfc co, ChangeActivityIfc ca)
          Stores the given concrete subclass of ChangeActivityIfc in the database and associates it to the given ChangeOrderIfc; the ChangeOrderIfc must be persistent already.
 ChangeInvestigationIfc saveChangeInvestigation(ChangeRequestIfc cr, ChangeInvestigationIfc ci)
          Stores the given concrete subclass of ChangeInvestigationIfc in the database and associates it to the given ChangeRequestIfc; theChangeRequestIfc must be persistent already.
 ChangeIssueIfc saveChangeIssue(ChangeIssueIfc ci)
          Stores the given concrete subclass of ChangeIssueIfc in the database.
 ChangeOrderIfc saveChangeOrder(ChangeRequestIfc cr, ChangeOrderIfc co)
          Stores the given concrete subclass of ChangeOrderIfc in the database and associates it to the given ChangeRequestIfc; theChangeRequestIfc must be persistent already.
 ChangeProposalIfc saveChangeProposal(ChangeRequestIfc cr, ChangeProposalIfc cp)
          Stores the given concrete subclass of ChangeProposalIfc in the database and associates it to the given ChangeRequestIfc; theChangeRequestIfc must be persistent already.
 Vector saveChangeRecord(Vector crVector)
          Stores all the ChangeRecord2 objects in the input vector and returns a vector of the persisted (or updated) ChangeRecord2 objects.
 ChangeRequestIfc saveChangeRequest(ChangeRequestIfc cr)
          Stores the given concrete subclass of ChangeRequestIfc in the database.
 FormalizedByIfc saveFormalizedBy(ChangeRequestIfc cr, ChangeIssueIfc ci)
          Stores the given concrete subclass of FormalizedByIfc in the database.
 Vector saveRelevantAnalysisData(Vector radVector)
          Stores all the RelevantAnalysisData objects in the input vector and returns a vector of the persisted (or updated) RelevantAnalysisData objects.
 ResearchedByIfc saveResearchedBy(ChangeRequestIfc cr, ChangeProposalIfc cp)
          Stores the given concrete subclass of ResearchedByIfc in the database.
 Vector storeAssociations(Class theClass, ChangeItemIfc ci, Vector changeables)
          Stores all the associations between the ChangeItemIfc object and the Changeable2 objects in the input vector and returns a vector of the persisted association objects.
 void unattachChangeable(Changeable2 refObject, ChangeItem changeItem, Class linkClass, String changeRole)
          Deletes the association between a ChangeItem and a Changeable2.
 void unattachProduct(WTProductMaster refObject, ChangeItemIfc changeItem, Class linkClass, String changeRole)
          Deletes the association between a ChangeItem and a Changeable2.
 

Field Detail

PENDING_REQUEST_STATES

public static final String[] PENDING_REQUEST_STATES


Supported API: false


PENDING_ORDER_STATES

public static final String[] PENDING_ORDER_STATES


Supported API: false

Method Detail

deleteAffectedActivityData

public AffectedActivityData deleteAffectedActivityData(AffectedActivityData aad)
                                                throws WTException,
                                                       ChangeException2
Delete the AffectedActivityData relationship only. The ChangeActivityIfc object and Changeable2 object that the AffectedActivityData relationship links together will still both exist after the relationship is deleted.

Supported API: true

Parameters:
aad -
Returns:
AffectedActivityData
Throws:
WTException
ChangeException2
See Also:
AffectedActivityData, ChangeActivityIfc, Changeable2

deleteAnalysisActivity

public AnalysisActivityIfc deleteAnalysisActivity(AnalysisActivityIfc aa)
                                           throws ChangeException2,
                                                  WTException
Deletes the concrete subclass of AnalysisActivityIfc from the database. The associated (or relevant) DetailedByIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeAnalysisIfc (ChangeInvestigationIfc or ChangeProposalIfc) objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
aa -
Returns:
AnalysisActivityIfc
Throws:
ChangeException2
WTException

deleteChangeActivity

public ChangeActivityIfc deleteChangeActivity(ChangeActivityIfc ca)
                                       throws ChangeException2,
                                              WTException
Deletes the concrete subclass of ChangeActivityIfc from the database. The associated (or relevant) IncludedInIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeOrderIfc objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
ca -
Returns:
ChangeActivityIfc
Throws:
ChangeException2
WTException

deleteChangeInvestigation

public ChangeInvestigationIfc deleteChangeInvestigation(ChangeInvestigationIfc ci)
                                                 throws ChangeException2,
                                                        WTException
Deletes the concrete subclass of ChangeInvestigationIfc from the database. The associated (or relevant) ResearchedByIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeRequestIfc objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
ci -
Returns:
ChangeInvestigationIfc
Throws:
ChangeException2
WTException

deleteChangeIssue

public ChangeIssueIfc deleteChangeIssue(ChangeIssueIfc ci)
                                 throws ChangeException2,
                                        WTException
Deletes the concrete subclass of ChangeIssueIfc from the database. The associated (or relevant) FormalizedByIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeRequestIfc objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
ci -
Returns:
ChangeIssueIfc
Throws:
ChangeException2
WTException

deleteChangeOrder

public ChangeOrderIfc deleteChangeOrder(ChangeOrderIfc co)
                                 throws ChangeException2,
                                        WTException
Deletes the concrete subclass of ChangeOrderIfc from the database. The associated (or relevant) AddressedByIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeRequestIfc objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
co -
Returns:
ChangeOrderIfc
Throws:
ChangeException2
WTException

deleteChangeProposal

public ChangeProposalIfc deleteChangeProposal(ChangeProposalIfc cp)
                                       throws ChangeException2,
                                              WTException
Deletes the concrete subclass of ChangeProposalIfc from the database. The associated (or relevant) ResearchedByIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeRequestIfc objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
cp -
Returns:
ChangeProposalIfc
Throws:
ChangeException2
WTException

deleteChangeRecord

public ChangeRecord2 deleteChangeRecord(ChangeRecord2 cr)
                                 throws WTException,
                                        ChangeException2
Delete the ChangeRecord2 relationship only. The ChangeActivityIfc object and Changeable2 object that the ChangeRecord2 relationship links together will still both exist after the relationship is deleted.

Supported API: true

Parameters:
cr -
Returns:
ChangeRecord2
Throws:
WTException
ChangeException2
See Also:
ChangeRecord2, ChangeActivityIfc, Changeable2

deleteChangeRequest

public ChangeRequestIfc deleteChangeRequest(ChangeRequestIfc cr)
                                     throws WTException,
                                            ChangeException2
Deletes the concrete subclass of ChangeRequestIfc from the database. The associated (or relevant) FormalizedByIfc concrete associations will be deleted by the Persistence Manager and all related change objects will be deleted by listeners on ChangeService2, with the exception of related ChangeIssueIfc objects. This method should be called rather than calling the Persistence Manager delete method directly.

Supported API: true

Parameters:
cr -
Returns:
ChangeRequestIfc
Throws:
WTException
ChangeException2

deleteFormalizedBy

public FormalizedByIfc deleteFormalizedBy(ChangeRequestIfc cr,
                                          ChangeIssueIfc ci)
                                   throws WTException,
                                          ChangeException2
Delete the FormalizedByIfc relationship implied by the two arguments. The concrete subclasses of the ChangeRequestIfc, the ChangeIssueIfc and the FormalizedByIfc relationship must already be Persistent. In the event there is no FormalizedByIfc (the two objects passed in are not related) then there will be no exception generated, instead a null will be returned..

Supported API: true

Parameters:
cr -
ci -
Returns:
FormalizedByIfc
Throws:
WTException
ChangeException2

deleteRelevantAnalysisData

public RelevantAnalysisData deleteRelevantAnalysisData(RelevantAnalysisData rad)
                                                throws WTException,
                                                       ChangeException2
Delete the RelevantAnalysisData relationship only. The AnalysisActivityIfc object and Changeable2 object that the RelevantAnalysisData relationship links together will still both exist after the relationship is deleted.

Supported API: true

Parameters:
rad -
Returns:
RelevantAnalysisData
Throws:
WTException
ChangeException2
See Also:
RelevantAnalysisData, AnalysisActivityIfc, Changeable2

getAffectingChangeActivities

public QueryResult getAffectingChangeActivities(Changeable2 changeable,
                                                boolean onlyChangeActivities)
                                         throws ChangeException2,
                                                WTException
Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the AffectedActivityData assocation. These Changeable2 objects represent revisions that need to be changed as part of the change process If onlyChangeActivities is true, the QueryResult returned contains a set of ChangeActivity2 objects.

If onyChangeActivities is false, the QueryResult returned contains a set of AffectedActivityData link objects that have references to the Changeable objects.

Supported API: true

Parameters:
changeable -
onlyChangeActivities -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

getAffectingChangeActivities

public QueryResult getAffectingChangeActivities(Changeable2 changeable)
                                         throws ChangeException2,
                                                WTException
Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the AffectedActivityData assocation. These Changeable2 objects represent revisions that need to be changed as part of the change process.

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

getAnalysisActivities

public QueryResult getAnalysisActivities(Changeable2 changeable,
                                         boolean onlyAnalysisActivities)
                                  throws ChangeException2,
                                         WTException
Retrieves the AnalysisActivity objects related to the given Changeable2 object by the RelevantAnalysisData assocation. These Changeable2 objects represent revisions that are important for the completion of a particular AnalysisActivity. If onlyAnalysisActivities is true, the QueryResult returned contains a set of AnalysisActivity objects.

If onlyAnalysisActivities is false, the QueryResult returned contains a set of RelevantAnalysisData link objects that have references to the Changeable objects.

Supported API: true

Parameters:
changeable -
onlyAnalysisActivities -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeInvestigation, Changeable2

getAnalysisActivities

public QueryResult getAnalysisActivities(Changeable2 changeable)
                                  throws ChangeException2,
                                         WTException
Retrieves the AnalysisActivity objects related to the given Changeable2 object by the RelevantAnalysisData assocation. These Changeable2 objects represent revisions that are important for the completion of a particular AnalysisActivity.

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeInvestigation, Changeable2

getAnalysisActivities

public QueryResult getAnalysisActivities(ChangeAnalysisIfc ca)
                                  throws WTException,
                                         ChangeException2
Retrieves the AnalysisActivityIfc objects related to the given ChangeAnalysisIfc object by the DetailedByIfc assocation. These AnalysisActivityIfc objects represent activies that part of the particular ChangeAnalysisIfc. The QueryResult returned contains a set of AnalysisActivityIfc objects, not a set of DetailedByIfc link objects that have references to the ChangeAnalysisIfc objects. Use the two parameter version of this method to return the DetailedByIfc link objects.

Supported API: true

Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
AnalysisActivityIfc, AnalysisActivityIfc, DetailedByIfc

getAnalysisActivities

public QueryResult getAnalysisActivities(ChangeAnalysisIfc ca,
                                         boolean onlyAnalysisActivities)
                                  throws WTException,
                                         ChangeException2
Retrieves the AnalysisActivityIfc objects related to the given ChangeAnalysisIfc object by the DetailedByIfc assocation. These AnalysisActivityIfc objects represent investigations that are important for the completion of a particular ChangeAnalysisIfc. If onlyAnalysisActivities is true, the QueryResult returned contains a set of AnalysisActivityIfc objects.

If onlyAnalysisActivities is false, the QueryResult returned contains a set of DetailedByIfc link objects that have references to the AnalysisActivityIfc objects.

Supported API: true

Parameters:
ca -
onlyAnalysisActivities -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
AnalysisActivityIfc, ChangeAnalysisIfc, DetailedByIfc

getChangeables

public QueryResult getChangeables(AnalysisActivityIfc aa)
                           throws WTException,
                                  ChangeException2
Retrieves the Changeable2 objects related to the given AnalysisActivityIfc object by the ResearchedByIfc assocation. These Changeable2 objects represent changeables that are relevant to the completion of a particular AnalysisActivityIfc. The QueryResult returned contains a set of Changeable2 objects, not a set of RelevantAnalysisData link objects that have references to the Changeable2 objects. There is another method that contains the RelevantAnalysisData link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
aa -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, AnalysisActivityIfc, RelevantAnalysisData

getChangeables

public QueryResult getChangeables(AnalysisActivityIfc aa,
                                  boolean onlyChangeables)
                           throws WTException,
                                  ChangeException2
Retrieves the Changeable2 objects related to the given AnalysisActivityIfc object by the RelevantAnalysisData assocation. These Changeable2 objects represent investigations that are important for the completion of a particular AnalysisActivityIfc. If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of RelevantAnalysisData link objects that have references to the Changeable2 objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
aa -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, AnalysisActivityIfc, RelevantAnalysisData

getChangeables

public QueryResult getChangeables(ChangeRequestIfc cr)
                           throws WTException,
                                  ChangeException2
Retrieves the Changeable2 objects related to the given ChangeRequestIfc object by the RelevantRequestDataIfc assocation. These Changeable2 objects represent additional documentation for the Change Request. The QueryResult returned contains a set of Changeable2 objects, not a set of RelevantAnalysisData link objects that have references to the Changeable2 objects. There is another method that contains the RelevantAnalysisData link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeRequestIfc, RelevantRequestData2

getChangeables

public QueryResult getChangeables(ChangeRequestIfc cr,
                                  boolean onlyChangeables)
                           throws WTException,
                                  ChangeException2
Retrieves the Changeable2 objects related to the given ChangeRequestIfc object by the RelevantRequestDataIfc assocation. These Changeable2 objects represent additional documentation for the Change Request. If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of RelevantRequestDataIfc link objects that have references to the Changeable2 objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
cr -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeRequestIfc, RelevantRequestData2

getChangeablesAfter

public QueryResult getChangeablesAfter(ChangeActivityIfc ca)
                                throws WTException,
                                       ChangeException2
Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the ChangeRecord2 assocation. These Changeable2 objects represent changeables that have been changed to implement the ChangeActivityIfc. The changeables returned are only the latest iterations (wt.vc.VersionControlHelper.getSearchCondition is used to do this) and then only the items that the user is allowed to see are returned (wt.vc.config.MultipleLatestConfigSpec.process is used to do this). The QueryResult returned contains a set of Changeable2 objects, not a set of ChangeRecord2 link objects that have references to the Changeable2 objects. There is another method that contains the ChangeRecord2 link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeActivityIfc, ChangeRecord2, VersionControlHelper, MultipleLatestConfigSpec

getChangeablesAfter

public QueryResult getChangeablesAfter(ChangeActivityIfc ca,
                                       boolean onlyChangeables)
                                throws WTException,
                                       ChangeException2
Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the ChangeRecord2 assocation. These Changeable2 objects represent changeables that have been changed to implement the ChangeActivityIfc. The changeables returned are only the latest iterations (wt.vc.VersionControlHelper.getSearchCondition is used to do this) and then only the items that the user is allowed to see are returned (wt.vc.config.MultipleLatestConfigSpec.process is used to do this). If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of ChangeRecord2 link objects that have references to the Changeable2 objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
ca -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeActivityIfc, ChangeRecord2

getChangeablesAfter

public QueryResult getChangeablesAfter(ChangeOrderIfc co)
                                throws WTException,
                                       ChangeException2
Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through its IncludedInIfc association with its ChangeActivityIfc and then by their ChangeRecord2 assocations. These Changeable2 objects represent changeables that have been affected by the implementation of the ChangeOrderIfc. The changeables returned are only the latest iterations (wt.vc.VersionControlHelper.getSearchCondition is used to do this) and then only the items that the user is allowed to see are returned (wt.vc.config.MultipleLatestConfigSpec.process is used to do this). The QueryResult returned contains a set of Changeable2 objects, not a set of ChangeRecord2 link objects that have references to the Changeable2 objects. There is another method that contains the ChangeRecord2 link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
co -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc, ChangeRecord2

getChangeablesAfter

public QueryResult getChangeablesAfter(ChangeOrderIfc co,
                                       boolean onlyChangeables)
                                throws WTException,
                                       ChangeException2
Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through its IncludedInIfc associations with its ChangeActivityIfc object and then by their ChangeRecord2 assocations. These Changeable2 objects represent changeables that have been changed to implement the ChangeOrderIfc. The changeables returned are only the latest iterations (wt.vc.VersionControlHelper.getSearchCondition is used to do this) and then only the items that the user is allowed to see are returned (wt.vc.config.MultipleLatestConfigSpec.process is used to do this). If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of ChangeRecord2 link objects that have references to the Changeable2 objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
co -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc, ChangeRecord2

getChangeablesBefore

public QueryResult getChangeablesBefore(ChangeActivityIfc ca)
                                 throws WTException,
                                        ChangeException2
Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the AffectedActivityData assocation. These Changeable2 objects represent changeables that may need to be changed for the completion of a particular ChangeActivityIfc. The QueryResult returned contains a set of Changeable2 objects, not a set of AffectedActivityData link objects that have references to the Changeable2 objects. There is another method that contains the AffectedActivityData link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeActivityIfc, AffectedActivityData

getChangeablesBefore

public QueryResult getChangeablesBefore(ChangeActivityIfc ca,
                                        boolean onlyChangeables)
                                 throws WTException,
                                        ChangeException2
Retrieves the Changeable2 objects related to the given ChangeActivityIfc object by the AffectedActivityData assocation. These Changeable2 objects represent changeables that are may need to be changed for the completion of a particular ChangeActivityIfc. If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of AffectedActivityData link objects that have references to the Changeable2 objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
ca -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeActivityIfc, AffectedActivityData

getChangeablesBefore

public QueryResult getChangeablesBefore(ChangeOrderIfc co)
                                 throws WTException,
                                        ChangeException2
Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through the IncludedInIfc association with each of its ChangeActivityIfc objects and then by their AffectedActivityData assocation. These Changeable2 objects represent changeables that may be affected by the completion of a particular ChangeOrderIfc. The QueryResult returned contains a set of Changeable2 objects, not a set of AffectedActivityData link objects that have references to the Changeable2 objects. There is another method that contains the AffectedActivityData link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
co -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc, AffectedActivityData

getChangeablesBefore

public QueryResult getChangeablesBefore(ChangeOrderIfc co,
                                        boolean onlyChangeables)
                                 throws WTException,
                                        ChangeException2
Retrieves the Changeable2 objects related to the given ChangeOrderIfc object through the IncludedInIfc association of each of its ChangeActivityIfc object and then by their AffectedActivityData assocations. These Changeable2 objects represent changeables that are may be affected by the completion of a particular ChangeOrderIfc. If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of AffectedActivityData link objects that have references to the Changeable2 objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
co -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc, AffectedActivityData

getChangeActivities

public QueryResult getChangeActivities(ChangeOrderIfc co)
                                throws WTException,
                                       ChangeException2
Retrieves the ChangeActivityIfc objects related to the given ChangeOrderIfc object by the IncludedInIfc assocation. These ChangeActivityIfc objects represent activies that part of the particular ChangeOrderIfc The QueryResult returned contains a set of ChangeActivityIfc objects, not a set of IncludedInIfc link objects that have references to the ChangeOrderIfc objects. Use the two parameter version of this method to return the IncludedInIfc link objects.

Supported API: true

Parameters:
co -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeActivityIfc, ChangeOrderIfc, IncludedInIfc

getChangeActivities

public QueryResult getChangeActivities(ChangeOrderIfc co,
                                       boolean onlyChangeActivities)
                                throws WTException,
                                       ChangeException2
Retrieves the ChangeActivityIfc objects related to the given ChangeOrderIfc object by the IncludedInIfc assocation. These ChangeActivityIfc objects represent investigations that are important for the completion of a particular ChangeOrderIfc. If onlyChangeActivities is true, the QueryResult returned contains a set of ChangeActivityIfc objects.

If onlyChangeActivities is false, the QueryResult returned contains a set of IncludedInIfc link objects that have references to the ChangeActivityIfc objects.

Supported API: true

Parameters:
co -
onlyChangeActivities -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeActivityIfc, ChangeOrderIfc, IncludedInIfc

getChangeInvestigations

public QueryResult getChangeInvestigations(ChangeRequestIfc cr)
                                    throws WTException,
                                           ChangeException2
Retrieves the ChangeInvestigationIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation. These ChangeInvestigationIfc objects represent investigations that are important for the completion of a particular ChangeRequestIfc. The QueryResult returned contains a set of ChangeInvestigationIfc objects, not a set of ResearchedByIfc link objects that have references to the ChangeRequestIfc objects. Use the two parameter version of this method to return the ResearchedByIfc link objects.

Supported API: true

Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeInvestigationIfc, ChangeRequestIfc, ResearchedByIfc

getChangeInvestigations

public QueryResult getChangeInvestigations(ChangeRequestIfc cr,
                                           boolean onlyChangeInvestigations)
                                    throws WTException,
                                           ChangeException2
Retrieves the ChangeInvestigationIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation. These ChangeInvestigationIfc objects represent investigations that are important for the completion of a particular ChangeRequestIfc. If onlyChangeRequests is true, the QueryResult returned contains a set of ChangeInvestigationIfc objects.

If onlyChangeRequests is false, the QueryResult returned contains a set of ResearchedByIfc link objects that have references to the ChangeInvestigationIfc objects.

Supported API: true

Parameters:
cr -
onlyChangeInvestigations -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeInvestigationIfc, ChangeRequestIfc, ResearchedByIfc

getChangeIssues

public QueryResult getChangeIssues(ChangeRequestIfc cr)
                            throws WTException,
                                   ChangeException2
Retrieves the ChangeIssueIfc objects related to the given ChangeRequestIfc object by the FormalizedByIfc assocation. These ChangeIssueIfc objects represent issues that will formally be addressed by the particular ChangeRequestIfc. The QueryResult returned contains a set of ChangeIssueIfc objects, not a set of FormalizedByIfc link objects that have references to the ChangeRequestIfc objects. Use the two parameter version of this method to return the FormalizedByIfc link objects.

Supported API: true

Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeIssueIfc, ChangeRequestIfc, FormalizedByIfc

getChangeIssues

public QueryResult getChangeIssues(ChangeRequestIfc cr,
                                   boolean onlyChangeIssues)
                            throws WTException,
                                   ChangeException2
Retrieves the ChangeIssueIfc objects related to the given ChangeRequestIfc object by the FormalizedByIfc assocation. These ChangeIssueIfc objects represent investigations that are important for the completion of a particular ChangeRequestIfc. If onlyChangeIssues is true, the QueryResult returned contains a set of ChangeIssueIfc objects.

If onlyChangeIssues is false, the QueryResult returned contains a set of FormalizedByIfc link objects that have references to the ChangeIssueIfc objects.

Supported API: true

Parameters:
cr -
onlyChangeIssues -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeIssueIfc, ChangeRequestIfc, FormalizedByIfc

getChangeOrders

public QueryResult getChangeOrders(ChangeRequestIfc cr)
                            throws WTException,
                                   ChangeException2
Retrieves the ChangeOrderIfc objects related to the given ChangeRequestIfc object by the AddressedByIfc assocation. These ChangeOrderIfc objects represent orders that will implement the particular ChangeRequestIfc. The QueryResult returned contains a set of ChangeOrderIfc objects, not a set of AddressedByIfc link objects that have references to the ChangeRequestIfc objects. Use the two parameter version of this method to return the AddressedByIfc link objects.

Supported API: true

Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeOrderIfc, ChangeRequestIfc, AddressedByIfc

getChangeOrders

public QueryResult getChangeOrders(ChangeRequestIfc cr,
                                   boolean onlyChangeOrders)
                            throws WTException,
                                   ChangeException2
Retrieves the ChangeOrderIfc objects related to the given ChangeRequestIfc object by the AddressedByIfc assocation. These ChangeOrderIfc objects represent investigations that implement the completion of a particular ChangeRequestIfc. If onlyChangeOrders is true, the QueryResult returned contains a set of ChangeOrderIfc objects.

If onlyChangeOrders is false, the QueryResult returned contains a set of AddressedByIfc link objects that have references to the ChangeOrderIfc objects.

Supported API: true

Parameters:
cr -
onlyChangeOrders -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeOrderIfc, ChangeRequestIfc, AddressedByIfc

getChangeProposals

public QueryResult getChangeProposals(ChangeRequestIfc cr)
                               throws WTException,
                                      ChangeException2
Retrieves the ChangeProposalIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation. These ChangeProposalIfc objects represent proposals that are proposed for the completion of a particular ChangeRequestIfc. The QueryResult returned contains a set of ChangeProposalIfc objects, not a set of ResearchedByIfc link objects that have references to the ChangeRequestIfc objects. Use the two parameter version of this method to return the ResearchedByIfc link objects.

Supported API: true

Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeProposalIfc, ChangeRequestIfc, ResearchedByIfc

getChangeProposals

public QueryResult getChangeProposals(ChangeRequestIfc cr,
                                      boolean onlyChangeProposals)
                               throws WTException,
                                      ChangeException2
Retrieves the ChangeProposalIfc objects related to the given ChangeRequestIfc object by the ResearchedByIfc assocation. These ChangeProposalIfc objects represent investigations that are important for the completion of a particular ChangeRequestIfc. If onlyChangeProposals is true, the QueryResult returned contains a set of ChangeProposalIfc objects.

If onlyChangeProposals is false, the QueryResult returned contains a set of ResearchedByIfc link objects that have references to the ChangeProposalIfc objects.

Supported API: true

Parameters:
cr -
onlyChangeProposals -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeProposalIfc, ChangeRequestIfc, ResearchedByIfc

getFormalizingChangeRequest

public ChangeRequest2 getFormalizingChangeRequest(ChangeIssue ci)
                                           throws ChangeException2,
                                                  WTException
Retrieves the ChangeRequest2 object that formalizes the given ChangeIssue object.

Supported API: true

Parameters:
ci -
Returns:
ChangeRequest2
Throws:
ChangeException2
WTException
See Also:
ChangeRequest2, ChangeIssue

getImplementedChangeActivities

public QueryResult getImplementedChangeActivities(Changeable2 changeable)
                                           throws ChangeException2,
                                                  WTException
Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation. These Changeable2 objects represent revisions that have been changed as part of the change process

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

getImplementedChangeActivities

public QueryResult getImplementedChangeActivities(Changeable2 changeable,
                                                  boolean onlyChangeActivities)
                                           throws ChangeException2,
                                                  WTException
Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation. These Changeable2 objects represent revisions that have been changed as part of the change process If onlyChangeActivities is true, the QueryResult returned contains a set of ChangeActivity2 objects.

If onlyChangeActivities is false, the QueryResult returned contains a set of ChangeRecord2 link objects that have references to the Changeable objects.

Supported API: true

Parameters:
changeable -
onlyChangeActivities -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

saveAnalysisActivity

public AnalysisActivityIfc saveAnalysisActivity(ChangeAnalysisIfc ca,
                                                AnalysisActivityIfc aa)
                                         throws ChangeException2,
                                                WTException
Stores the given concrete subclass of AnalysisActivityIfc in the database and associates it to the given ChangeAnalysisIfc; the ChangeAnalysisIfc must be persistent already. If the AnalysisActivityIfc object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle. If the ChangeAnalysistIfc object is Foldered, this method uses Change2DelegateFactory to get a ChooseFolderDelegate to programatically assign the Folder.

Supported API: true

Parameters:
ca -
aa -
Returns:
AnalysisActivityIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

saveChangeActivity

public ChangeActivityIfc saveChangeActivity(ChangeOrderIfc co,
                                            ChangeActivityIfc ca)
                                     throws ChangeException2,
                                            WTException
Stores the given concrete subclass of ChangeActivityIfc in the database and associates it to the given ChangeOrderIfc; the ChangeOrderIfc must be persistent already. If the ChangeActivityIfc object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle. If the ChangeActivityIfc object is Foldered, this method uses Change2DelegateFactory to get a ChooseFolderDelegate to programatically assign the Folder.

Supported API: true

Parameters:
co -
ca -
Returns:
ChangeActivityIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

saveChangeInvestigation

public ChangeInvestigationIfc saveChangeInvestigation(ChangeRequestIfc cr,
                                                      ChangeInvestigationIfc ci)
                                               throws ChangeException2,
                                                      WTException
Stores the given concrete subclass of ChangeInvestigationIfc in the database and associates it to the given ChangeRequestIfc; theChangeRequestIfc must be persistent already. If the ChangeInvestigationIfc object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle. If the ChangeInvestigationIfc object is Foldered, this method uses Change2DelegateFactory to get a ChooseFolderDelegate to programatically assign the Folder.

Supported API: true

Parameters:
cr -
ci -
Returns:
ChangeInvestigationIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

saveChangeIssue

public ChangeIssueIfc saveChangeIssue(ChangeIssueIfc ci)
                               throws ChangeException2,
                                      WTException
Stores the given concrete subclass of ChangeIssueIfc in the database. If the ChangeIssueIfc object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle. If the ChangeIssueIfc object is Foldered, this method uses Change2DelegateFactory to get a ChooseFolderDelegate to programatically assign the Folder.

Supported API: true

Parameters:
ci -
Returns:
ChangeIssueIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

saveChangeOrder

public ChangeOrderIfc saveChangeOrder(ChangeRequestIfc cr,
                                      ChangeOrderIfc co)
                               throws ChangeException2,
                                      WTException
Stores the given concrete subclass of ChangeOrderIfc in the database and associates it to the given ChangeRequestIfc; theChangeRequestIfc must be persistent already. If the ChangeOrderIfc object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle. If the ChangeRequestIfc object is Foldered, this method uses Change2DelegateFactory to get a ChooseFolderDelegate to programatically assign the Folder.

Supported API: true

Parameters:
cr -
co -
Returns:
ChangeOrderIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

saveChangeProposal

public ChangeProposalIfc saveChangeProposal(ChangeRequestIfc cr,
                                            ChangeProposalIfc cp)
                                     throws ChangeException2,
                                            WTException
Stores the given concrete subclass of ChangeProposalIfc in the database and associates it to the given ChangeRequestIfc; theChangeRequestIfc must be persistent already. If the theChangeRequestIfc object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle. If the theChangeRequestIfc object is Foldered, this method uses Change2DelegateFactory to get a ChooseFolderDelegate to programatically assign the Folder.

Supported API: true

Parameters:
cr -
cp -
Returns:
ChangeProposalIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

saveChangeRequest

public ChangeRequestIfc saveChangeRequest(ChangeRequestIfc cr)
                                   throws ChangeException2,
                                          WTException
Stores the given concrete subclass of ChangeRequestIfc in the database. If the object is LifeCycleManaged, this method uses Change2DelegateFactory to get a ChooseLifeCycleDelegate to programatically assign the LifeCycle.

Supported API: true

Parameters:
cr -
Returns:
ChangeRequestIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate

saveFormalizedBy

public FormalizedByIfc saveFormalizedBy(ChangeRequestIfc cr,
                                        ChangeIssueIfc ci)
                                 throws ChangeException2,
                                        WTException
Stores the given concrete subclass of FormalizedByIfc in the database. It constructs the FormalizedByIfc based on the ChangeRequestIfc and ChangeIssueIfc objects passed in, using the FormalizedByDelegate.

Supported API: true

Parameters:
cr -
ci -
Returns:
FormalizedByIfc
Throws:
ChangeException2
WTException
See Also:
FormalizedByIfc, ChangeRequestIfc, ChangeIssueIfc, FormalizedByDelegate

saveRelevantAnalysisData

public Vector saveRelevantAnalysisData(Vector radVector)
                                throws ChangeException2,
                                       WTException
Stores all the RelevantAnalysisData objects in the input vector and returns a vector of the persisted (or updated) RelevantAnalysisData objects.

Supported API: true

Parameters:
radVector -
Returns:
Vector
Throws:
ChangeException2
WTException
See Also:
RelevantAnalysisData

saveAffectedActivityData

public Vector saveAffectedActivityData(Vector aadVector)
                                throws ChangeException2,
                                       WTException
Stores all the AffectedActivityData objects in the input vector and returns a vector of the persisted (or updated) AffectedActivityData objects.

Supported API: true

Parameters:
aadVector -
Returns:
Vector
Throws:
ChangeException2
WTException
See Also:
AffectedActivityData

saveChangeRecord

public Vector saveChangeRecord(Vector crVector)
                        throws ChangeException2,
                               WTException
Stores all the ChangeRecord2 objects in the input vector and returns a vector of the persisted (or updated) ChangeRecord2 objects.

Supported API: true

Parameters:
crVector -
Returns:
Vector
Throws:
ChangeException2
WTException
See Also:
ChangeRecord2

getChangeRequest

public QueryResult getChangeRequest(ChangeIssueIfc ci)
                             throws WTException,
                                    ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeIssueIfc object by the FormalizedByIfc assocation. These ChangeRequestIfc object represents the request that will formally address the particular ChangeIssueIfc. The QueryResult returned contains zero or one ChangeRequestIfc object, not zero or one FormalizedByIfc link object that has a reference to the ChangeRequestIfc object. There is another method that contains the FormalizedByIfc link object.

Supported API: true

Parameters:
ci -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeIssueIfc, FormalizedByIfc

getChangeRequest

public QueryResult getChangeRequest(ChangeIssueIfc ci,
                                    boolean onlyChangeRequest)
                             throws WTException,
                                    ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeIssueIfc object by the FormalizedByIfc assocation. The ChangeRequestIfc object represents the request that formally address the ChangeRequestIfc. If onlyChangeRequest is true, the QueryResult returned contains zero or one ChangeRequest objects.

If onlyChangeRequest is false, the QueryResult returned contains zero or one FormalizedByIfc link objects that has a reference to the ChangeRequestIfc object.

Supported API: true

Parameters:
ci -
onlyChangeRequest -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeIssueIfc, FormalizedByIfc

getChangeRequest

public QueryResult getChangeRequest(ChangeAnalysisIfc ca)
                             throws WTException,
                                    ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeAnalysisIfc object by the ResearchedByIfc assocation. These ChangeRequestIfc object represents the request for which the ChangeAnalysisIfc is performing . The QueryResult returned contains zero or one ChangeRequestIfc object, not zero or one ResearchedByIfc link object that has a reference to the ChangeRequestIfc object. There is another method that contains the ResearchedByIfc link object.

Supported API: true

Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeAnalysisIfc, ResearchedByIfc

getChangeRequest

public QueryResult getChangeRequest(ChangeAnalysisIfc ca,
                                    boolean onlyChangeRequest)
                             throws WTException,
                                    ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeAnalysisIfc object by the ResearchedByIfc assocation. The ChangeRequestIfc object represents the request that formally address the ChangeRequestIfc. If onlyChangeRequest is true, the QueryResult returned contains zero or one ChangeRequest objects.

If onlyChangeRequest is false, the QueryResult returned contains zero or one ResearchedByIfc link objects that has a reference to the ChangeRequestIfc object.

Supported API: true

Parameters:
ca -
onlyChangeRequest -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeAnalysisIfc, ResearchedByIfc

getChangeRequest

public QueryResult getChangeRequest(ChangeOrderIfc co)
                             throws WTException,
                                    ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeOrderIfc object by the AddressedByIfc assocation. These ChangeRequestIfc object represents the request for which the ChangeOrderIfc is performing . The QueryResult returned contains zero or one ChangeRequestIfc object, not zero or one AddressedByIfc link object that has a reference to the ChangeRequestIfc object. There is another method that contains the AddressedByIfc link object.

Supported API: true

Parameters:
co -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeOrderIfc, AddressedByIfc

getChangeRequest

public QueryResult getChangeRequest(ChangeOrderIfc co,
                                    boolean onlyChangeRequest)
                             throws WTException,
                                    ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeOrderIfc object by the AddressedByIfc assocation. The ChangeRequestIfc object represents the request that is addressed by the ChangeOrderIfc. If onlyChangeRequest is true, the QueryResult returned contains zero or one ChangeRequest objects.

If onlyChangeRequest is false, the QueryResult returned contains zero or one AddressedByIfc link objects that has a reference to the ChangeRequestIfc object.

Supported API: true

Parameters:
co -
onlyChangeRequest -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeOrderIfc, AddressedByIfc

getChangeAnalysis

public QueryResult getChangeAnalysis(AnalysisActivityIfc aa)
                              throws WTException,
                                     ChangeException2
Retrieves the ChangeAnalysisIfc object related to the given AnalysisActivityIfc object by the DetailedByIfc assocation. These ChangeAnalysisIfc object represents the request for which the AnalysisActivityIfc is performing . The QueryResult returned contains zero or one ChangeAnalysisIfc object, not zero or one DetailedByIfc link object that has a reference to the ChangeAnalysisIfc object. There is another method that contains the DetailedByIfc link object.

Supported API: true

Parameters:
aa -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeAnalysisIfc, AnalysisActivityIfc, DetailedByIfc

getChangeAnalysis

public QueryResult getChangeAnalysis(AnalysisActivityIfc aa,
                                     boolean onlyChangeAnalysis)
                              throws WTException,
                                     ChangeException2
Retrieves the ChangeAnalysisIfc object related to the given AnalysisActivityIfc object by the DetailedByIfc assocation. The ChangeAnalysisIfc object represents the request that is addressed by the AnalysisActivityIfc. If onlyChangeAnalysis is true, the QueryResult returned contains zero or one ChangeAnalysisIfc objects.

If onlyChangeAnalysis is false, the QueryResult returned contains zero or one DetailedByIfc link objects that has a reference to the ChangeAnalysisIfc object.

Supported API: true

Parameters:
aa -
onlyChangeAnalysis -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeAnalysisIfc, AnalysisActivityIfc, AddressedByIfc

getChangeOrder

public QueryResult getChangeOrder(ChangeActivityIfc ca)
                           throws WTException,
                                  ChangeException2
Retrieves the ChangeOrderIfc object related to the given ChangeActivityIfc object by the IncludedInIfc assocation. These ChangeOrderIfc object represents the request for which the ChangeActivityIfc is performing . The QueryResult returned contains zero or one ChangeOrderIfc object, not zero or one IncludedInIfc link object that has a reference to the ChangeOrderIfc object. There is another method that contains the IncludedInIfc link object.

Supported API: true

Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc

getChangeOrder

public QueryResult getChangeOrder(ChangeActivityIfc ca,
                                  boolean onlyChangeActivity)
                           throws WTException,
                                  ChangeException2
Retrieves the ChangeOrderIfc object related to the given ChangeActivityIfc object by the IncludedInIfc assocation. The ChangeOrderIfc object represents the request that is addressed by the ChangeActivityIfc. If onlyChangeOrder is true, the QueryResult returned contains zero or one ChangeOrderIfc objects.

If onlyChangeOrder is false, the QueryResult returned contains zero or one IncludedInIfc link objects that has a reference to the ChangeOrderIfc object.

Supported API: true

Parameters:
ca -
onlyChangeActivity -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc

getChangingChangeActivities

public QueryResult getChangingChangeActivities(Changeable2 changeable,
                                               boolean onlyChangeActivities)
                                        throws ChangeException2,
                                               WTException
Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation. These Changeable2 objects represent revisions that need to be changed as part of the change process If onlyChangeActivities is true, the QueryResult returned contains a set of ChangeActivity2 objects.

If onyChangeActivities is false, the QueryResult returned contains a set of AffectedActivityData link objects that have references to the Changeable objects.

Supported API: true

Parameters:
changeable -
onlyChangeActivities -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

getChangingChangeActivities

public QueryResult getChangingChangeActivities(Changeable2 changeable)
                                        throws ChangeException2,
                                               WTException
Returns a QueryResult of ChangeActivity2 objects related to the given Changeable2 object by the ChangeRecord2 assocation. These Changeable2 objects represent revisions that need to be changed as part of the change process

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

getChangeItem

public ChangeItem getChangeItem(Class theClass,
                                long id)
                         throws WTException,
                                ChangeException2
Retrieves the ChangeItem object that corresponds to the given Class and id. Uses ObjectIdentifier and PersistenceHelper.

Supported API: true

Parameters:
theClass -
id -
Returns:
ChangeItem
Throws:
WTException
ChangeException2

storeAssociations

public Vector storeAssociations(Class theClass,
                                ChangeItemIfc ci,
                                Vector changeables)
                         throws ChangeException2,
                                WTException
Stores all the associations between the ChangeItemIfc object and the Changeable2 objects in the input vector and returns a vector of the persisted association objects.

Supported API: true

Parameters:
theClass -
ci -
changeables -
Returns:
Vector
Throws:
ChangeException2
WTException

getChangeItem

public ChangeItem getChangeItem(String oid)
                         throws WTException,
                                ChangeException2
Retrieves the ChangeItem object that corresponds to the given oid. Uses the ReferenceFactory.

Supported API: true

Parameters:
oid -
Returns:
ChangeItem
Throws:
WTException
ChangeException2
See Also:
ReferenceFactory

findChangeRequest

public ChangeRequestIfc findChangeRequest(Object theObject)
                                   throws WTException,
                                          ChangeException2
Uses Change2DelegateFactory and FindChangeRequestDelegate mechanism to find the change request associated with the object passed in.

Supported API: true

Parameters:
theObject -
Returns:
ChangeRequestIfc
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, Change2DelegateFactory, FindChangeRequestDelegate

getRelevantChangeRequests

public QueryResult getRelevantChangeRequests(Changeable2 changeable,
                                             boolean onlyChangeRequests)
                                      throws ChangeException2,
                                             WTException
Returns a QueryResult of ChangeRequest2 objects related to the given Changeable2 object by the RelevantRequestData2 association. This association links product data that the user considers relevant to the change request. If onlyChangeRequests is true, the QueryResult returned contains a set of ChangeActivity2 objects.

If onlyChangeRequests is false, the QueryResult returned contains a set of RelevantRequestData2 link objects that have references to the Changeable2 object.

Supported API: true

Parameters:
changeable -
onlyChangeRequests -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeRequest2, Changeable2

getRelevantChangeRequests

public QueryResult getRelevantChangeRequests(Changeable2 changeable)
                                      throws ChangeException2,
                                             WTException
Returns a QueryResult of ChangeRequest2 objects related to the given Changeable2 object by the RelevantRequestData2 association. This association links product data that the user considers relevant to the change request.

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeRequest2, Changeable2

unattachChangeable

public void unattachChangeable(Changeable2 refObject,
                               ChangeItem changeItem,
                               Class linkClass,
                               String changeRole)
                        throws ChangeException2,
                               WTException
Deletes the association between a ChangeItem and a Changeable2. Also removes the associated working copy if the Changeable2 is checked out.

Supported API: true

Parameters:
refObject - A Changeable2 object to be disassociatd from a ChangeItem.
changeItem - The ChangeItem associated to the Changeable2.
linkClass - The associated link Class, which has a ChangeItem as role A.
changeRole - The role name.
Throws:
ChangeException2
WTException

getSubjectProducts

public QueryResult getSubjectProducts(ChangeRequestIfc cr,
                                      boolean onlyProducts)
                               throws WTException,
                                      ChangeException2
Retrieves the WTProductMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation. These WTProductMaster objects represent additional documentation for the Change Request. The QueryResult returned contains a set of WTProductMaster objects, not a set of SubjectProduct link objects that have references to the WTProductMaster objects. There is another method that contains the SubjectProduct link objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
cr -
onlyProducts -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
WTProductMaster, ChangeRequestIfc, SubjectProduct

getSubjectProducts

public QueryResult getSubjectProducts(ChangeRequestIfc cr)
                               throws WTException,
                                      ChangeException2
Retrieves the WTProductMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation. These WTProductMaster objects represent additional documentation for the Change Request. If onlyProducts is true, the QueryResult returned contains a set of WTProductMaster objects.

If onlyProducts is false, the QueryResult returned contains a set of SubjectProductIfc link objects that have references to the WTProductMaster objects. Get the working copy if the current user was the one who checked it out, otherwise get the checked out copy.

Supported API: true

Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
WTProductMaster, ChangeRequestIfc, SubjectProduct

unattachProduct

public void unattachProduct(WTProductMaster refObject,
                            ChangeItemIfc changeItem,
                            Class linkClass,
                            String changeRole)
                     throws ChangeException2,
                            WTException
Deletes the association between a ChangeItem and a Changeable2. Also removes the associated working copy if the Changeable2 is checked out.

Supported API: true

Parameters:
refObject - A Changeable2 object to be disassociatd from a ChangeItem.
changeItem - The ChangeItem associated to the Changeable2.
linkClass - The associated link Class, which has a ChangeItem as role A.
changeRole - The role name.
Throws:
ChangeException2
WTException

deleteFormalizedBy

public FormalizedByIfc deleteFormalizedBy(Class linkClass,
                                          ChangeRequestIfc cr,
                                          ChangeIssueIfc ci)
                                   throws WTException,
                                          ChangeException2
Delete the FormalizedByIfc relationship implied by the three arguments. The concrete subclasses of the ChangeRequestIfc, the ChangeIssueIfc and the FormalizedByIfc relationship must already be persistent. In the event there is no FormalizedByIfc (the change objects passed in are not related) then there will be no exception generated, instead a null will be returned.

Supported API: true

Parameters:
linkClass -
cr -
ci -
Returns:
FormalizedByIfc
Throws:
WTException
ChangeException2

getChangeables

public QueryResult getChangeables(ChangeIssueIfc changeIssue)
                           throws WTException,
                                  ChangeException2
Retrieves the Changeable2 objects related to the given ChangeIssueIfc object by the ReportedAgainst association.

Supported API: true

Parameters:
changeIssue -
Returns:
QueryResult
Throws:
WTException
ChangeException2

getChangeables

public QueryResult getChangeables(ChangeIssueIfc changeIssue,
                                  boolean onlyChangeables)
                           throws WTException,
                                  ChangeException2
Retrieves the Changeable2 objects related to the given ChangeIssueIfc object by the Reported Against association. If onlyChangeables is true, the QueryResult returned contains a set of Changeable2 objects.

If onlyChangeables is false, the QueryResult returned contains a set of ReportedAgainst link objects that have references to the Changeable2 objects.

Supported API: true

Parameters:
changeIssue -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2

getProblemProducts

public QueryResult getProblemProducts(ChangeIssueIfc changeIssue,
                                      boolean onlyProducts)
                               throws WTException,
                                      ChangeException2
Retrieves the WTProductMaster objects related to the given ChangeIssueIfc object by the ProblemProduct association.

Supported API: true

Parameters:
changeIssue -
onlyProducts -
Returns:
QueryResult
Throws:
WTException
ChangeException2

getProblemProducts

public QueryResult getProblemProducts(ChangeIssueIfc changeIssue)
                               throws WTException,
                                      ChangeException2
Retrieves the WTProductMaster objects related to the given ChangeIssueIfc object by the ProblemProduct association.

Supported API: true

Parameters:
changeIssue -
Returns:
QueryResult
Throws:
WTException
ChangeException2

deleteAddressedBy

public AddressedByIfc deleteAddressedBy(ChangeRequestIfc cr,
                                        ChangeOrderIfc co)
                                 throws WTException,
                                        ChangeException2
Delete the AddressedByIfc relationship implied by the two arguments. The concrete subclasses of the ChangeRequestIfc, the ChangeOrderIfc and the AddressedByIfc relationship must already be Persistent. In the event there is no AddressedByIfc (the two objects passed in are not related) then there will be no exception generated, instead a null will be returned..

Supported API: true

Parameters:
cr -
co -
Returns:
AddressedByIfc
Throws:
WTException
ChangeException2

getReportedAgainstChangeIssue

public QueryResult getReportedAgainstChangeIssue(Changeable2 changeable)
                                          throws WTException,
                                                 ChangeException2
Returns a QueryResult of ChangeIssues objects related to the given Changeable2 object by the ReportedAgainst assocation.

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
WTException
ChangeException2

getUniqueImplementedChangeOrders

public QueryResult getUniqueImplementedChangeOrders(Changeable2 changeable)
                                             throws ChangeException2,
                                                    WTException
Returns a QueryResult of unique ChangeOrder2 objects that are indirectly related to the given Changeable2 object. This method obtains all ChangeActivity2 objects connected to the given Changeable2 via the ChangeRecord2 association, and then obtains all of the parent ChangeOrder2 objects via the IncludedIn2 association. Finally, the result is filtered to remove duplicates.

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException

getUniqueAffectingChangeOrders

public QueryResult getUniqueAffectingChangeOrders(Changeable2 changeable)
                                           throws ChangeException2,
                                                  WTException
Returns a QueryResult of unique ChangeOrder2 objects that are indirectly related to the given Changeable2 object. This method obtains all ChangeActivity2 objects connected to the given Changeable2 via the AffectedActivityData association, and then obtains all of the parent ChangeOrder2 objects via the IncludedIn2 association. Finally, the result is filtered to remove duplicates.

Supported API: true

Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException

saveResearchedBy

public ResearchedByIfc saveResearchedBy(ChangeRequestIfc cr,
                                        ChangeProposalIfc cp)
                                 throws ChangeException2,
                                        WTException
Stores the given concrete subclass of ResearchedByIfc in the database. It constructs the ResearchedByIfc based on the ChangeRequestIfc and ChangeProposalIfc objects passed in, using the ResearchedByDelegate.

Supported API: true

Parameters:
cr -
cp -
Returns:
ResearchedByIfc
Throws:
ChangeException2
WTException
See Also:
ResearchedByIfc, ChangeRequestIfc, ChangeProposalIfc, ResearchedByDelegate

saveAddressedBy

public AddressedByIfc saveAddressedBy(ChangeRequestIfc cr,
                                      ChangeOrderIfc co)
                               throws ChangeException2,
                                      WTException
Stores the given concrete subclass of AddressedByIfc in the database. It constructs the ArrdesssedByIfc based on the ChangeRequestIfc and ChangeOrderIfc objects passed in, using theAddressedByDelegate.

Supported API: true

Parameters:
cr -
co -
Returns:
AddressedByIfc
Throws:
ChangeException2
WTException
See Also:
AddressedByIfc, ChangeRequestIfc, ChangeOrderIfc, AddressedByDelegate

getRelevantFolder

public Folder getRelevantFolder(ChangeItemIfc changeItem)
                         throws WTException
Returns the folder that is 'relevant' for the argument change object. In the case of a 'primary' change object -- a change issue, change request, or change order -- this is simply the object's folder. In the case of a 'secondary' change object -- a change analysis, analysis activity, or change activity -- this is the folder of its associated 'primary' change object.

Supported API: false

Parameters:
changeItem -
Returns:
Folder
Throws:
WTException

filterForPendingChanges

public Set filterForPendingChanges(Set changeable2Refs)
                            throws WTException
Queries the database to compute the subset of the argument set of references to persistent Changeable2 objects whose members have pending changes. A Changeable2 object has a pending change if it satisfies either of the following conditions:

Supported API: false

Parameters:
changeable2Refs - set of wt.fc.ObjectReference objects referencing Changeable2 objects to be filtered for pending changes
Returns:
a new set of new wt.fc.ObjectReference objects that is the subset of the argument set whose members reference Changeable2 objects having pending changes
Throws:
WTException

hasPendingChange

public boolean hasPendingChange(ObjectReference changeable2Ref)
                         throws WTException
Queries the database to compute whether the argument reference to a persistent Changeable2 object has a pending change. A Changeable2 object has a pending change if it satisfies either of the following conditions:

Supported API: false

Parameters:
changeable2Ref - reference to a Changeable2 object to be tested for pending change
Returns:
true if and only if the argument reference is to a Changeable2 object having a pending change
Throws:
WTException

getCMIIBaseline

public TableModel getCMIIBaseline(WTPart assembly)
                           throws WTException
Queries the database to compute whether the argument reference to a persistent Changeable2 object has a pending change. A Changeable2 object has a pending change if it satisfies either of the following conditions:

Supported API: false

Parameters:
assembly -
Returns:
true if and only if the argument reference is to a Changeable2 object having a pending change
Throws:
WTException