wt.change2
Class StandardChangeService2

java.lang.Object
  extended by wt.services.StandardManager
      extended by wt.change2.StandardChangeService2
All Implemented Interfaces:
Serializable, ChangeService2, NetFactor, wt.services.Manager

public class StandardChangeService2
extends StandardManager
implements ChangeService2, Serializable

Standard server-side implementation of the ChangeService2 interfaces. The public, static methods in this class are accessed through the syntax:

 ChangeHelper2.service.[method] 

Use the newStandardChangeService2 static factory method(s), not the StandardChangeService2 constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
ChangeService2, ChangeService2Fwd, ChangeHelper2, Serialized Form

Method Summary
 void deleteAddessedBy(WTCollection roleSet, String role)
          Delete the AddressedBy2 relationship associated to the passed in roleSet.
 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.
 void deleteChangeActivities(WTSet changeActivities)
          Delete the ChangeActivities in the WTSet.
 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.
 void deleteFormalizedBy(WTCollection roleSet, String role)
          Delete the FormalizedByIfc relationship associated to the passed in roleSet.
 void deleteIncludeIn2(WTSet changeActivities)
          Retrieves the set of IncludedIn2 links associated with the passed in ChangeActivities and if the RoleB (ChangeAcitivity2) points to one and only one ChangeOrder2 then the RoleB object (ChangeActivity2) will be deleted.
 RelevantAnalysisData deleteRelevantAnalysisData(RelevantAnalysisData rad)
          Delete the RelevantAnalysisData relationship only.
 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.
 WTList getChangeables(ChangeIssueIfc changeIssue, WTList changeables)
          Retrieves the Reported Against links related to the given ChangeIssueIfc object by changeables.
 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.
 WTKeyedHashMap getChangeables(WTCollection cSet, String role, Class link, boolean onlyOtherSide)
          Given a set of ChangeItems and the proper role class return a WTKeyedHashMap of Changeables associated to each ChangeItem where the key is the ChangeItem and the value is a Set of changeables.
 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.
 WTList getChangeablesAfter(ChangeActivityIfc ca, WTList changeable2)
          Retrieves the ChangeRecord2 objects related to the given ChangeActivityIfc object and WTList of changeable2.
 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.
 WTKeyedHashMap getChangeItems(WTCollection cSet, String role, Class link, boolean onlyOtherSide)
          Given a set of Changeable2 and the proper role class return a WTKeyedHashMap of ChangeItems associated to each Changeable2 where the key is the Changeable and the value is a Set of ChangeItems.
 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.
 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 getLatestAnalysisActivity(ChangeAnalysisIfc ca)
          Retrieves the AnalysisActivityIfc object related to the given ChangeAnalysisIfc object by the DetailedByIfc assocation.
 QueryResult getLatestChangeActivity(ChangeOrderIfc co)
          Retrieves the latest version of ChangeActivityIfc object related to the given ChangeOrderIfc object by the IncludedInIfc assocation.
 QueryResult getLatestChangeAnalysis(AnalysisActivityIfc aa)
          Retrieves the ChangeAnalysisIfc object related to the given AnalysisActivityIfc object by the DetailedByIfc assocation.
 QueryResult getLatestChangeInvestigation(ChangeRequestIfc cr)
          Retrieves the ChangeInvestigationIfc object related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.
 QueryResult getLatestChangeIssue(ChangeableIfc changeable2)
          Retrieves the ChangeIssueIfc object related to the given Changeable2 object by the ReportedAgainstByIfc assocation.
 QueryResult getLatestChangeIssue(ChangeRequestIfc cr)
          Retrieves the ChangeIssueIfc object related to the given ChangeRequestIfc object by the FormalizedByIfc assocation.
 QueryResult getLatestChangeOrder(ChangeActivityIfc ca)
          Retrieves the ChangeOrderIfc object related to the given ChangeActivityIfc object by the IncludedInIfc assocation.
 QueryResult getLatestChangeOrder(ChangeRequestIfc cr)
          Retrieves the ChangeOrderIfc object related to the given ChangeRequestIfc object by the AddressedByIfc assocation.
 QueryResult getLatestChangeProposal(ChangeRequestIfc cr)
          Retrieves the ChangeProposalIfc object related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.
 QueryResult getLatestChangeRequest(ChangeableIfc changeable2)
          Retrieves the ChangeRequestIfc object related to the given ChangeableIfc object by the FormalizedByIfc assocation.
 QueryResult getLatestChangeRequest(ChangeAnalysisIfc ca)
          Retrieves the ChangeRequestIfc object related to the given ChangeAnalysisIfc object by the ResearchedByIfc assocation.
 QueryResult getLatestChangeRequest(ChangeIssueIfc ci)
          Retrieves the ChangeRequestIfc object related to the given ChangeIssueIfc object by the FormalizedByIfc assocation.
 QueryResult getLatestChangeRequest(ChangeOrderIfc co)
          Retrieves the ChangeRequestIfc object related to the given ChangeOrderIfc object by the AddressedByIfc assocation.
 QueryResult getLatestUniqueAffectingChangeOrders(Changeable2 changeable)
          Returns a QueryResult of unique latest ChangeOrder2 objects that are indirectly related to the given Changeable2 object.
 QueryResult getLatestUniqueImplementedChangeOrders(Changeable2 changeable)
          Returns a QueryResult of latest unique ChangeOrder2 objects that are indirectly related to the given Changeable2 object.
 String[] getPendOrders()
          

