Interface DeliverableService
- All Known Implementing Classes:
StandardDeliverableService
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptiongetActivitiesHavingDeliverableSubjects(WTCollection activityColl) For the given collection of activities, WTCollection of activities who have any Subject of Deliverable associated to them.getActivitySubjects(WTCollection activityList) For the given activity list, returns WTKeyedHashMap(key: PlanActivity.ObjectIdentifier, value:ArrayList(SubjectOfDeliverable))
API needs to be used when activity is created/updated/deleted.getAssociatedActivities(WTCollection subjectList) For the given subjects of deliverables list, returns WTKeyedHashMap (key:SubjectOfDeliverable-ObjectIdentifier, value:WTArrayList(PlanActivity)), where key is the given SubjectOfDeliverable's ObjectIdentifier and value is the WTArrayList of PlanActivity.
API needs to be used when Floating Baseline member is created/updated.
NOTE: If any subject is not associated with any activity then there would not be any entry for this subject in the return map-WTKeyedHashMap
Supported API: true
-
Method Details
-
getActivitySubjects
For the given activity list, returns WTKeyedHashMap(key: PlanActivity.ObjectIdentifier, value:ArrayList(SubjectOfDeliverable))
API needs to be used when activity is created/updated/deleted. Note: If any activity don't have associated subject of deliverables then the empty ArrayList would be returned in the WTKeyedHashMap
Supported API: true- Parameters:
activityList-- Returns:
- WTKeyedHashMap
- Throws:
WTException
-
getAssociatedActivities
For the given subjects of deliverables list, returns WTKeyedHashMap (key:SubjectOfDeliverable-ObjectIdentifier, value:WTArrayList(PlanActivity)), where key is the given SubjectOfDeliverable's ObjectIdentifier and value is the WTArrayList of PlanActivity.
API needs to be used when Floating Baseline member is created/updated.
NOTE: If any subject is not associated with any activity then there would not be any entry for this subject in the return map-WTKeyedHashMap
Supported API: true- Parameters:
subjectList- - List of objects e.g. WTPart, LotBaseline etc. The list should contain persistable objects and not VersionReference- Returns:
- WTKeyedHashMap - key --> ObjectIdentifier of subject of deliverables : Value --> List of associated Plan Activities.
- Throws:
WTException
-
getActivitiesHavingDeliverableSubjects
WTCollection getActivitiesHavingDeliverableSubjects(WTCollection activityColl) throws WTException, WTPropertyVetoException For the given collection of activities, WTCollection of activities who have any Subject of Deliverable associated to them.
NOTE: If any activity has been Marked As Deliverable and does not have any Subject of Deliverable, then it will not be included in the collection of activities that are returned.
Supported API: true- Parameters:
activityColl- - Collection of activities- Returns:
- WTCollection - Collection of Plan activities who have Subject of Deliverable associated with them.
- Throws:
WTExceptionWTPropertyVetoException
-