Supported API: true
 String[] getPendRequests()
          

Supported API: true
 QueryResult getProblemProducts(ChangeIssueIfc changeIssue)
          Retrieves the WTPartMaster objects related to the given ChangeIssueIfc object by the ProblemProduct association.
 QueryResult getProblemProducts(ChangeIssueIfc changeIssue, boolean onlyProducts)
          Retrieves the WTPartMaster 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.
 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 WTPartMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation.
 QueryResult getSubjectProducts(ChangeRequestIfc cr, boolean onlyProducts)
          Retrieves the WTPartMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation.
 boolean getTrackingChange(Persistable p)
          Get the trackingChangeItem Preference for a Persistable.
 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.
 AnalysisActivityIfc reviseAnalysisActivity(AnalysisActivityIfc aa)
          

Supported API: true
 AnalysisActivityIfc reviseAnalysisActivity(AnalysisActivityIfc aa, String versionLabel)
          

Supported API: true
 ChangeActivityIfc reviseChangeActivity(ChangeActivityIfc ca)
          

Supported API: true
 ChangeActivityIfc reviseChangeActivity(ChangeActivityIfc ca, String versionLabel)
          

Supported API: true
 ChangeInvestigationIfc reviseChangeInvestigation(ChangeInvestigationIfc ci)
          

Supported API: true
 ChangeInvestigationIfc reviseChangeInvestigation(ChangeInvestigationIfc ci, String versionLabel)
          

Supported API: true
 ChangeIssueIfc reviseChangeIssue(ChangeIssueIfc ci)
          

Supported API: true
 ChangeIssueIfc reviseChangeIssue(ChangeIssueIfc ci, String versionLabel)
          

Supported API: true
 ChangeOrderIfc reviseChangeOrder(ChangeOrderIfc co)
          

Supported API: true
 ChangeOrderIfc reviseChangeOrder(ChangeOrderIfc co, String versionLabel)
          

Supported API: true
 ChangeProposalIfc reviseChangeProposal(ChangeProposalIfc cp)
          

Supported API: true
 ChangeProposalIfc reviseChangeProposal(ChangeProposalIfc cp, String versionLabel)
          

Supported API: true
 ChangeRequestIfc reviseChangeRequest(ChangeRequestIfc cr)
          

Supported API: true
 ChangeRequestIfc reviseChangeRequest(ChangeRequestIfc cr, String versionLabel)
          Creates a new version of the Change Request.
 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.
 WTKeyedMap saveChangeActivities(WTKeyedHashMap coMap)
          Save the ChangeActivities associated to the ChangeOrder key in the WTKeyedSet where the key is the ChangeOrder and the value is a WTList of ChangeActivities.
 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(ChangeOrderIfc co)
          Stores the given concrete subclass of ChangeOrderIfc 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(WTPartMaster refObject, ChangeItemIfc changeItem, Class linkClass, String changeRole)
          Deletes the association between a PartMaster and a ChangeRequest.
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

Specified by:
deleteAffectedActivityData in interface ChangeService2
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

Specified by:
deleteAnalysisActivity in interface ChangeService2
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

Specified by:
deleteChangeActivity in interface ChangeService2
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

Specified by:
deleteChangeInvestigation in interface ChangeService2
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

Specified by:
deleteChangeIssue in interface ChangeService2
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

Specified by:
deleteChangeOrder in interface ChangeService2
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

Specified by:
deleteChangeProposal in interface ChangeService2
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

Specified by:
deleteChangeRecord in interface ChangeService2
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

Specified by:
deleteChangeRequest in interface ChangeService2
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

Specified by:
deleteFormalizedBy in interface ChangeService2
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

Specified by:
deleteRelevantAnalysisData in interface ChangeService2
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

Specified by:
getAffectingChangeActivities in interface ChangeService2
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

Specified by:
getAffectingChangeActivities in interface ChangeService2
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

Specified by:
getAnalysisActivities in interface ChangeService2
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

Specified by:
getAnalysisActivities in interface ChangeService2
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

Specified by:
getAnalysisActivities in interface ChangeService2
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

Specified by:
getAnalysisActivities in interface ChangeService2
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

Specified by:
getChangeables in interface ChangeService2
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

Specified by:
getChangeables in interface ChangeService2
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

Specified by:
getChangeables in interface ChangeService2
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

Specified by:
getChangeables in interface ChangeService2
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

Specified by:
getChangeablesAfter in interface ChangeService2
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

Specified by:
getChangeablesAfter in interface ChangeService2
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

Specified by:
getChangeablesAfter in interface ChangeService2
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

Specified by:
getChangeablesAfter in interface ChangeService2
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

Specified by:
getChangeablesBefore in interface ChangeService2
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

Specified by:
getChangeablesBefore in interface ChangeService2
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

Specified by:
getChangeablesBefore in interface ChangeService2
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

Specified by:
getChangeablesBefore in interface ChangeService2
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

Specified by:
getChangeActivities in interface ChangeService2
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

Specified by:
getChangeActivities in interface ChangeService2
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

Specified by:
getChangeInvestigations in interface ChangeService2
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

Specified by:
getChangeInvestigations in interface ChangeService2
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

Specified by:
getChangeIssues in interface ChangeService2
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

Specified by:
getChangeIssues in interface ChangeService2
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

Specified by:
getChangeOrders in interface ChangeService2
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

Specified by:
getChangeOrders in interface ChangeService2
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

Specified by:
getChangeProposals in interface ChangeService2
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

Specified by:
getChangeProposals in interface ChangeService2
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

Specified by:
getFormalizingChangeRequest in interface ChangeService2
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

Specified by:
getImplementedChangeActivities in interface ChangeService2
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

Specified by:
getImplementedChangeActivities in interface ChangeService2
Parameters:
changeable -
onlyChangeActivities -
Returns:
QueryResult
Throws:
ChangeException2
WTException
See Also:
WTChangeActivity2, Changeable2

reviseChangeRequest

public ChangeRequestIfc reviseChangeRequest(ChangeRequestIfc cr,
                                            String versionLabel)
                                     throws WTException
Creates a new version of the Change Request.

Supported API: true

Specified by:
reviseChangeRequest in interface ChangeService2
Parameters:
cr - The Change Request to revise
versionLabel - The version label for this revision.
Returns:
ChangeRequestIfc
Throws:
WTException

reviseChangeRequest

public ChangeRequestIfc reviseChangeRequest(ChangeRequestIfc cr)
                                     throws WTException


Supported API: true

Specified by:
reviseChangeRequest in interface ChangeService2
Parameters:
cr -
Returns:
ChangeRequestIfc
Throws:
WTException

reviseChangeIssue

public ChangeIssueIfc reviseChangeIssue(ChangeIssueIfc ci,
                                        String versionLabel)
                                 throws WTException


Supported API: true

Specified by:
reviseChangeIssue in interface ChangeService2
Parameters:
ci -
versionLabel -
Returns:
ChangeIssueIfc
Throws:
WTException

reviseChangeIssue

public ChangeIssueIfc reviseChangeIssue(ChangeIssueIfc ci)
                                 throws WTException


Supported API: true

Specified by:
reviseChangeIssue in interface ChangeService2
Parameters:
ci -
Returns:
ChangeIssueIfc
Throws:
WTException

reviseAnalysisActivity

public AnalysisActivityIfc reviseAnalysisActivity(AnalysisActivityIfc aa,
                                                  String versionLabel)
                                           throws WTException


Supported API: true

Specified by:
reviseAnalysisActivity in interface ChangeService2
Parameters:
aa -
versionLabel -
Returns:
AnalysisActivityIfc
Throws:
WTException

reviseAnalysisActivity

public AnalysisActivityIfc reviseAnalysisActivity(AnalysisActivityIfc aa)
                                           throws WTException


Supported API: true

Specified by:
reviseAnalysisActivity in interface ChangeService2
Parameters:
aa -
Returns:
AnalysisActivityIfc
Throws:
WTException

reviseChangeActivity

public ChangeActivityIfc reviseChangeActivity(ChangeActivityIfc ca,
                                              String versionLabel)
                                       throws WTException


Supported API: true

Specified by:
reviseChangeActivity in interface ChangeService2
Parameters:
ca -
versionLabel -
Returns:
ChangeActivityIfc
Throws:
WTException

reviseChangeActivity

public ChangeActivityIfc reviseChangeActivity(ChangeActivityIfc ca)
                                       throws WTException


Supported API: true

Specified by:
reviseChangeActivity in interface ChangeService2
Parameters:
ca -
Returns:
ChangeActivityIfc
Throws:
WTException

reviseChangeInvestigation

public ChangeInvestigationIfc reviseChangeInvestigation(ChangeInvestigationIfc ci,
                                                        String versionLabel)
                                                 throws WTException


Supported API: true

Specified by:
reviseChangeInvestigation in interface ChangeService2
Parameters:
ci -
versionLabel -
Returns:
ChangeInvestigationIfc
Throws:
WTException

reviseChangeInvestigation

public ChangeInvestigationIfc reviseChangeInvestigation(ChangeInvestigationIfc ci)
                                                 throws WTException


Supported API: true

Specified by:
reviseChangeInvestigation in interface ChangeService2
Parameters:
ci -
Returns:
ChangeInvestigationIfc
Throws:
WTException

reviseChangeOrder

public ChangeOrderIfc reviseChangeOrder(ChangeOrderIfc co,
                                        String versionLabel)
                                 throws WTException


Supported API: true

Specified by:
reviseChangeOrder in interface ChangeService2
Parameters:
co -
versionLabel -
Returns:
ChangeOrderIfc
Throws:
WTException

reviseChangeOrder

public ChangeOrderIfc reviseChangeOrder(ChangeOrderIfc co)
                                 throws WTException


Supported API: true

Specified by:
reviseChangeOrder in interface ChangeService2
Parameters:
co -
Returns:
ChangeOrderIfc
Throws:
WTException

reviseChangeProposal

public ChangeProposalIfc reviseChangeProposal(ChangeProposalIfc cp,
                                              String versionLabel)
                                       throws WTException


Supported API: true

Specified by:
reviseChangeProposal in interface ChangeService2
Parameters:
cp -
versionLabel -
Returns:
ChangeProposalIfc
Throws:
WTException

reviseChangeProposal

public ChangeProposalIfc reviseChangeProposal(ChangeProposalIfc cp)
                                       throws WTException


Supported API: true

Specified by:
reviseChangeProposal in interface ChangeService2
Parameters:
cp -
Returns:
ChangeProposalIfc
Throws:
WTException

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

Specified by:
saveAnalysisActivity in interface ChangeService2
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

Specified by:
saveChangeActivity in interface ChangeService2
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

Specified by:
saveChangeInvestigation in interface ChangeService2
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

Specified by:
saveChangeIssue in interface ChangeService2
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

Specified by:
saveChangeOrder in interface ChangeService2
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

Specified by:
saveChangeProposal in interface ChangeService2
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

Specified by:
saveChangeRequest in interface ChangeService2
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

Specified by:
saveFormalizedBy in interface ChangeService2
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

Specified by:
saveRelevantAnalysisData in interface ChangeService2
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

Specified by:
saveAffectedActivityData in interface ChangeService2
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

Specified by:
saveChangeRecord in interface ChangeService2
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

Specified by:
getChangeRequest in interface ChangeService2
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

Specified by:
getChangeRequest in interface ChangeService2
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

Specified by:
getChangeRequest in interface ChangeService2
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

Specified by:
getChangeRequest in interface ChangeService2
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

Specified by:
getChangeRequest in interface ChangeService2
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

Specified by:
getChangeRequest in interface ChangeService2
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

Specified by:
getChangeAnalysis in interface ChangeService2
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

Specified by:
getChangeAnalysis in interface ChangeService2
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

Specified by:
getChangeOrder in interface ChangeService2
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

Specified by:
getChangeOrder in interface ChangeService2
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

Specified by:
getChangingChangeActivities in interface ChangeService2
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

Specified by:
getChangingChangeActivities in interface ChangeService2
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

Specified by:
getChangeItem in interface ChangeService2
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

Specified by:
storeAssociations in interface ChangeService2
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

Specified by:
getChangeItem in interface ChangeService2
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

Specified by:
findChangeRequest in interface ChangeService2
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

Specified by:
getRelevantChangeRequests in interface ChangeService2
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

Specified by:
getRelevantChangeRequests in interface ChangeService2
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

Specified by:
unattachChangeable in interface ChangeService2
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 WTPartMaster objects related to the given ChangeRequestIfc object by the SubjectProductIfc assocation. These WTPartMaster objects represent additional documentation for the Change Request. The QueryResult returned contains a set of WTPartMaster objects, not a set of SubjectProduct link objects that have references to the WTPartMaster 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

Specified by:
getSubjectProducts in interface ChangeService2
Parameters:
cr -
onlyProducts -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
WTPartMaster, ChangeRequestIfc, SubjectProduct

getSubjectProducts

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

If onlyProducts is false, the QueryResult returned contains a set of SubjectProductIfc link objects that have references to the WTPartMaster 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

Specified by:
getSubjectProducts in interface ChangeService2
Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
WTPartMaster, ChangeRequestIfc, SubjectProduct

unattachProduct

public void unattachProduct(WTPartMaster refObject,
                            ChangeItemIfc changeItem,
                            Class linkClass,
                            String changeRole)
                     throws ChangeException2,
                            WTException
Deletes the association between a PartMaster and a ChangeRequest.

Supported API: true

Specified by:
unattachProduct in interface ChangeService2
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

Specified by:
deleteFormalizedBy in interface ChangeService2
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

Specified by:
getChangeables in interface ChangeService2
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

Specified by:
getChangeables in interface ChangeService2
Parameters:
changeIssue -
onlyChangeables -
Returns:
QueryResult
Throws:
WTException
ChangeException2

getProblemProducts

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

Supported API: true

Specified by:
getProblemProducts in interface ChangeService2
Parameters:
changeIssue -
onlyProducts -
Returns:
QueryResult
Throws:
WTException
ChangeException2

getProblemProducts

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

Supported API: true

Specified by:
getProblemProducts in interface ChangeService2
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

Specified by:
deleteAddressedBy in interface ChangeService2
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

Specified by:
getReportedAgainstChangeIssue in interface ChangeService2
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

Specified by:
getUniqueImplementedChangeOrders in interface ChangeService2
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

Specified by:
getUniqueAffectingChangeOrders in interface ChangeService2
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

Specified by:
saveResearchedBy in interface ChangeService2
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

Specified by:
saveAddressedBy in interface ChangeService2
Parameters:
cr -
co -
Returns:
AddressedByIfc
Throws:
ChangeException2
WTException
See Also:
AddressedByIfc, ChangeRequestIfc, ChangeOrderIfc, AddressedByDelegate

saveChangeOrder

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

Supported API: true

Specified by:
saveChangeOrder in interface ChangeService2
Parameters:
co -
Returns:
ChangeOrderIfc
Throws:
ChangeException2
WTException
See Also:
Change2DelegateFactory, ChooseLifeCycleDelegate, ChooseFolderDelegate

getChangeablesAfter

public WTList getChangeablesAfter(ChangeActivityIfc ca,
                                  WTList changeable2)
                           throws WTException,
                                  ChangeException2
Retrieves the ChangeRecord2 objects related to the given ChangeActivityIfc object and WTList of changeable2.

Supported API: true

Specified by:
getChangeablesAfter in interface ChangeService2
Parameters:
ca -
changeable2 -
Returns:
WTList
Throws:
WTException
ChangeException2
See Also:
Changeable2, ChangeActivityIfc, ChangeRecord2

getChangeables

public WTList getChangeables(ChangeIssueIfc changeIssue,
                             WTList changeables)
                      throws WTException,
                             ChangeException2
Retrieves the Reported Against links related to the given ChangeIssueIfc object by changeables.

Supported API: true

Specified by:
getChangeables in interface ChangeService2
Parameters:
changeIssue -
changeables -
Returns:
WTList
Throws:
WTException
ChangeException2

getLatestAnalysisActivity

public QueryResult getLatestAnalysisActivity(ChangeAnalysisIfc ca)
                                      throws WTException,
                                             ChangeException2
Retrieves the AnalysisActivityIfc object related to the given ChangeAnalysisIfc object by the DetailedByIfc assocation.

Supported API: true

Specified by:
getLatestAnalysisActivity in interface ChangeService2
Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
AnalysisActivityIfc, AnalysisActivityIfc, DetailedByIfc

getLatestChangeInvestigation

public QueryResult getLatestChangeInvestigation(ChangeRequestIfc cr)
                                         throws WTException,
                                                ChangeException2
Retrieves the ChangeInvestigationIfc object related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeInvestigation in interface ChangeService2
Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeInvestigationIfc, ChangeRequestIfc, ResearchedByIfc

getLatestChangeProposal

public QueryResult getLatestChangeProposal(ChangeRequestIfc cr)
                                    throws WTException,
                                           ChangeException2
Retrieves the ChangeProposalIfc object related to the given ChangeRequestIfc object by the ResearchedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeProposal in interface ChangeService2
Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeProposalIfc, ChangeRequestIfc, ResearchedByIfc

getLatestChangeIssue

public QueryResult getLatestChangeIssue(ChangeRequestIfc cr)
                                 throws WTException,
                                        ChangeException2
Retrieves the ChangeIssueIfc object related to the given ChangeRequestIfc object by the FormalizedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeIssue in interface ChangeService2
Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeIssueIfc, ChangeRequestIfc, FormalizedByIfc

getLatestChangeActivity

public QueryResult getLatestChangeActivity(ChangeOrderIfc co)
                                    throws WTException,
                                           ChangeException2
Retrieves the latest version of ChangeActivityIfc object related to the given ChangeOrderIfc object by the IncludedInIfc assocation.

Supported API: true

Specified by:
getLatestChangeActivity in interface ChangeService2
Parameters:
co -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeActivityIfc, ChangeOrderIfc, IncludedInIfc

getLatestChangeOrder

public QueryResult getLatestChangeOrder(ChangeRequestIfc cr)
                                 throws WTException,
                                        ChangeException2
Retrieves the ChangeOrderIfc object related to the given ChangeRequestIfc object by the AddressedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeOrder in interface ChangeService2
Parameters:
cr -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeOrderIfc, ChangeRequestIfc, AddressedByIfc

getLatestChangeOrder

public QueryResult getLatestChangeOrder(ChangeActivityIfc ca)
                                 throws WTException,
                                        ChangeException2
Retrieves the ChangeOrderIfc object related to the given ChangeActivityIfc object by the IncludedInIfc assocation.

Supported API: true

Specified by:
getLatestChangeOrder in interface ChangeService2
Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeOrderIfc, ChangeActivityIfc, IncludedInIfc

getLatestChangeRequest

public QueryResult getLatestChangeRequest(ChangeIssueIfc ci)
                                   throws WTException,
                                          ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeIssueIfc object by the FormalizedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeRequest in interface ChangeService2
Parameters:
ci -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeIssueIfc, FormalizedByIfc

getLatestChangeRequest

public QueryResult getLatestChangeRequest(ChangeAnalysisIfc ca)
                                   throws WTException,
                                          ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeAnalysisIfc object by the ResearchedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeRequest in interface ChangeService2
Parameters:
ca -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeAnalysisIfc, ResearchedByIfc

getLatestChangeRequest

public QueryResult getLatestChangeRequest(ChangeOrderIfc co)
                                   throws WTException,
                                          ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeOrderIfc object by the AddressedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeRequest in interface ChangeService2
Parameters:
co -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeOrderIfc, AddressedByIfc

getLatestChangeAnalysis

public QueryResult getLatestChangeAnalysis(AnalysisActivityIfc aa)
                                    throws WTException,
                                           ChangeException2
Retrieves the ChangeAnalysisIfc object related to the given AnalysisActivityIfc object by the DetailedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeAnalysis in interface ChangeService2
Parameters:
aa -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeAnalysisIfc, AnalysisActivityIfc, DetailedByIfc

deleteFormalizedBy

public void deleteFormalizedBy(WTCollection roleSet,
                               String role)
                        throws WTException,
                               ChangeException2
Delete the FormalizedByIfc relationship associated to the passed in roleSet. The roleSet must be a set of either ChangeIssuesIfc or ChangeRequestIfc. Example call: deleteFormalizedBy(crSet, FormalizedBy.CHANGE_ISSUE_IFC_ROLE)

Supported API: true

Specified by:
deleteFormalizedBy in interface ChangeService2
Parameters:
roleSet - This set contains either ChangeIssueIfc or ChangeRequesetIfc. The FormalizedBy link will be deleted to the otherside.
role - The role variable contains the role to navigate via the FormalizedBy link. For example, FormalizedBy.CHANGE_ISSUE_IFC_ROLE.
Throws:
WTException
ChangeException2

getChangeables

public WTKeyedHashMap getChangeables(WTCollection cSet,
                                     String role,
                                     Class link,
                                     boolean onlyOtherSide)
                              throws WTException,
                                     ChangeException2
Given a set of ChangeItems and the proper role class return a WTKeyedHashMap of Changeables associated to each ChangeItem where the key is the ChangeItem and the value is a Set of changeables.

Supported API: true

Specified by:
getChangeables in interface ChangeService2
Parameters:
cSet - This is a WTSet of the VersionableChangeItems that you want to return the associated Changeable2 objects on.
role - This is the role that will be used to navigate to the Changeable2. For example: RelevantRequestData2.CHANGEABLE2_ROLE.
link - The link class to the Changeable
onlyOtherSide - If true return the otherside objects, ie the changeables. If false return the link objects.
Returns:
WTKeyedHashMap
Throws:
WTException
ChangeException2

deleteAddessedBy

public void deleteAddessedBy(WTCollection roleSet,
                             String role)
                      throws WTException,
                             ChangeException2
Delete the AddressedBy2 relationship associated to the passed in roleSet. The roleSet must be a set of either ChangeIssuesIfc or ChangeOrderIfc. Example call: deleteAddressedBy(crSet, AddressedBy2.CHANGE_ORDER2_ROLE

Supported API: true

Specified by:
deleteAddessedBy in interface ChangeService2
Parameters:
roleSet - This set contains either ChangeOrderfc or ChangeRequesetIfc. The AddressedBy2 link will be deleted to the otherside.
role - The role variable contains the role to navigate via the AddressedBy2 link. For example, AddressedBy2.CHANGE_ORDER_ROLE.
Throws:
WTException
ChangeException2

deleteChangeActivities

public void deleteChangeActivities(WTSet changeActivities)
                            throws WTException,
                                   ChangeException2
Delete the ChangeActivities in the WTSet.

Supported API: true

Specified by:
deleteChangeActivities in interface ChangeService2
Parameters:
changeActivities - This list contains ChangeActivities
Throws:
WTException
ChangeException2

getLatestChangeIssue

public QueryResult getLatestChangeIssue(ChangeableIfc changeable2)
                                 throws WTException,
                                        ChangeException2
Retrieves the ChangeIssueIfc object related to the given Changeable2 object by the ReportedAgainstByIfc assocation.

Supported API: true

Specified by:
getLatestChangeIssue in interface ChangeService2
Parameters:
changeable2 -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeIssueIfc, Changeable2, ReportedAgainst

getLatestChangeRequest

public QueryResult getLatestChangeRequest(ChangeableIfc changeable2)
                                   throws WTException,
                                          ChangeException2
Retrieves the ChangeRequestIfc object related to the given ChangeableIfc object by the FormalizedByIfc assocation.

Supported API: true

Specified by:
getLatestChangeRequest in interface ChangeService2
Parameters:
changeable2 -
Returns:
QueryResult
Throws:
WTException
ChangeException2
See Also:
ChangeRequestIfc, ChangeIssueIfc, ReleventRequestData2Ifc

getLatestUniqueAffectingChangeOrders

public QueryResult getLatestUniqueAffectingChangeOrders(Changeable2 changeable)
                                                 throws ChangeException2,
                                                        WTException
Returns a QueryResult of unique latest 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

Specified by:
getLatestUniqueAffectingChangeOrders in interface ChangeService2
Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException

getLatestUniqueImplementedChangeOrders

public QueryResult getLatestUniqueImplementedChangeOrders(Changeable2 changeable)
                                                   throws ChangeException2,
                                                          WTException
Returns a QueryResult of latest 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

Specified by:
getLatestUniqueImplementedChangeOrders in interface ChangeService2
Parameters:
changeable -
Returns:
QueryResult
Throws:
ChangeException2
WTException

deleteIncludeIn2

public void deleteIncludeIn2(WTSet changeActivities)
                      throws WTException
Retrieves the set of IncludedIn2 links associated with the passed in ChangeActivities and if the RoleB (ChangeAcitivity2) points to one and only one ChangeOrder2 then the RoleB object (ChangeActivity2) will be deleted. The IncludedIn2 link associated with the ChangeActivity will always be deleted.

Supported API: true

Specified by:
deleteIncludeIn2 in interface ChangeService2
Parameters:
changeActivities - This list contains ChangeActivities
Throws:
WTException

getChangeItems

public WTKeyedHashMap getChangeItems(WTCollection cSet,
                                     String role,
                                     Class link,
                                     boolean onlyOtherSide)
                              throws WTException,
                                     ChangeException2
Given a set of Changeable2 and the proper role class return a WTKeyedHashMap of ChangeItems associated to each Changeable2 where the key is the Changeable and the value is a Set of ChangeItems.

Supported API: true

Specified by:
getChangeItems in interface ChangeService2
Parameters:
cSet - This is a WTSet of the VersionableChangeItems that you want to return the associated Changeable2 objects on.
role - This is the role that will be used to navigate to the Changeable2. For example: RelevantRequestData2.CHANGEABLE2_ROLE.
link - The link class to the Changeable
onlyOtherSide - If true return the otherside objects, ie the changeables. If false return the link objects.
Returns:
WTKeyedHashMap
Throws:
WTException
ChangeException2

getTrackingChange

public boolean getTrackingChange(Persistable p)
                          throws WTException
Get the trackingChangeItem Preference for a Persistable. It checks from the Org Container up to Site Container.

Supported API: true

Specified by:
getTrackingChange in interface ChangeService2
Parameters:
p -
Returns:
boolean
Throws:
WTException

getPendRequests

public String[] getPendRequests()
                         throws WTException


Supported API: true

Specified by:
getPendRequests in interface ChangeService2
Returns:
String []
Throws:
WTException

getPendOrders

public String[] getPendOrders()
                       throws WTException


Supported API: true

Specified by:
getPendOrders in interface ChangeService2
Returns:
String []
Throws:
WTException

saveChangeActivities

public WTKeyedMap saveChangeActivities(WTKeyedHashMap coMap)
                                throws WTException,
                                       ChangeException2
Save the ChangeActivities associated to the ChangeOrder key in the WTKeyedSet where the key is the ChangeOrder and the value is a WTList of ChangeActivities.

Supported API: true

Specified by:
saveChangeActivities in interface ChangeService2
Parameters:
coMap - This WTKeyedMap contains the ChangeOrder as the key and a WTList of ChangeActivities as the value.
Returns:
WTKeyedMap
Throws:
WTException
ChangeException2